Go to the source code of this file.
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.
| import vnet ip ip_types api |
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.
| vl_api_interface_index_t sw_if_index |
| vl_api_gre_tunnel_type_t type |