summaryrefslogtreecommitdiffstats
path: root/src/plugins/dhcp/dhcp6_pd_client_cp.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dhcp/dhcp6_pd_client_cp.api')
-rw-r--r--src/plugins/dhcp/dhcp6_pd_client_cp.api20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/plugins/dhcp/dhcp6_pd_client_cp.api b/src/plugins/dhcp/dhcp6_pd_client_cp.api
index 43ed868e81e..681479fcfc8 100644
--- a/src/plugins/dhcp/dhcp6_pd_client_cp.api
+++ b/src/plugins/dhcp/dhcp6_pd_client_cp.api
@@ -13,7 +13,10 @@
* limitations under the License.
*/
-option version = "1.0.0";
+option version = "2.0.0";
+
+import "vnet/interface_types.api";
+import "vnet/ip/ip_types.api";
/** \brief Enable/disable DHCPv6 PD client on interface
@param client_index - opaque cookie to identify the sender
@@ -26,9 +29,9 @@ autoreply define dhcp6_pd_client_enable_disable
{
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 prefix_group[64];
- u8 enable;
+ vl_api_interface_index_t sw_if_index;
+ string prefix_group[64];
+ bool enable;
};
/** \brief Add/delete IPv6 address optionally using available prefix
@@ -47,11 +50,10 @@ autoreply define ip6_add_del_address_using_prefix
{
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 prefix_group[64];
- u8 address[16];
- u8 prefix_length;
- u8 is_add;
+ vl_api_interface_index_t sw_if_index;
+ string prefix_group[64];
+ vl_api_ip6_address_with_prefix_t address_with_prefix;
+ bool is_add;
};
/*