FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
gbp.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_gbp_bridge_domain_add_t
 
struct  vl_api_gbp_bridge_domain_del_t
 
struct  vl_api_gbp_bridge_domain_dump_t
 
struct  vl_api_gbp_bridge_domain_details_t
 
struct  vl_api_gbp_route_domain_add_t
 
struct  vl_api_gbp_route_domain_del_t
 
struct  vl_api_gbp_route_domain_dump_t
 
struct  vl_api_gbp_route_domain_details_t
 
struct  vl_api_gbp_endpoint_add_t
 
struct  vl_api_gbp_endpoint_add_reply_t
 
struct  vl_api_gbp_endpoint_del_t
 
struct  vl_api_gbp_endpoint_dump_t
 
struct  vl_api_gbp_endpoint_details_t
 
struct  vl_api_gbp_endpoint_group_t
 
struct  vl_api_gbp_endpoint_group_add_t
 
struct  vl_api_gbp_endpoint_group_del_t
 
struct  vl_api_gbp_endpoint_group_dump_t
 
struct  vl_api_gbp_endpoint_group_details_t
 
struct  vl_api_gbp_recirc_t
 
struct  vl_api_gbp_recirc_add_del_t
 
struct  vl_api_gbp_recirc_dump_t
 
struct  vl_api_gbp_recirc_details_t
 
struct  vl_api_gbp_subnet_t
 
struct  vl_api_gbp_subnet_add_del_t
 
struct  vl_api_gbp_subnet_dump_t
 
struct  vl_api_gbp_subnet_details_t
 
struct  vl_api_gbp_contract_add_del_t
 
struct  vl_api_gbp_contract_add_del_reply_t
 
struct  vl_api_gbp_contract_dump_t
 
struct  vl_api_gbp_contract_details_t
 
struct  vl_api_gbp_vxlan_tunnel_add_t
 
struct  vl_api_gbp_vxlan_tunnel_add_reply_t
 
struct  vl_api_gbp_vxlan_tunnel_del_t
 
struct  vl_api_gbp_vxlan_tunnel_dump_t
 
struct  vl_api_gbp_vxlan_tunnel_details_t
 
struct  vl_api_gbp_ext_itf_t
 
struct  vl_api_gbp_ext_itf_add_del_t
 
struct  vl_api_gbp_ext_itf_dump_t
 
struct  vl_api_gbp_ext_itf_details_t
 

Enumerations

enum  gbp_bridge_domain_flags {
  GBP_BD_API_FLAG_NONE = 0, GBP_BD_API_FLAG_DO_NOT_LEARN = 1, GBP_BD_API_FLAG_UU_FWD_DROP = 2, GBP_BD_API_FLAG_MCAST_DROP = 4,
  GBP_BD_API_FLAG_UCAST_ARP = 8
}
 
enum  gbp_endpoint_flags {
  GBP_API_ENDPOINT_FLAG_NONE = 0, GBP_API_ENDPOINT_FLAG_BOUNCE = 0x1, GBP_API_ENDPOINT_FLAG_REMOTE = 0x2, GBP_API_ENDPOINT_FLAG_LEARNT = 0x4,
  GBP_API_ENDPOINT_FLAG_EXTERNAL = 0x8
}
 Endpoint. More...
 
enum  gbp_subnet_type { GBP_API_SUBNET_TRANSPORT, GBP_API_SUBNET_STITCHED_INTERNAL, GBP_API_SUBNET_STITCHED_EXTERNAL, GBP_API_SUBNET_L3_OUT }
 
enum  gbp_hash_mode { GBP_API_HASH_MODE_SRC_IP, GBP_API_HASH_MODE_DST_IP, GBP_API_HASH_MODE_SYMMETRIC }
 
enum  gbp_rule_action { GBP_API_RULE_PERMIT, GBP_API_RULE_DENY, GBP_API_RULE_REDIRECT }
 
enum  gbp_vxlan_tunnel_mode { GBP_VXLAN_TUNNEL_MODE_L2, GBP_VXLAN_TUNNEL_MODE_L3 }
 Configure a 'base' tunnel from which learned tunnels are permitted to derive A base tunnel consists only of the VNI, any src,dst IP pair is thus allowed. More...
 

Variables

option version = "2.0.0"
 
import vnet ip ip_types api
 
typedef gbp_bridge_domain
 
