The FIB is a shared resource and each user of that shared resource needs to be managed so they don’t interfere with one another. Different users are termed ‘sources’. FIB treats the API and CLI as separate ‘sources’ of routes. One source cannot delete the state (routes nor paths) added by another. So for example a route added by BGP through the API cannot be removed by plugin X.
I would also suggest you talk briefly with the sweetcomb team to ask them whether simultaneous programming via sweetcomb and CLI is supported. /neale De : <vpp-dev@lists.fd.io> au nom de "dengxun...@163.com" <dengxun...@163.com> Date : vendredi 9 août 2019 à 14:32 À : "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Objet : Re: [vpp-dev] a question about route del,thanks yes, my question is can i use cli delete routes that create via c api? i add these routes though sweetcomb, another project of fd.io, actually is though c api. in my mind, cli, c api operate the same object, why can't i delete routes that create via api, by using vpp cli ?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13698): https://lists.fd.io/g/vpp-dev/message/13698 Mute This Topic: https://lists.fd.io/mt/32808502/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-