On Tue, Mar 14, 2017 at 1:50 PM, John Lo (loj) <l...@cisco.com> wrote:
> Hi Jon, > Hi John, > You make a valid point about the name chosen for the API param “enable”. > Rather than argue about the best name, let me describe how it works. > Sure! > The API is intended to enable or disable an interface in L2 bridging mode. > By disable, or enable=0, it will put the interface back to L3 mode which is > the default mode for an interface. If the API is called with enable=1 > while the interface is already in L2 bridging mode, the code would actually > perform a disable followed by enable of the interface’s current bridging > mode as specified. > Ah, OK. So at that time (the re-enable), and differing parameter would being to take effect. So simply re-issuing the API call with the new parameters and an "enable" will be sufficient. So there isn't a way to remove the bridge from the interface once it has been associated the first time? Or will that be accomplished by actually removing the bridge from the bridge table? Even if the bridge_domain ID is left dangling on the interface? > I take your point and will remember to update its comment in the API file, > including fix the typo for “bridge”. > Thanks! jdl
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev