FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
vrrp.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_vrrp_vr_add_del_t
 VRRP: Add or delete a VRRP virtual router. More...
 
struct  vl_api_vrrp_vr_dump_t
 VRRP: dump virtual router data. More...
 
struct  vl_api_vrrp_vr_details_t
 VRRP: VR dump response. More...
 
struct  vl_api_vrrp_vr_start_stop_t
 VRRP: start or shutdown the VRRP protocol for a virtual router. More...
 
struct  vl_api_vrrp_vr_set_peers_t
 VRRP: set unicast peers for a VR. More...
 
struct  vl_api_vrrp_vr_peer_dump_t
 VRRP: dump virtual router peer address data. More...
 
struct  vl_api_vrrp_vr_peer_details_t
 VRRP: VR peer dump response. More...
 
struct  vl_api_vrrp_vr_track_if_add_del_t
 VRRP: Add/delete VR priority tracking of interface status. More...
 
struct  vl_api_vrrp_vr_track_if_dump_t
 VRRP: dump virtual router interface tracking data. More...
 
struct  vl_api_vrrp_vr_track_if_details_t
 VRRP: VR interface tracking dump response. More...
 

Enumerations

enum  vrrp_vr_flags {
  VRRP_API_VR_PREEMPT = 0x1, VRRP_API_VR_ACCEPT = 0x2, VRRP_API_VR_UNICAST = 0x4, VRRP_API_VR_IPV6 = 0x8,
  VRRP_VR_PREEMPT = 0x1, VRRP_VR_ACCEPT = 0x2, VRRP_VR_UNICAST = 0x4, VRRP_VR_IPV6 = 0x8
}
 
enum  vrrp_vr_state {
  VRRP_API_VR_STATE_INIT = 0, VRRP_API_VR_STATE_BACKUP, VRRP_API_VR_STATE_MASTER, VRRP_API_VR_STATE_INTF_DOWN,
  foreach_vrrp_vr_state
}
 

Variables

option version = "1.0.1"
 
import vnet interface_types api
 
typedef vrrp_vr_key
 
u8 vr_id
 
u8 is_ipv6
 
typedef vrrp_vr_conf
 
u8 priority
 
u16 interval
 
vl_api_vrrp_vr_flags_t flags
 
typedef vrrp_vr_tracking
 
typedef vrrp_vr_runtime
 
u16 master_adv_int
 
u16 skew
 
u16 master_down_int
 
vl_api_mac_address_t mac
 
vl_api_vrrp_vr_tracking_t tracking
 
typedef vrrp_vr_track_if
 VR interface tracking. More...
 

Enumeration Type Documentation

◆ vrrp_vr_flags

Enumerator
VRRP_API_VR_PREEMPT 
VRRP_API_VR_ACCEPT 
VRRP_API_VR_UNICAST 
VRRP_API_VR_IPV6 
VRRP_VR_PREEMPT 
VRRP_VR_ACCEPT 
VRRP_VR_UNICAST 
VRRP_VR_IPV6 

Definition at line 21 of file vrrp.api.

◆ vrrp_vr_state

Enumerator
VRRP_API_VR_STATE_INIT 
VRRP_API_VR_STATE_BACKUP 
VRRP_API_VR_STATE_MASTER 
VRRP_API_VR_STATE_INTF_DOWN 
foreach_vrrp_vr_state 

Definition at line 74 of file vrrp.api.

Variable Documentation

◆ api

import vnet ethernet ethernet_types api

Definition at line 10 of file vrrp.api.

◆ flags

vl_api_vrrp_vr_flags_t flags

Definition at line 35 of file vrrp.api.

◆ interval

u16 interval

Definition at line 34 of file vrrp.api.

◆ is_ipv6

u8 is_ipv6

Definition at line 18 of file vrrp.api.

◆ mac

vl_api_mac_address_t mac

Definition at line 94 of file vrrp.api.

◆ master_adv_int

u16 master_adv_int

Definition at line 91 of file vrrp.api.

◆ master_down_int

u16 master_down_int

Definition at line 93 of file vrrp.api.

◆ priority

u8 priority

Definition at line 33 of file vrrp.api.

◆ skew

u16 skew

Definition at line 92 of file vrrp.api.

◆ tracking

vl_api_vrrp_vr_tracking_t tracking

Definition at line 95 of file vrrp.api.

◆ version

option version = "1.0.1"

Definition at line 8 of file vrrp.api.

◆ vr_id

u8 vr_id

Definition at line 17 of file vrrp.api.

◆ vrrp_vr_conf

typedef vrrp_vr_conf
Initial value:
{
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:33

Definition at line 30 of file vrrp.api.

◆ vrrp_vr_key

typedef vrrp_vr_key
Initial value:
{
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:33

Definition at line 15 of file vrrp.api.

◆ vrrp_vr_runtime

typedef vrrp_vr_runtime
Initial value:
{
vl_api_vrrp_vr_state_t state
vl_api_dhcp_client_state_t state
Definition: dhcp.api:201

Definition at line 89 of file vrrp.api.

◆ vrrp_vr_track_if

typedef vrrp_vr_track_if
Initial value:
{
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:33

VR interface tracking.

Template Parameters
sw_if_index- the interface index to track (not the VR sw_if_index)
priority- the adjustment to VR priority if intf is down

Definition at line 185 of file vrrp.api.

◆ vrrp_vr_tracking

Initial value:
{
u32 interfaces_dec
unsigned int u32
Definition: types.h:88

Definition at line 83 of file vrrp.api.