summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-07-18 09:26:53 -0700
committerNeale Ranns <nranns@cisco.com>2017-07-18 19:05:03 +0000
commit51822bf07a3f0fe72834ea94659faf6e262475ba (patch)
tree55acdc249df261a92d0ec09bb7c05a2d4fa7ca44 /test/vpp_papi_provider.py
parenta2fbf6ba0e2553687f56d9a9fb63e2972bdb26c6 (diff)
DHCP client option 61 "client_id"
the existing seeting of client_id to a VPP version number was unused and so overridden Change-Id: If9ebea936336f1fcca8d07e67186c95f8f8f0ccd Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 31eadad87a9..2814ef97b9e 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -1758,6 +1758,7 @@ class VppPapiProvider(object):
def dhcp_client(self,
sw_if_index,
hostname,
+ client_id='',
is_add=1,
want_dhcp_events=0):
return self.api(
@@ -1765,6 +1766,7 @@ class VppPapiProvider(object):
{
'sw_if_index': sw_if_index,
'hostname': hostname,
+ 'client_id': client_id,
'is_add': is_add,
'want_dhcp_event': want_dhcp_events,
'pid': os.getpid(),