diff options
-rw-r--r-- | src/vnet/dhcp/dhcp6_ia_na_client_cp.api | 8 | ||||
-rw-r--r-- | test/vpp_papi_provider.py | 6 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/vnet/dhcp/dhcp6_ia_na_client_cp.api b/src/vnet/dhcp/dhcp6_ia_na_client_cp.api index 6dd67384aec..caa4fd4afc8 100644 --- a/src/vnet/dhcp/dhcp6_ia_na_client_cp.api +++ b/src/vnet/dhcp/dhcp6_ia_na_client_cp.api @@ -13,7 +13,9 @@ * limitations under the License. */ -option version = "1.0.0"; +option version = "1.0.1"; + +import "vnet/interface_types.api"; /** \brief Enable/disable DHCPv6 client on interface @param client_index - opaque cookie to identify the sender @@ -25,8 +27,8 @@ autoreply define dhcp6_client_enable_disable { u32 client_index; u32 context; - u32 sw_if_index; - u8 enable; + vl_api_interface_index_t sw_if_index; + bool enable; }; /* diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index e38b262eda7..13babf28a51 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -437,12 +437,6 @@ class VppPapiProvider(object): 'n_prefixes': len(prefixes), 'prefixes': prefixes}) - def dhcp6_client_enable_disable(self, sw_if_index, prefix_group='', - enable=1): - return self.api(self.papi.dhcp6_client_enable_disable, - {'sw_if_index': sw_if_index, - 'enable': enable}) - def dhcp6_pd_client_enable_disable(self, sw_if_index, prefix_group='', enable=1): return self.api(self.papi.dhcp6_pd_client_enable_disable, |