X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fpolicer.robot;h=87b97470ac6654188d95a2af739e128c1c99446f;hb=1469b71f48bb4e397ebaa65fbaf0512be691ec49;hp=65ef319d4388fb8f190b51287a611c43e30415da;hpb=2659bfa861fd129b22b4769a9ed402517ef3db44;p=csit.git diff --git a/resources/libraries/robot/honeycomb/policer.robot b/resources/libraries/robot/honeycomb/policer.robot index 65ef319d43..87b97470ac 100644 --- a/resources/libraries/robot/honeycomb/policer.robot +++ b/resources/libraries/robot/honeycomb/policer.robot @@ -12,9 +12,8 @@ # limitations under the License. *** Settings *** -| Resource | resources/libraries/robot/traffic.robot +| Resource | resources/libraries/robot/shared/traffic.robot | Library | resources.libraries.python.honeycomb.Routing.RoutingKeywords -| ... | WITH NAME | RoutingKeywordsAPI | Variables | resources/test_data/honeycomb/policer_variables.py | Documentation | Keywords used to test Policer using Honeycomb. @@ -36,7 +35,7 @@ | | Configure Policer | | ... | ${node} | ${policer_data['name']} | ${policer_data} -| Policer configuration from Honeycomb should be +| Policer Operational Data From Honeycomb Should Be | | [Documentation] | Retrieves Policer operational data and verifies if\ | | ... | Policer is configured correctly. | | ... @@ -47,14 +46,14 @@ | | ... | | ... | *Example:* | | ... -| | ... | \| Policer configuration from Honeycomb should be \ +| | ... | \| Policer Operational Data From Honeycomb Should Be \ | | ... | \| ${node} \| ${policer_data} \| | | ... | | [Arguments] | ${node} | ${policer_data} | | ${data}= | Get Policer oper data | ${node} | ${policer_data['name']} | | Compare data structures | ${data[0]} | ${policer_data} -| Policer configuration from Honeycomb should be empty +| Policer Operational Data From Honeycomb Should Be empty | | [Documentation] | Checks whether Policer configuration from Honeycomb \ | | ... | is empty. | | ... @@ -63,7 +62,7 @@ | | ... | | ... | *Example:* | | ... -| | ... | \| Policer configuration from Honeycomb should be empty \ +| | ... | \| Policer Operational Data From Honeycomb Should Be empty \ | | ... | \| ${node} \| | | ... | | [Arguments] | ${node} @@ -85,7 +84,7 @@ | | [Arguments] | ${node} | | Configure Policer | ${node} | ${policer_data['name']} -| Policer test teardown +| Tear down policer test | | [Documentation] | Uses Honeycomb API to remove Policer configuration\ | | ... | and reset interface state. | | ... @@ -133,7 +132,7 @@ | | Disable Policer on interface | | ... | ${node} | ${interface} -| Honeycomb Send Packet and Verify Marking +| Honeycomb Send packet and verify marking | | [Documentation] | Send packet and verify DSCP of the received packet. | | ... | | ... | *Arguments:* @@ -149,7 +148,7 @@ | | ... | *Example:* | | ... | | ... | \| ${dscp}= \| DSCP AF22 \| -| | ... | \| Send Packet and Verify Marking \| ${nodes['TG']} \| eth1 \| eth2 \ +| | ... | \| Send packet and verify marking \| ${nodes['TG']} \| eth1 \| eth2 \ | | ... | \| 08:00:27:87:4d:f7 \| 52:54:00:d4:d8:22 \| 192.168.122.2 \ | | ... | \| 192.168.122.1 \| ${dscp} \| | | ...