FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
vl_api_one_add_del_remote_mapping_t Struct Reference

add or delete remote static mapping More...

+ Collaboration diagram for vl_api_one_add_del_remote_mapping_t:

Data Fields

u32 client_index
 
u32 context
 
u8 is_add
 
u8 is_src_dst
 
u8 del_all
 
u32 vni
 
u8 action
 
u8 eid_type
 
u8 eid [16]
 
u8 eid_len
 
u8 seid [16]
 
u8 seid_len
 
u32 rloc_num
 
vl_api_one_remote_locator_t rlocs [rloc_num]
 

Detailed Description

add or delete remote static mapping

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- add address if non-zero, else delete
is_src_dst- flag indicating src/dst based routing policy
del_all- if set, delete all remote mappings
vni- virtual network instance
action- negative map-reply action
eid_type- 0 : ipv4 1 : ipv6 2 : mac 3 : NSH : both information (service path ID and service index) are encoded in 'eid' field in a following way:

|4 B |1 B |

|SPI | SI |

Template Parameters
deid- dst EID
seid- src EID, valid only if is_src_dst is enabled
rloc_num- number of remote locators
rlocs- remote locator records

Definition at line 389 of file one.api.

Field Documentation

u8 vl_api_one_add_del_remote_mapping_t::action

Definition at line 397 of file one.api.

u32 vl_api_one_add_del_remote_mapping_t::client_index

Definition at line 391 of file one.api.

u32 vl_api_one_add_del_remote_mapping_t::context

Definition at line 392 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::del_all

Definition at line 395 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::eid[16]

Definition at line 399 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::eid_len

Definition at line 400 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::eid_type

Definition at line 398 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::is_add

Definition at line 393 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::is_src_dst

Definition at line 394 of file one.api.

u32 vl_api_one_add_del_remote_mapping_t::rloc_num

Definition at line 403 of file one.api.

vl_api_one_remote_locator_t vl_api_one_add_del_remote_mapping_t::rlocs[rloc_num]

Definition at line 404 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::seid[16]

Definition at line 401 of file one.api.

u8 vl_api_one_add_del_remote_mapping_t::seid_len

Definition at line 402 of file one.api.

u32 vl_api_one_add_del_remote_mapping_t::vni

Definition at line 396 of file one.api.


The documentation for this struct was generated from the following file: