diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-08-08 06:37:33 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-08-10 07:47:46 +0000 |
commit | 404d88edce63a635b58ba54d21d91735ff933584 (patch) | |
tree | a1255a5c75b661ca2f2d409dcc10d8b4bf1dbb04 /test/test_neighbor.py | |
parent | 99a3c6c4836c15c2a354cce84aa18a1dabe76c7e (diff) |
Add test of the IP unnumbered dump
Change-Id: Ic3e978faf58b43adb8a9fd0dea36eb4513fe0c64
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'test/test_neighbor.py')
-rw-r--r-- | test/test_neighbor.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_neighbor.py b/test/test_neighbor.py index c161eb8881c..9d91f031571 100644 --- a/test/test_neighbor.py +++ b/test/test_neighbor.py @@ -296,6 +296,10 @@ class ARPTestCase(VppTestCase): # self.pg2.set_unnumbered(self.pg1.sw_if_index) + unnum = self.vapi.ip_unnumbered_dump() + self.assertEqual(unnum[0].ip_sw_if_index, self.pg1.sw_if_index) + self.assertEqual(unnum[0].sw_if_index, self.pg2.sw_if_index) + # # We should respond to ARP requests for the unnumbered to address # once an attached route to the source is known |