Go to the source code of this file.
◆ 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 25 of file gre.api.
◆ api
import vnet ip ip_types api |
◆ dst
◆ flags
vl_api_tunnel_encap_decap_flags_t flags |
◆ gre_tunnel
Initial value:{
vl_api_gre_tunnel_type_t
type
A composite type uniquely defining a GRE tunnel.
- Template Parameters
-
type | - tunnel type (see enum definition), 0: L3, 1: TEB, 2: ERSPAN |
mode | - P2P or P2MP |
flags | - to control encap/decap behaviour |
session_id | - session for ERSPAN tunnel, range 0-1023 |
instance | - optional unique custom device instance, else ~0. |
outer_table_id | - Encap FIB table ID |
sw_if_index | - ignored on create/delete, present in details. |
src | - Source IP address |
dst | - Destination IP address, can be multicast |
Definition at line 46 of file gre.api.
◆ instance
◆ mode
vl_api_tunnel_mode_t mode |
◆ outer_table_id
◆ session_id
◆ src
◆ sw_if_index
vl_api_interface_index_t sw_if_index |
◆ version