+
+Add a flowcondition
+ [Arguments] ${flowcond_name} ${flowconditiondata}
+ [Documentation] Create a flowcondition using Restconfig Api
+ ${resp}= RequestsLibrary.Post Request session restconf/operations/vtn-flow-condition:set-flow-condition data={"input":{"operation":"SET","present":"false","name":"${flowcond_name}",${flowconditiondata}}}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Get flowconditions
+ [Documentation] Retrieve the list of flowconditions created
+ ${resp}= RequestsLibrary.Get Request session restconf/operational/vtn-flow-condition:vtn-flow-conditions
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Get flowcondition
+ [Arguments] ${flowcond_name} ${retrieve}
+ [Documentation] Retrieve the flowcondition by name and to check the removed flowcondition we added "retrieve" argument to differentiate the status code,
+ ... since after removing flowcondition name the status will be different compare to status code when the flowcondition name is present.
+ ${resp}= RequestsLibrary.Get Request session restconf/operational/vtn-flow-condition:vtn-flow-conditions/vtn-flow-condition/${flowcond_name}
+ Run Keyword If '${retrieve}' == 'retrieve' Should Be Equal As Strings ${resp.status_code} 200
+ ... ELSE Should Not Be Equal As Strings ${resp.status_code} 200
+
+Remove flowcondition
+ [Arguments] ${flowcond_name}
+ [Documentation] Remove the flowcondition by name
+ ${resp}= RequestsLibrary.Post Request session restconf/operations/vtn-flow-condition:remove-flow-condition data={"input":{"name":"${flowcond_name}"}}
+ Should Be Equal As Strings ${resp.status_code} 200