aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip.api51
1 files changed, 26 insertions, 25 deletions
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api
index 831b38ac53c..edf995ed77d 100644
--- a/src/vnet/ip/ip.api
+++ b/src/vnet/ip/ip.api
@@ -17,11 +17,12 @@
/** \file
This file defines vpp IP control-plane API messages which are generally
- called through a shared memory interface.
+ called through a shared memory interface.
*/
-option version = "3.0.0";
+option version = "3.0.1";
+import "vnet/interface_types.api";
import "vnet/fib/fib_types.api";
import "vnet/ethernet/ethernet_types.api";
import "vnet/mfib/mfib_types.api";
@@ -52,7 +53,7 @@ autoreply define ip_table_add_del
{
u32 client_index;
u32 context;
- bool is_add;
+ bool is_add [default=true];
vl_api_ip_table_t table;
};
@@ -158,7 +159,7 @@ define ip_route_add_del
{
u32 client_index;
u32 context;
- bool is_add;
+ bool is_add [default=true];
bool is_multipath;
vl_api_ip_route_t route;
};
@@ -208,13 +209,13 @@ autoreply define set_ip_flow_hash
u32 context;
u32 vrf_id;
bool is_ipv6;
- u8 src;
- u8 dst;
- u8 sport;
- u8 dport;
- u8 proto;
- u8 reverse;
- u8 symmetric;
+ bool src;
+ bool dst;
+ bool sport;
+ bool dport;
+ bool proto;
+ bool reverse;
+ bool symmetric;
};
/** \brief IPv6 interface enable / disable request
@@ -288,7 +289,7 @@ define ip_mroute_add_del
{
u32 client_index;
u32 context;
- bool is_add;
+ bool is_add [default=true];
bool is_multipath;
vl_api_ip_mroute_t route;
};
@@ -396,7 +397,7 @@ autoreply define ip_punt_police
u32 client_index;
u32 context;
u32 policer_index;
- bool is_add;
+ bool is_add [default=true];
bool is_ip6;
};
@@ -426,7 +427,7 @@ autoreply define ip_punt_redirect
u32 client_index;
u32 context;
vl_api_punt_redirect_t punt;
- bool is_add;
+ bool is_add [default=true];
};
define ip_punt_redirect_dump
@@ -449,7 +450,7 @@ autoreply define ip_container_proxy_add_del
u32 context;
vl_api_prefix_t pfx;
vl_api_interface_index_t sw_if_index;
- bool is_add;
+ bool is_add [default=true];
};
define ip_container_proxy_dump
@@ -481,7 +482,7 @@ autoreply define ip_source_and_port_range_check_add_del
{
u32 client_index;
u32 context;
- bool is_add;
+ bool is_add [default=true];
vl_api_prefix_t prefix;
u8 number_of_ranges;
u16 low_ports[32];
@@ -500,7 +501,7 @@ autoreply define ip_source_and_port_range_check_interface_add_del
{
u32 client_index;
u32 context;
- bool is_add;
+ bool is_add [default=true];
vl_api_interface_index_t sw_if_index;
u32 tcp_in_vrf_id;
u32 tcp_out_vrf_id;
@@ -519,8 +520,8 @@ autoreply define ip_source_check_interface_add_del
{
u32 client_index;
u32 context;
- bool is_add;
- u8 loose;
+ bool is_add [default=true];
+ bool loose;
vl_api_interface_index_t sw_if_index;
};
@@ -541,8 +542,8 @@ autoreply define sw_interface_ip6_set_link_local_address
/** \brief IOAM enable : Enable in-band OAM
@param id - profile id
@param seqno - To enable Seqno Processing
- @param analyse - Enabling analysis of iOAM at decap node
- @param pot_enable - Proof of Work enabled or not flag
+ @param analyse - Enabling analysis of iOAM at decap node
+ @param pow_enable - Proof of Work enabled or not flag
@param trace_enable - iOAM Trace enabled or not flag
*/
autoreply define ioam_enable
@@ -550,10 +551,10 @@ autoreply define ioam_enable
u32 client_index;
u32 context;
u16 id;
- u8 seqno;
- u8 analyse;
- u8 pot_enable;
- u8 trace_enable;
+ bool seqno;
+ bool analyse;
+ bool pot_enable;
+ bool trace_enable;
u32 node_id;
};