vl_api_gbp_bridge_domain_flags_t flags
 
u32 bvi_sw_if_index
 
u32 uu_fwd_sw_if_index
 
u32 bm_flood_sw_if_index
 
typedef gbp_route_domain
 
u32 ip4_table_id
 
u32 ip6_table_id
 
u32 ip4_uu_sw_if_index
 
u32 ip6_uu_sw_if_index
 
typedef gbp_endpoint_tun
 
vl_api_address_t dst
 
typedef gbp_endpoint
 
u16 sclass
 
vl_api_mac_address_t mac
 
vl_api_gbp_endpoint_tun_t tun
 
u8 n_ips
 
vl_api_address_t ips [n_ips]
 
typedef gbp_endpoint_retention
 
typedef gbp_next_hop
 
u32 bd_id
 
u32 rd_id
 
typedef gbp_next_hop_set
 
u8 n_nhs
 
vl_api_gbp_next_hop_t nhs [8]
 
typedef gbp_rule
 
vl_api_gbp_next_hop_set_t nh_set
 
typedef gbp_contract
 
u16 dclass
 
u32 acl_index
 
u8 n_ether_types
 
u16 allowed_ethertypes [16]
 
u8 n_rules
 
vl_api_gbp_rule_t rules [n_rules]
 
typedef gbp_vxlan_tunnel
 
vl_api_gbp_vxlan_tunnel_mode_t mode
 
u32 bd_rd_id
 
vl_api_ip4_address_t src
 

Enumeration Type Documentation

◆ gbp_bridge_domain_flags

Enumerator
GBP_BD_API_FLAG_NONE 
GBP_BD_API_FLAG_DO_NOT_LEARN 
GBP_BD_API_FLAG_UU_FWD_DROP 
GBP_BD_API_FLAG_MCAST_DROP 
GBP_BD_API_FLAG_UCAST_ARP 

Definition at line 22 of file gbp.api.

◆ gbp_endpoint_flags

Endpoint.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
Enumerator
GBP_API_ENDPOINT_FLAG_NONE 
GBP_API_ENDPOINT_FLAG_BOUNCE 
GBP_API_ENDPOINT_FLAG_REMOTE 
GBP_API_ENDPOINT_FLAG_LEARNT 
GBP_API_ENDPOINT_FLAG_EXTERNAL 

Definition at line 100 of file gbp.api.

◆ gbp_hash_mode

Enumerator
GBP_API_HASH_MODE_SRC_IP 
GBP_API_HASH_MODE_DST_IP 
GBP_API_HASH_MODE_SYMMETRIC 

Definition at line 273 of file gbp.api.

◆ gbp_rule_action

Enumerator
GBP_API_RULE_PERMIT 
GBP_API_RULE_DENY 
GBP_API_RULE_REDIRECT 

Definition at line 287 of file gbp.api.

◆ gbp_subnet_type

Enumerator
GBP_API_SUBNET_TRANSPORT 
GBP_API_SUBNET_STITCHED_INTERNAL 
GBP_API_SUBNET_STITCHED_EXTERNAL 
GBP_API_SUBNET_L3_OUT 

Definition at line 228 of file gbp.api.

◆ gbp_vxlan_tunnel_mode

Configure a 'base' tunnel from which learned tunnels are permitted to derive A base tunnel consists only of the VNI, any src,dst IP pair is thus allowed.

Enumerator
GBP_VXLAN_TUNNEL_MODE_L2 
GBP_VXLAN_TUNNEL_MODE_L3 

Definition at line 343 of file gbp.api.

Variable Documentation

◆ acl_index

u32 acl_index

Definition at line 304 of file gbp.api.

◆ allowed_ethertypes

u16 allowed_ethertypes[16]

Definition at line 306 of file gbp.api.

◆ api

import vnet ethernet ethernet_types api

Definition at line 19 of file gbp.api.

◆ bd_id

u32 bd_id

Definition at line 269 of file gbp.api.

◆ bd_rd_id

u32 bd_rd_id

Definition at line 353 of file gbp.api.

◆ bm_flood_sw_if_index

u32 bm_flood_sw_if_index

Definition at line 37 of file gbp.api.

◆ bvi_sw_if_index

u32 bvi_sw_if_index

Definition at line 35 of file gbp.api.

◆ dclass

u16 dclass

