+1 Do you intend to block fib deletion until nothing uses it, or flush those things at deletion?
Chris. > -----Original Message----- > From: csit-dev-boun...@lists.fd.io [mailto:csit-dev-boun...@lists.fd.io] On > Behalf Of Neale Ranns (nranns) > Sent: Thursday, August 3, 2017 3:57 > To: vpp-dev@lists.fd.io; csit-...@lists.fd.io; honeycomb-...@lists.fd.io > Subject: [csit-dev] API Change Proposal: explicit FIB table create and delete > > > Dear All, > > I would like to propose the addition of a new API to explicitly create and > delete FIB tables. At present the only way to create FIB tables (for e.g. > VRFs) > is to: > 1) Bind an interface to a new table index; ‘set int ip table Eth0 <NEW > TABLE_ID> > 2) Add a route in a new table and set the create_vrf_if_needed flag > > With the addition of an explicit create we have the possibility to set > per-table > properties, like the flow-hash and (potentially) the mtrie stride (to favour > memory over performance for small VRFs). With an explicit delete VPP is > aware when it is safe to delete the table. > > An explicit API makes the management of FIB tables by the agent/client the > same as managing any other table resource, like Bridge-Domains or classify > tables. > > Regards, > neale > > _______________________________________________ > csit-dev mailing list > csit-...@lists.fd.io > https://lists.fd.io/mailman/listinfo/csit-dev _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev