ip: rd_cp API cleanup 45/22645/2
authorJakub Grajciar <jgrajcia@cisco.com>
Thu, 10 Oct 2019 11:33:43 +0000 (13:33 +0200)
committerOle Trøan <otroan@employees.org>
Thu, 17 Oct 2019 14:18:06 +0000 (14:18 +0000)
Use consistent API types.

Type: fix

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I1cc42b57fbf72e2ced8b5d1283c34de2f7ff948a

src/vnet/ip/rd_cp.api

index 9a3cdea..5848078 100644 (file)
@@ -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 IPv6 ND address autoconfiguration
            and setting up default routes
@@ -30,9 +32,9 @@ autoreply define ip6_nd_address_autoconfig
 {
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
-  u8 enable;
-  u8 install_default_routes;
+  vl_api_interface_index_t sw_if_index;
+  bool enable;
+  bool install_default_routes;
 };
 
 /*