diff options
author | Neale Ranns <nranns@cisco.com> | 2020-08-20 08:22:56 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-11-20 10:27:01 +0000 |
commit | dc617b8df442f3e25197ec64ffd58d11411b0470 (patch) | |
tree | a573462413e12b71d71515f84e53900686424917 /test | |
parent | d01d2ce4498dae4cbcba65784babe91d56d4bae9 (diff) |
ip-neighbor: Use ip_address_t rather than ip46_address_t
Type: improvement
Change-Id: Ica5f395075677bda5f38d28e704f65350af88610
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_neighbor.py | 2 | ||||
-rw-r--r-- | test/test_p2p_ethernet.py | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test/test_neighbor.py b/test/test_neighbor.py index dfefb151091..b263007bcd9 100644 --- a/test/test_neighbor.py +++ b/test/test_neighbor.py @@ -204,6 +204,8 @@ class ARPTestCase(VppTestCase): dyn_arp.add_vpp_config() self.assertTrue(dyn_arp.query_vpp_config()) + self.logger.info(self.vapi.cli("show ip neighbor-watcher")) + # this matches all of the listnerers es = [self.vapi.wait_for_event(1, "ip_neighbor_event") for i in range(3)] diff --git a/test/test_p2p_ethernet.py b/test/test_p2p_ethernet.py index 7cc6cdce485..fb55a365bee 100644 --- a/test/test_p2p_ethernet.py +++ b/test/test_p2p_ethernet.py @@ -190,6 +190,7 @@ class P2PEthernetIPV6(VppTestCase): """standard routing without p2p subinterfaces""" self.logger.info("FFP_TEST_START_0001") + self.pg0.config_ip6() route_8000 = VppIpRoute(self, "8000::", 64, [VppRoutePath(self.pg0.remote_ip6, self.pg0.sw_if_index)]) @@ -202,6 +203,7 @@ class P2PEthernetIPV6(VppTestCase): Raw(b'\xa5' * 100))] self.send_packets(self.pg1, self.pg0) + self.pg0.unconfig_ip6() self.logger.info("FFP_TEST_FINISH_0001") def test_ip6_rx_p2p_subif(self): @@ -273,8 +275,10 @@ class P2PEthernetIPV6(VppTestCase): """send packet via p2p subinterface""" self.logger.info("FFP_TEST_START_0005") + self.pg0.config_ip6() + route_8000 = VppIpRoute(self, "8000::", 64, - [VppRoutePath(self.pg0.remote_ip6, + [VppRoutePath(self.pg0.remote_hosts[0].ip6, self.pg0.sw_if_index)]) route_8000.add_vpp_config() route_8001 = VppIpRoute(self, "8001::", 64, @@ -301,6 +305,7 @@ class P2PEthernetIPV6(VppTestCase): route_8001.remove_vpp_config() route_8002.remove_vpp_config() + self.pg0.unconfig_ip6() self.logger.info("FFP_TEST_FINISH_0005") def test_ip6_tx_p2p_subif_drop(self): |