FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_ip_table_replace_begin_t Struct Reference

IP table replace being. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_ip_table_t table
 

Detailed Description

IP table replace being.

The use-case is that, for some unspecified reason, the control plane has a very different set of entries it wants in the table than VPP currently has. The CP would thus like to 'replace' VPP's current table only by specifying what the new set of entries shall be, i.e. it is not going to delete anything that already exists. the CP declares the start of this procedure with this begin_replace API Call, and when it has populated all the entries it wants, it calls the below end_replace API. From this point on it is of course free to add and delete entries as usual. The underlying mechanism by which VPP implements this replace is purposefully left unspecified.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
table- The table to resync

Definition at line 88 of file ip.api.

Field Documentation

◆ client_index

u32 vl_api_ip_table_replace_begin_t::client_index

Definition at line 90 of file ip.api.

◆ context

u32 vl_api_ip_table_replace_begin_t::context

Definition at line 91 of file ip.api.

◆ table

vl_api_ip_table_t vl_api_ip_table_replace_begin_t::table

Definition at line 92 of file ip.api.


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