diff options
author | selias <samelias@cisco.com> | 2017-05-09 12:38:35 +0200 |
---|---|---|
committer | Samuel Eliáš <samelias@cisco.com> | 2017-05-17 07:27:59 +0000 |
commit | a114591eac9f52502048db886da2fb228c62254d (patch) | |
tree | 24426e7fe44f24e8c9471da885269813214550e9 /resources/libraries/robot/honeycomb/interfaces.robot | |
parent | 03bb1e5611946a53f243a3d923c8f2d1aeee079a (diff) |
CSIT-562 HC Test: Persistence suite rework, part1
- rename keywords that check operational data, to distinguish from keywords
that check configuration data
- modify existing persistence cases so that they don't affect each other
- add feature-specific persistence tests for: Interface Management, L2 bridge
- move Interface Management variables to separate file so they can be reused
- add new tag HC_PERSIST to execute persistence tests separately
- update existing Honeycomb tags to comply with CSIT conventions
More feature-specific tests to be added in part2.
Change-Id: I8657da4bb9e9a3d5261c04f5f1999b2572f605ef
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb/interfaces.robot')
-rw-r--r-- | resources/libraries/robot/honeycomb/interfaces.robot | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/libraries/robot/honeycomb/interfaces.robot b/resources/libraries/robot/honeycomb/interfaces.robot index a08ce3fceb..2ab97e0d96 100644 --- a/resources/libraries/robot/honeycomb/interfaces.robot +++ b/resources/libraries/robot/honeycomb/interfaces.robot @@ -544,7 +544,7 @@ | | | interfaceAPI.Configure interface ethernet | | | ... | ${node} | ${interface} | ${key} | ${ethernet['${key}']} -| Interface ethernet configuration from Honeycomb should be +| Interface ethernet Operational Data From Honeycomb Should Be | | [Documentation] | Retrieves interface ethernet configuration\ | | ... | through Honeycomb and compares with settings supplied in arguments. | | ... @@ -555,7 +555,7 @@ | | ... | | ... | *Example:* | | ... -| | ... | \| Interface ethernet configuration from Honeycomb should be \ +| | ... | \| Interface ethernet Operational Data From Honeycomb Should Be \ | | ... | should be \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \ | | ... | \| ${{'mtu': 1500}} \| | | [Arguments] | ${node} | ${interface} | ${ethernet} @@ -564,7 +564,7 @@ | | | Should be equal | | | ... | ${api_data['v3po:ethernet']['${key}']} | ${ethernet['${key}']} -| Interface ethernet configuration from VAT should be +| Interface ethernet Operational Data From VAT Should Be | | [Documentation] | Retrieves interface ethernet configuration\ | | ... | through VAT and compares with settings supplied in arguments. | | ... @@ -575,7 +575,7 @@ | | ... | | ... | *Example:* | | ... -| | ... | \| Interface ethernet configuration from VAT should be \ +| | ... | \| Interface ethernet Operational Data From VAT Should Be \ | | ... | should be \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| ${1500} \| | | [Arguments] | ${node} | ${interface} | ${mtu} | | ${vat_data}= | InterfaceCLI.VPP get interface data | ${node} | ${interface} @@ -636,7 +636,7 @@ | | ... | ${node} | ${interface} | | Should be equal | ${vat_data} | ${vrf_id} -| Interface configuration from Honeycomb should be empty +| Interface Operational Data From Honeycomb Should Be empty | | [Documentation] | Attempts to retrieve interface configuration through\ | | ... | Honeycomb and expects to get empty dictionary. | | ... @@ -646,14 +646,14 @@ | | ... | string | | ... | | ... | *Example:* -| | ... | \| Interface configuration from Honeycomb should be empty\ +| | ... | \| Interface Operational Data From Honeycomb Should Be empty\ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| | | ... | | [Arguments] | ${node} | ${interface} | | ${api_data}= | interfaceAPI.Get interface oper data | ${node} | ${interface} | | Should be empty | ${api_data} -| Interface configuration from VAT should be empty +| Interface Operational Data From VAT Should Be empty | | [Documentation] | Attempts to retrieve Interface configuration through\ | | ... | VAT and expects to get empty dictionary. | | ... @@ -663,7 +663,7 @@ | | ... | string | | ... | | ... | *Example:* -| | ... | \| Interface configuration from VAT should be empty\ +| | ... | \| Interface Operational Data From VAT Should Be empty\ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| | | ... | | [Arguments] | ${node} | ${interface} | |