2 Documentation Test suite for NIC VTN Renderer
3 Suite Setup Start NIC VTN Rest Test Suite
4 Suite Teardown Stop NIC Vtn Rest Test Suite
5 Resource ../../../libraries/NicKeywords.robot
9 [Documentation] Create a new intent .
10 Add Intent Using RestConf ${INTENT_ID} { "intent:intent" : { "intent:id": ${INTENT_ID} , "intent:actions" : [ { "order" : 1, "block" : {} } ],"intent:subjects" : [ { "order":1 , "end-point-group" : {name:"10.0.0.1"} }, { "order":2 , "end-point-group" : {name:"10.0.0.2"}} ] } }
13 [Documentation] Verify the Intent created.
14 Verify Intent Using RestConf ${INTENT_ID}
17 [Documentation] Update the Intent created.
18 Update Intent Using RestConf ${INTENT_ID} { "intent:intent" : { "intent:id": ${INTENT_ID} , "intent:actions" : [ { "order" : 2, "allow" : {} } ],"intent:subjects" : [ { "order":1 , "end-point-group" : {name:"10.0.0.1"} }, { "order":2 , "end-point-group" : {name:"10.0.0.2"}} ] } }
21 [Documentation] Ping h1 to h2, to verify no packet loss
22 Mininet Ping Should Succeed h1 h2
25 [Documentation] Delete the intent created.
26 Delete Intent Using RestConf ${INTENT_ID}
27 Mininet Ping Should Not Succeed h1 h2