diff options
author | premkumarv <preym17@gmail.com> | 2019-07-24 08:43:23 -0400 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-09-26 17:26:32 +0200 |
commit | 7b73d46872db5adfc8f4603a9ca783be7d3fa323 (patch) | |
tree | a04a2a21632d1f4b39a8eaebd24065b3cc8f4bcd /tests/vpp/device/ip6 | |
parent | f7d43390a6ce60284f54cad4e66b66d1ecd4a166 (diff) |
CSIT-1471: Policer - VAT API to PAPI
Change-Id: I6c7eff8d9cbb196ccb684a45579ac59942351cfe
Signed-off-by: premkumarv <preym17@gmail.com>
Diffstat (limited to 'tests/vpp/device/ip6')
-rw-r--r-- | tests/vpp/device/ip6/eth2p-ethip6-ip6base-iacldstbase-dev.robot | 12 | ||||
-rw-r--r-- | tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot | 8 |
2 files changed, 16 insertions, 4 deletions
diff --git a/tests/vpp/device/ip6/eth2p-ethip6-ip6base-iacldstbase-dev.robot b/tests/vpp/device/ip6/eth2p-ethip6-ip6base-iacldstbase-dev.robot index 50ae50676f..e75f3ed572 100644 --- a/tests/vpp/device/ip6/eth2p-ethip6-ip6base-iacldstbase-dev.robot +++ b/tests/vpp/device/ip6/eth2p-ethip6-ip6base-iacldstbase-dev.robot @@ -19,7 +19,7 @@ | ... | Suite Setup | Setup suite single link | scapy | Test Setup | Setup test -| Test Teardown | Tear down test | packet_trace +| Test Teardown | Tear down test | packet_trace | classify | ... | Test Template | Local Template | ... @@ -63,15 +63,21 @@ | | And Apply startup configuration on all VPP DUTs | with_trace=${True} | | When Initialize IPv6 forwarding in circular topology | | ${table_idx} | ${skip_n} | ${match_n}= | And Vpp Creates Classify Table L3 -| | ... | ${dut1} | ip6 | dst | 2001:2::2 +| | ... | ${dut1} | ip6 | dst | ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff | | And Vpp Configures Classify Session L3 -| | ... | ${dut1} | permit | ${table_idx} | ip6 | dst | 2001:2::2 +| | ... | ${dut1} | permit | ${table_idx} | ${skip_n} | ${match_n} | ip6 | dst +| | ... | 2001:2::2 | | And Vpp Enable Input Acl Interface | | ... | ${dut1} | ${dut1_if1} | ip6 | ${table_idx} | | Then Send packet and verify headers | | ... | ${tg} | 2001:1::2 | 2001:2::2 | | ... | ${tg_if1} | ${tg_if1_mac} | ${dut1_if1_mac} | | ... | ${tg_if2} | ${dut1_if2_mac} | ${tg_if2_mac} +# TODO: Add check of number of hits of the classify session after traffic +# Until there is implemented check of number of hits of the classify session +# after passing the traffic log the show classify tables verbose to allow visual +# check of hit number when needed. +| | And Show Classify Tables Verbose | ${dut1} *** Test Cases *** | tc01-78B-ethip6-ip6base-iacldstbase-dev diff --git a/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot b/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot index e0ea687581..73abe62cb7 100644 --- a/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot +++ b/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot @@ -19,7 +19,7 @@ | ... | Suite Setup | Setup suite single link | scapy | Test Setup | Setup test -| Test Teardown | Tear down test | packet_trace +| Test Teardown | Tear down test | packet_trace | classify | ... | Test Template | Local Template | ... @@ -41,6 +41,7 @@ | ${overhead}= | ${0} | ${cir}= | ${100} | ${eir}= | ${150} +| ${dscp}= | AF22 *** Keywords *** | Local Template @@ -68,6 +69,11 @@ | | Then Send packet and verify marking | | ... | ${tg} | ${tg_if1} | ${tg_if2} | ${tg_if1_mac} | ${dut1_if1_mac} | | ... | 2001:1::2 | 2001:2::2 +# TODO: Add check of number of hits of the classify session after traffic +# Until there is implemented check of number of hits of the classify session +# after passing the traffic log the show classify tables verbose to allow visual +# check of hit number when needed. +| | And Show Classify Tables Verbose | ${dut1} *** Test Cases *** | tc01-78B-ethip6-ip6base-ipolicemarkbase-dev |