summaryrefslogtreecommitdiffstats
path: root/test/vpp_interface.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-02-25 04:20:00 -0800
committerOle Trøan <otroan@employees.org>2017-03-02 18:12:55 +0000
commitbaf2e90a91fa862c15572491c730d01cd6d19f5d (patch)
treed975d759abe644c39fd55e6ea002c677baa67bac /test/vpp_interface.py
parent584282a1d2a283a2aefce6b543da022d95356c4e (diff)
Remove the unused VRF ID parameter from the IP neighbour Add/Del API
Change-Id: Icf0d72f6af1f98c86f78e586c354515ac69804aa Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/vpp_interface.py')
-rw-r--r--test/vpp_interface.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/vpp_interface.py b/test/vpp_interface.py
index 125d8f044b4..4588943dd8a 100644
--- a/test/vpp_interface.py
+++ b/test/vpp_interface.py
@@ -196,7 +196,7 @@ class VppInterface(object):
self.has_ip4_config = False
self.has_ip4_config = False
- def configure_ipv4_neighbors(self, vrf_id=0):
+ def configure_ipv4_neighbors(self):
"""For every remote host assign neighbor's MAC to IPv4 addresses.
:param vrf_id: The FIB table / VRF ID. (Default value = 0)
@@ -205,7 +205,7 @@ class VppInterface(object):
macn = host.mac.replace(":", "").decode('hex')
ipn = host.ip4n
self.test.vapi.ip_neighbor_add_del(
- self.sw_if_index, macn, ipn, vrf_id)
+ self.sw_if_index, macn, ipn)
def config_ip6(self):
"""Configure IPv6 address on the VPP interface."""
@@ -227,7 +227,7 @@ class VppInterface(object):
self.has_ip6_config = False
self.has_ip6_config = False
- def configure_ipv6_neighbors(self, vrf_id=0):
+ def configure_ipv6_neighbors(self):
"""For every remote host assign neighbor's MAC to IPv6 addresses.
:param vrf_id: The FIB table / VRF ID. (Default value = 0)
@@ -236,7 +236,7 @@ class VppInterface(object):
macn = host.mac.replace(":", "").decode('hex')
ipn = host.ip6n
self.test.vapi.ip_neighbor_add_del(
- self.sw_if_index, macn, ipn, vrf_id, is_ipv6=1)
+ self.sw_if_index, macn, ipn, is_ipv6=1)
def unconfig(self):
"""Unconfigure IPv6 and IPv4 address on the VPP interface."""