dhcp: dhcp6_pd_client_cp API cleanup
[vpp.git] / src / plugins / dhcp / dhcp6_pd_client_cp.api
index 43ed868..681479f 100644 (file)
  * 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;
 };
 
 /*