Hi Matej,

Then you should remove the address from the interface – that in turn will 
remove the route from the FIB – and is in the only way that that route can be 
removed from the FIB.

Regards,
neale

On 02/01/2017, 15:29, "Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at 
Cisco)" <[email protected]> wrote:

    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 interface, should look like:
      sw_interface_set_flags(admin_up_down=0)
      then should I remove address from interface or  remove route from fib?
    
    Thanks, 
      Matej
    
    

_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to