vxlan-gbp: api cleanup

Use consistent API types.

Type: fix

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I26bd57ba506165bf2dd574fa39a81adc4295d796
diff --git a/src/vnet/vxlan-gbp/vxlan_gbp.api b/src/vnet/vxlan-gbp/vxlan_gbp.api
index 13ec503..40d61a5 100644
--- a/src/vnet/vxlan-gbp/vxlan_gbp.api
+++ b/src/vnet/vxlan-gbp/vxlan_gbp.api
@@ -14,8 +14,9 @@
  * limitations under the License.
  */
 
-option version = "1.1.0";
+option version = "1.1.1";
 import "vnet/ip/ip_types.api";
+import "vnet/interface_types.api";
 
 enum vxlan_gbp_api_tunnel_mode
 {
@@ -28,7 +29,7 @@
     @param src - Source IP address
     @param dst - Destination IP address, can be multicast
     @param mcast_sw_if_index - Interface for multicast destination
-    @param encap_table_id - Encap route table 
+    @param encap_table_id - Encap route table
     @param vni - The VXLAN Network Identifier, uint24
     @param sw_ifindex - Ignored in add message, set in details
 */
@@ -37,10 +38,10 @@
   u32 instance;
   vl_api_address_t src;
   vl_api_address_t dst;
-  u32 mcast_sw_if_index;
+  vl_api_interface_index_t mcast_sw_if_index;
   u32 encap_table_id;
   u32 vni;
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
   vl_api_vxlan_gbp_api_tunnel_mode_t mode;
 };
 
@@ -53,7 +54,7 @@
 {
   u32 client_index;
   u32 context;
-  u8 is_add;
+  bool is_add [default=true];
   vl_api_vxlan_gbp_tunnel_t tunnel;
 };
 
@@ -61,14 +62,14 @@
 {
   u32 context;
   i32 retval;
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
 };
 
 define vxlan_gbp_tunnel_dump
 {
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
 };
 
 define vxlan_gbp_tunnel_details
@@ -88,8 +89,7 @@
 {
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
-  u8 is_ipv6;
-  u8 enable;
+  vl_api_interface_index_t sw_if_index;
+  bool is_ipv6;
+  bool enable [default=true];
 };
-