Definition at line 303 of file gbp.api.

◆ dst

vl_api_address_t dst

Definition at line 112 of file gbp.api.

◆ flags

vl_api_gbp_endpoint_flags_t flags

Definition at line 34 of file gbp.api.

◆ gbp_bridge_domain

typedef gbp_bridge_domain
Initial value:
{
unsigned int u32
Definition: types.h:88
u32 bd_id
Definition: gbp.api:269

Definition at line 32 of file gbp.api.

◆ gbp_contract

typedef gbp_contract
Initial value:
{
unsigned short u16
Definition: types.h:57
u16 sclass
Definition: gbp.api:118

Definition at line 301 of file gbp.api.

◆ gbp_endpoint

typedef gbp_endpoint
Initial value:
{
u32 sw_if_index
Definition: ipsec_gre.api:37
unsigned int u32
Definition: types.h:88

Definition at line 116 of file gbp.api.

◆ gbp_endpoint_retention

typedef gbp_endpoint_retention
Initial value:
{
u32 remote_ep_timeout
unsigned int u32
Definition: types.h:88

Definition at line 162 of file gbp.api.

◆ gbp_endpoint_tun

typedef gbp_endpoint_tun
Initial value:
{
vl_api_address_t src
vl_api_ip4_address_t src
Definition: gbp.api:354

Definition at line 110 of file gbp.api.

◆ gbp_next_hop

typedef gbp_next_hop
Initial value:
{
vl_api_address_t ip

Definition at line 266 of file gbp.api.

◆ gbp_next_hop_set

typedef gbp_next_hop_set
Initial value:
{
vl_api_gbp_hash_mode_t hash_mode

Definition at line 281 of file gbp.api.

◆ gbp_route_domain

typedef gbp_route_domain
Initial value:
{
u32 rd_id
Definition: gbp.api:270
unsigned int u32
Definition: types.h:88

Definition at line 64 of file gbp.api.

◆ gbp_rule

typedef gbp_rule
Initial value:
{
vl_api_gbp_rule_action_t action

Definition at line 295 of file gbp.api.

◆ gbp_vxlan_tunnel

typedef gbp_vxlan_tunnel
Initial value:
{
unsigned int u32
Definition: types.h:88
u32 vni
Definition: vxlan_gbp.api:42

Definition at line 350 of file gbp.api.

◆ ip4_table_id

u32 ip4_table_id

Definition at line 66 of file gbp.api.

◆ ip4_uu_sw_if_index

u32 ip4_uu_sw_if_index

Definition at line 68 of file gbp.api.

◆ ip6_table_id

u32 ip6_table_id

Definition at line 67 of file gbp.api.

◆ ip6_uu_sw_if_index

u32 ip6_uu_sw_if_index

Definition at line 69 of file gbp.api.

◆ ips

vl_api_address_t ips[n_ips]

Definition at line 123 of file gbp.api.

◆ mac

vl_api_mac_address_t mac

Definition at line 120 of file gbp.api.

◆ mode

vl_api_gbp_vxlan_tunnel_mode_t mode

Definition at line 352 of file gbp.api.

◆ n_ether_types

u8 n_ether_types

Definition at line 305 of file gbp.api.

◆ n_ips

u8 n_ips

Definition at line 122 of file gbp.api.

◆ n_nhs

u8 n_nhs

Definition at line 283 of file gbp.api.

◆ n_rules

u8 n_rules

Definition at line 307 of file gbp.api.

◆ nh_set

vl_api_gbp_next_hop_set_t nh_set

Definition at line 297 of file gbp.api.

◆ nhs

vl_api_gbp_next_hop_t nhs[8]

Definition at line 284 of file gbp.api.

◆ rd_id

u32 rd_id

Definition at line 270 of file gbp.api.

◆ rules

vl_api_gbp_rule_t rules[n_rules]

Definition at line 308 of file gbp.api.

◆ sclass

u16 sclass

Definition at line 118 of file gbp.api.

◆ src

Definition at line 354 of file gbp.api.

◆ tun

vl_api_gbp_endpoint_tun_t tun

Definition at line 121 of file gbp.api.

◆ uu_fwd_sw_if_index

u32 uu_fwd_sw_if_index

Definition at line 36 of file gbp.api.

◆ version

option version = "2.0.0"

Definition at line 17 of file gbp.api.