diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-09-30 13:06:48 +0200 |
---|---|---|
committer | Jakub Grajciar <jgrajcia@cisco.com> | 2019-10-09 13:52:32 +0200 |
commit | d5262831a3379afc77cab9a16067765585dd5175 (patch) | |
tree | f5e771058e0eb73f2f9dd3ab46ccbb2a94fd56c1 /src/plugins/dhcp/dhcp6_pd_client_cp.api | |
parent | de312c2d5fd709e2562955f0a57a56ea91455d7d (diff) |
dhcp: dhcp6_pd_client_cp API cleanup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: If6c102a53d074cba7eca6b6af9855aa4486f38cc
Diffstat (limited to 'src/plugins/dhcp/dhcp6_pd_client_cp.api')
-rw-r--r-- | src/plugins/dhcp/dhcp6_pd_client_cp.api | 20 |
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; }; /* |