X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fhoneycomb%2Ffunc%2Fmgmt-cfg-routing-apihc-apivat-func.robot;h=b690c04e9e9beaf20ef744de82d9e30a5cf5b3c4;hb=5dc134628f7eef7fd609625c2ed291199ee6420f;hp=540093fe07c2fbef3b5c6c6fab9c2aa86010e91c;hpb=0cf1f0204e326cf93e36b344e2efd3cfa2f82870;p=csit.git diff --git a/tests/honeycomb/func/mgmt-cfg-routing-apihc-apivat-func.robot b/tests/honeycomb/func/mgmt-cfg-routing-apihc-apivat-func.robot index 540093fe07..b690c04e9e 100644 --- a/tests/honeycomb/func/mgmt-cfg-routing-apihc-apivat-func.robot +++ b/tests/honeycomb/func/mgmt-cfg-routing-apihc-apivat-func.robot @@ -14,6 +14,7 @@ *** Settings *** | Library | resources.libraries.python.honeycomb.Routing.RoutingKeywords | Library | resources.libraries.python.Trace +| Library | resources.libraries.python.InterfaceUtil | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/shared/testing_path.robot | Resource | resources/libraries/robot/ip/ip4.robot @@ -21,6 +22,7 @@ | Resource | resources/libraries/robot/honeycomb/honeycomb.robot | Resource | resources/libraries/robot/honeycomb/interfaces.robot | Resource | resources/libraries/robot/honeycomb/routing.robot +| Resource | resources/libraries/robot/honeycomb/fib.robot | ... | Test Setup | Clear Packet Trace on All DUTs | ${nodes} | ... @@ -72,6 +74,7 @@ | | ... | ${next_hop1} | ${next_hop_mac1} | | And Honeycomb adds interface IPv4 neighbor | ${dut_node} | ${dut_to_tg_if2} | | ... | ${next_hop2} | ${next_hop_mac2} +| | ... | | When Honeycomb configures routing table | | ... | ${node} | table2 | ipv4 | ${table2} | ${1} | | Then Routing data from Honeycomb should contain @@ -161,8 +164,6 @@ | | ... | destination. Make sure no packet is received on the second TG\ | | ... | interface. | | ... -# HC2VPP-254 Operational data for Blackhole IPv6 route is incorrect -| | [Tags] | EXPECTED_FAILING | | ${table}= | Set Variable | table6 | | Given Setup interfaces and neighbors for IPv6 routing test | | When Honeycomb configures routing table @@ -181,10 +182,12 @@ | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']} | | Import Variables | resources/test_data/honeycomb/routing.py | | ... | ${nodes['DUT1']} | ipv4 | ${dut_to_tg_if2} +| | Setup vrf FIBs | ${dut_node} | ${1} | | Setup vrf IDs | ${dut_node} | ${dut_to_tg_if1} | ${1} | | Setup vrf IDs | ${dut_node} | ${dut_to_tg_if2} | ${1} | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if1} | up | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if2} | up +| | Vpp Node Interfaces Ready Wait | ${dut_node} | | Honeycomb sets interface IPv4 address with prefix | ${dut_node} | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_len} | | Honeycomb sets interface IPv4 address with prefix | ${dut_node} @@ -199,12 +202,12 @@ | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']} | | Import Variables | resources/test_data/honeycomb/routing.py | | ... | ${nodes['DUT1']} | ipv6 | ${dut_to_tg_if2} -| | Honeycomb sets interface VRF ID -| | ... | ${dut_node} | ${dut_to_tg_if1} | ${1} | ipv6 -| | Honeycomb sets interface VRF ID -| | ... | ${dut_node} | ${dut_to_tg_if2} | ${1} | ipv6 +| | Setup vrf FIBs | ${dut_node} | ${1} +| | Setup vrf IDs | ${dut_node} | ${dut_to_tg_if1} | ${1} +| | Setup vrf IDs | ${dut_node} | ${dut_to_tg_if2} | ${1} | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if1} | up | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if2} | up +| | Vpp Node Interfaces Ready Wait | ${dut_node} | | Honeycomb sets interface IPv6 address | ${dut_node} | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_len} | | Honeycomb sets interface IPv6 address | ${dut_node} @@ -222,6 +225,7 @@ | | Show Packet Trace on All DUTs | ${nodes} | | Log routing configuration from VAT | ${node} | | Honeycomb removes routing configuration | ${node} | ${routing_table} +| | Remove vrf FIBs | ${node} | ${1} | Setup vrf IDs | | ... @@ -230,4 +234,18 @@ | | Honeycomb sets interface VRF ID | | ... | ${node} | ${interface} | ${vrf} | ipv4 | | Honeycomb sets interface VRF ID -| | ... | ${node} | ${interface} | ${vrf} | ipv6 \ No newline at end of file +| | ... | ${node} | ${interface} | ${vrf} | ipv6 + +| Setup vrf FIBs +| | ... +| | [Arguments] | ${node} | ${vrf} +| | ... +| | Honeycomb configures FIB table | ${node} | ipv4 | ${vrf} +| | Honeycomb configures FIB table | ${node} | ipv6 | ${vrf} + +| Remove vrf FIBs +| | ... +| | [Arguments] | ${node} | ${vrf} +| | ... +| | Honeycomb removes FIB configuration | ${node} | ipv4 | ${vrf} +| | Honeycomb removes FIB configuration | ${node} | ipv6 | ${vrf}