X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Ffunc%2Ftap%2Ftap_interface.robot;fp=tests%2Ffunc%2Ftap%2Ftap_interface.robot;h=13a8e619fb9fd5593101458cafd1cf1a97806a86;hb=3451ac9de00a2811d7a5e47d11e0b74b3b9dc855;hp=e123cc82b7c95b14ac057747ace53d0a500c0813;hpb=85005be5789763fe81179d94950d2f56642d12aa;p=csit.git diff --git a/tests/func/tap/tap_interface.robot b/tests/func/tap/tap_interface.robot index e123cc82b7..13a8e619fb 100644 --- a/tests/func/tap/tap_interface.robot +++ b/tests/func/tap/tap_interface.robot @@ -70,6 +70,7 @@ | ${namespace1}= | nmspace1 | ${namespace2}= | nmspace2 +| ${dut_ip_address}= | 192.168.0.1 | ${tg_ip_address}= | 192.168.0.2 | ${tg_ip_address_SHG}= | 16.0.10.20 | ${tg_ip_address_GW}= | 192.168.0.0 @@ -131,6 +132,8 @@ | | ${int1}= | And Add Tap Interface | ${dut_node} | ${tap_int1} | | | And Set Interface Address | | ... | ${dut_node} | ${int1} | ${tap1_VPP_ip} | ${prefix} +| | And Set Interface Address +| | ... | ${dut_node} | ${dut_to_tg_if1} | ${dut_ip_address} | ${prefix} | | And Set Interface State | ${dut_node} | ${int1} | up | | And Set Linux Interface MAC | ${dut_node} | ${tap_int1} | ${tap1_NM_mac} | | And Set Linux Interface IP | ${dut_node} @@ -160,6 +163,8 @@ | | ${int1}= | And Add Tap Interface | ${dut_node} | ${tap_int1} | | | And Set Interface Address | | ... | ${dut_node} | ${int1} | ${tap1_VPP_ip} | ${prefix} +| | And Set Interface Address +| | ... | ${dut_node} | ${dut_to_tg_if1} | ${dut_ip_address} | ${prefix} | | And Set Interface State | ${dut_node} | ${int1} | up | | When Create Namespace | ${dut_node} | ${namespace1} | | And Attach Interface To Namespace | ${dut_node}