diff options
author | Neale Ranns <nranns@cisco.com> | 2019-04-18 10:23:56 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-12-04 22:45:11 +0000 |
commit | 5f8f6173328f8d77feea5fd100e150c3094c11f0 (patch) | |
tree | 16849c6e7619b227a93ce9846f344da2cc96ef2d /src/vat/api_format.c | |
parent | 79619c10142e15754e2f0b2ba26c20d415e7c36f (diff) |
gre: Multi-point interfaces
Type: feature
Change-Id: I0129ad6ace44a50a8a3b26db8e445cd06b2b49e8
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vat/api_format.c')
-rw-r--r-- | src/vat/api_format.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c index 924d9c60290..e362672bbb2 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -12651,7 +12651,7 @@ api_gre_tunnel_add_del (vat_main_t * vam) u8 is_add = 1; u8 src_set = 0; u8 dst_set = 0; - u32 outer_fib_id = 0; + u32 outer_table_id = 0; u32 session_id = 0; u32 instance = ~0; int ret; @@ -12672,7 +12672,7 @@ api_gre_tunnel_add_del (vat_main_t * vam) { dst_set = 1; } - else if (unformat (line_input, "outer-fib-id %d", &outer_fib_id)) + else if (unformat (line_input, "outer-table-id %d", &outer_table_id)) ; else if (unformat (line_input, "teb")) t_type = GRE_API_TUNNEL_TYPE_TEB; @@ -12702,7 +12702,7 @@ api_gre_tunnel_add_del (vat_main_t * vam) clib_memcpy (&mp->tunnel.dst, &dst, sizeof (mp->tunnel.dst)); mp->tunnel.instance = htonl (instance); - mp->tunnel.outer_fib_id = htonl (outer_fib_id); + mp->tunnel.outer_table_id = htonl (outer_table_id); mp->is_add = is_add; mp->tunnel.session_id = htons ((u16) session_id); mp->tunnel.type = htonl (t_type); @@ -12722,7 +12722,7 @@ static void vl_api_gre_tunnel_details_t_handler ntohl (mp->tunnel.instance), format_vl_api_address, &mp->tunnel.src, format_vl_api_address, &mp->tunnel.dst, - mp->tunnel.type, ntohl (mp->tunnel.outer_fib_id), + mp->tunnel.type, ntohl (mp->tunnel.outer_table_id), ntohl (mp->tunnel.session_id)); } @@ -12747,8 +12747,8 @@ static void vl_api_gre_tunnel_details_t_handler_json vat_json_object_add_address (node, "src", &mp->tunnel.src); vat_json_object_add_address (node, "dst", &mp->tunnel.dst); vat_json_object_add_uint (node, "tunnel_type", mp->tunnel.type); - vat_json_object_add_uint (node, "outer_fib_id", - ntohl (mp->tunnel.outer_fib_id)); + vat_json_object_add_uint (node, "outer_table_id", + ntohl (mp->tunnel.outer_table_id)); vat_json_object_add_uint (node, "session_id", mp->tunnel.session_id); } |