| TC01: VPP policer 2R3C Color-aware marks packet |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 192.168.122.1/24 sw_interface_add_del_address sw_if_index 1 192.168.123.1/24 ip_neighbor_add_del sw_if_index 1 dst 192.168.123.2 mac fa:16:3e:a6:b9:66 policer_add_del name policer1 cir 100 eir 150 cb 200 eb 300 rate_type pps round_type closest type 2r3c-2698 conform_action transmit exceed_action mark-and-transmit AF22 violate_action drop color-aware classify_add_del_table mask l3 ip4 src classify_add_del_session policer-hit-next 0 exceed-color table-index 0 skip_n 1 match_n 1 match l3 ip4 src 192.168.122.2 policer_classify_set_interface sw_if_index 2 ip4-table 0 DUT2: no VAT command executed |
| TC02: VPP policer 2R3C Color-blind marks packet |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 192.168.122.1/24 sw_interface_add_del_address sw_if_index 1 192.168.123.1/24 ip_neighbor_add_del sw_if_index 1 dst 192.168.123.2 mac fa:16:3e:a6:b9:66 policer_add_del name policer1 cir 100 eir 150 cb 200 eb 300 rate_type pps round_type closest type 2r3c-2698 conform_action mark-and-transmit AF22 exceed_action transmit violate_action drop classify_add_del_table mask l3 ip4 src classify_add_del_session policer-hit-next 0 conform-color table-index 0 skip_n 1 match_n 1 match l3 ip4 src 192.168.122.2 policer_classify_set_interface sw_if_index 2 ip4-table 0 DUT2: no VAT command executed |
| TC03: VPP policer 1R3C Color-aware marks packet |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 192.168.122.1/24 sw_interface_add_del_address sw_if_index 1 192.168.123.1/24 ip_neighbor_add_del sw_if_index 1 dst 192.168.123.2 mac fa:16:3e:a6:b9:66 policer_add_del name policer1 cir 1 eir 0 cb 2 eb 300 rate_type pps round_type closest type 1r3c conform_action transmit exceed_action mark-and-transmit AF22 violate_action drop color-aware classify_add_del_table mask l3 ip4 src classify_add_del_session policer-hit-next 0 exceed-color table-index 0 skip_n 1 match_n 1 match l3 ip4 src 192.168.122.2 policer_classify_set_interface sw_if_index 2 ip4-table 0 DUT2: no VAT command executed |
| TC04: VPP policer 1R3C Color-blind marks packet |
DUT1: sw_interface_set_flags sw_if_index 2 admin-up sw_interface_set_flags sw_if_index 1 admin-up sw_interface_dump sw_interface_add_del_address sw_if_index 2 192.168.122.1/24 sw_interface_add_del_address sw_if_index 1 192.168.123.1/24 ip_neighbor_add_del sw_if_index 1 dst 192.168.123.2 mac fa:16:3e:a6:b9:66 policer_add_del name policer1 cir 100 eir 0 cb 200 eb 300 rate_type pps round_type closest type 1r3c conform_action mark-and-transmit AF22 exceed_action transmit violate_action drop classify_add_del_table mask l3 ip4 src classify_add_del_session policer-hit-next 0 conform-color table-index 0 skip_n 1 match_n 1 match l3 ip4 src 192.168.122.2 policer_classify_set_interface sw_if_index 2 ip4-table 0 DUT2: no VAT command executed |