Re: [vpp-dev] admin_up_down flag for loopback interface

2017-01-02 Thread yug...@telincn.com
I think you do not need to do this, because the control plane will do such route stuff, but the premise is that you have listened to the change of the control plane. yug...@telincn.com From: Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-01-02 23:29 To: Neale Ranns

[vpp-dev] API Doc Question sw_interface_add_del_address

2017-01-02 Thread Jon Loeliger
Folks, Over in src/vnet/interface.api, round-about lines 162-182, we find this excerpt: /** \brief Set or delete one or all ip addresses on a specified interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request

Re: [vpp-dev] admin_up_down flag for loopback interface

2017-01-02 Thread Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
Hi Neale, > Yes. > The golden rule of FIB programming – do as you’re told and no more. The > route will stay in the FIB until the control plane chooses to remove them – > and this is the same control plane that has chosen to admin down the > interface. So the correct API calls, for disabling