Tidied updated tests.
[integration/test.git] / csit / suites / vtn / VTN_Mgr_OF13 / 010__flowcondition_test.robot
1 *** Settings ***
2 Documentation     Test suite for VTN Manager using OF13
3 Suite Setup       Start SuiteVtnMaTest
4 Suite Teardown    Stop SuiteVtnMaTest
5 Resource          ../../../libraries/VtnMaKeywords.robot
6
7 *** Variables ***
8 ${flowconditiondata}    "vtn-flow-match":[{"vtn-inet-match":{"source-network":"10.0.0.1/32","protocol":1,"destination-network":"10.0.0.3/32"},"index":"1"}]
9
10 *** Test Cases ***
11 Add a flowcondition in restconfig
12     [Documentation]    Create a flowcondition cond_1 using restconfig api
13     Add a flowcondition    cond_1    ${flowconditiondata}
14
15 Get flowcondition
16     [Documentation]    Retrieve the flowcondition by name
17     Get flowcondition    cond_1    retrieve
18
19 Get flowconditions
20     [Documentation]    Retrieve the list of flowconditions
21     Get flowconditions
22
23 Remove flowcondition
24     [Documentation]    Remove the flowcondition by name
25     Remove flowcondition    cond_1
26
27 Get flowcondition After Remove
28     [Documentation]    Verify the removed flowcondition
29     Get flowcondition    cond_1    retrieve_after_remove