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 24 of file gre.api.
◆ api
import vnet ip ip_types api |
◆ context
◆ dst
◆ gre_tunnel
Initial value:
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_fib_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 43 of file gre.api.
◆ instance
◆ outer_fib_id
◆ session_id
◆ src
◆ sw_if_index
vl_api_interface_index_t sw_if_index |
◆ type
vl_api_gre_tunnel_type_t type |
◆ version