Re: [vpp-dev] [csit-dev] API Change Proposal: explicit FIB table create and delete

2017-08-07 Thread Neale Ranns (nranns)
Hi All,

In the absence of any objections I have done:
  https://gerrit.fd.io/r/#/c/7819/

I’ll have a crack at the necessary CSIT changes. Is this:
  https://wiki.fd.io/view/CSIT/Tutorials/Vagrant/Virtualbox/Ubuntu
still the recommended way to test CSIT code changes?

Thanks,
neale


From: Dave Wallace 
Date: Thursday, 3 August 2017 at 22:19
To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" 
, "csit-...@lists.fd.io" , 
"honeycomb-...@lists.fd.io" 
Subject: Re: [csit-dev] API Change Proposal: explicit FIB table create and 
delete

+1

Dave
On 8/3/17 3:56 AM, Neale Ranns (nranns) wrote:

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 

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

Re: [vpp-dev] [csit-dev] API Change Proposal: explicit FIB table create and delete

2017-08-03 Thread Dave Wallace

+1

Dave

On 8/3/17 3:56 AM, Neale Ranns (nranns) wrote:

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

Re: [vpp-dev] [csit-dev] API Change Proposal: explicit FIB table create and delete

2017-08-03 Thread Florin Coras
+1

Florin

> On Aug 3, 2017, at 12:56 AM, Neale Ranns (nranns)  wrote:
> 
> 
> 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  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