FD.io VPP  v19.01.3-6-g70449b9b9
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_dump_t
 
struct  vl_api_gbp_contract_details_t
 
struct  vl_api_gbp_endpoint_learn_set_inactive_threshold_t
 Set the time throeshold after which an endpoint is considered inative and is aged/reaped by the scanner. More...
 
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 }
 
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_REMOTE_LEARNT = 0x6, 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
 
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 epg_id
 
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_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 dst_epg
 
u32 acl_index
 
u8 n_rules
 
vl_api_gbp_rule_t rules [n_rules]
 
u8 n_ether_types
 
u16 allowed_ethertypes [n_ether_types]
 
typedef gbp_vxlan_tunnel
 
vl_api_gbp_vxlan_tunnel_mode_t mode
 
u32 bd_rd_id
 

Enumeration Type Documentation

◆ gbp_bridge_domain_flags

Enumerator
GBP_BD_API_FLAG_NONE 
GBP_BD_API_FLAG_DO_NOT_LEARN 

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_REMOTE_LEARNT 
GBP_API_ENDPOINT_FLAG_EXTERNAL 

Definition at line 96 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 264 of file gbp.api.

◆ gbp_rule_action

Enumerator
GBP_API_RULE_PERMIT 
GBP_API_RULE_DENY 
GBP_API_RULE_REDIRECT 

Definition at line 278 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 219 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 340 of file gbp.api.

Variable Documentation

◆ acl_index

u32 acl_index

Definition at line 295 of file gbp.api.

◆ allowed_ethertypes

u16 allowed_ethertypes[n_ether_types]

Definition at line 299 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 260 of file gbp.api.

◆ bd_rd_id

u32 bd_rd_id

Definition at line 350 of file gbp.api.

◆ bvi_sw_if_index

u32 bvi_sw_if_index

Definition at line 32 of file gbp.api.

◆ dst

vl_api_address_t dst

Definition at line 110 of file gbp.api.

◆ dst_epg

u16 dst_epg

Definition at line 294 of file gbp.api.

◆ epg_id

u16 epg_id

Definition at line 116 of file gbp.api.

◆ flags

vl_api_gbp_endpoint_flags_t flags

Definition at line 31 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:260

Definition at line 29 of file gbp.api.

◆ gbp_contract

typedef gbp_contract
Initial value:
{
u16 src_epg
unsigned short u16
Definition: types.h:57

Definition at line 292 of file gbp.api.

◆ gbp_endpoint

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

Definition at line 114 of file gbp.api.

◆ gbp_endpoint_tun

typedef gbp_endpoint_tun
Initial value:
{
vl_api_address_t src
vl_api_address_t src
Definition: vxlan_gbp.api:32

Definition at line 108 of file gbp.api.

◆ gbp_next_hop

typedef gbp_next_hop
Initial value:
{
vl_api_address_t ip

Definition at line 257 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 272 of file gbp.api.

◆ gbp_route_domain

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

Definition at line 60 of file gbp.api.

◆ gbp_rule

typedef gbp_rule
Initial value:
{
vl_api_gbp_rule_action_t action

Definition at line 286 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:36

Definition at line 347 of file gbp.api.

◆ ip4_table_id

u32 ip4_table_id

Definition at line 62 of file gbp.api.

◆ ip4_uu_sw_if_index

u32 ip4_uu_sw_if_index

Definition at line 64 of file gbp.api.

◆ ip6_table_id

u32 ip6_table_id

Definition at line 63 of file gbp.api.

◆ ip6_uu_sw_if_index

u32 ip6_uu_sw_if_index

Definition at line 65 of file gbp.api.

◆ ips

vl_api_address_t ips[n_ips]

Definition at line 121 of file gbp.api.

◆ mac

vl_api_mac_address_t mac

Definition at line 118 of file gbp.api.

◆ mode

vl_api_gbp_vxlan_tunnel_mode_t mode

Definition at line 349 of file gbp.api.

◆ n_ether_types

u8 n_ether_types

Definition at line 298 of file gbp.api.

◆ n_ips

u8 n_ips

Definition at line 120 of file gbp.api.

◆ n_nhs

u8 n_nhs

Definition at line 274 of file gbp.api.

◆ n_rules

u8 n_rules

Definition at line 296 of file gbp.api.

◆ nh_set

vl_api_gbp_next_hop_set_t nh_set

Definition at line 288 of file gbp.api.

◆ nhs

vl_api_gbp_next_hop_t nhs[8]

Definition at line 275 of file gbp.api.

◆ rd_id

u32 rd_id

Definition at line 261 of file gbp.api.

◆ rules

vl_api_gbp_rule_t rules[n_rules]

Definition at line 297 of file gbp.api.

◆ tun

vl_api_gbp_endpoint_tun_t tun

Definition at line 119 of file gbp.api.

◆ uu_fwd_sw_if_index

u32 uu_fwd_sw_if_index

Definition at line 33 of file gbp.api.

◆ version

option version = "2.0.0"

Definition at line 17 of file gbp.api.