Go to the source code of this file.
◆ gre_tunnel_mode
A GRE tunnel mode.
Enumerator |
---|
GRE_API_TUNNEL_MODE_P2P | |
GRE_API_TUNNEL_MODE_MP | |
Definition at line 33 of file gre.api.
◆ gre_tunnel_type
A GRE tunnel type.
Enumerator |
---|
GRE_API_TUNNEL_TYPE_L3 | |
GRE_API_TUNNEL_TYPE_TEB | |
GRE_API_TUNNEL_TYPE_ERSPAN | |
Definition at line 24 of file gre.api.
◆ api
import vnet ip ip_types api |
◆ dst
◆ gre_tunnel
Initial value:{
vl_api_gre_tunnel_type_t
typevl_api_fib_path_type_t type
A GRE tunnel.
- Template Parameters
-
client_index | - opaque cookie to identify the sender |
context | - sender context, to match reply w/ request |
tunnel_type | - 0: L3, 1: TEB, 2: ERSPAN |
instance | - optional unique custom device instance, else ~0. |
src | - Source IP address |
dst | - Destination IP address, can be multicast |
outer_table_id | - Encap FIB table ID |
session_id | - session for ERSPAN tunnel, range 0-1023 |
sw_if_index | - ignored on create/delete, present in details. |
Definition at line 53 of file gre.api.
◆ instance
◆ mode
vl_api_gre_tunnel_mode_t mode |
◆ outer_table_id
◆ session_id
◆ src
◆ sw_if_index
vl_api_interface_index_t sw_if_index |
◆ version