[ovs-discuss] How to notify the SDN controller when adding a new interface to OVS bridge?

Yuanjun Yao yaoyj11 at gmail.com
Fri Apr 7 21:34:48 UTC 2017


Thank you, Ben.
I found stplib in ryu.lib that will handle port state changes. And there is
a such handler in simple_switch_stp.py.

On Fri, Apr 7, 2017 at 4:13 PM, Ben Pfaff <blp at ovn.org> wrote:

> On Fri, Apr 07, 2017 at 04:05:06PM -0400, Yuanjun Yao wrote:
> > I want to dynamically add new interface to OVS bridge, but it seems that
> > the SDN controller knows the interfaces and mac addresses only when we
> > first set controller for the bridge. When I add a new interface to the
> > bridge, the SDN controller doesn't know the existence of the new
> interface.
> > I checked man pages for ovs-vsctl, there seems to be no such command.
> > I am using Ryu controller running rest_router application, is this
> problem
> > related with my SDN controller?
>
> OVS should be notifying connected controllers of new interfaces via
> OpenFlow "port status" notifications.  Ryu should be able to see those.
>



-- 
Yuanjun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170407/2edb5efc/attachment.html>


More information about the discuss mailing list