[openstack-dev] Ryu integration with Openstack

Slawomir Kaplonski skaplons at redhat.com
Thu Sep 27 07:20:34 UTC 2018


Hi,

Code of app is in https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ovs_ryuapp.py and classes for specific bridge types are in https://github.com/openstack/neutron/tree/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native

> Wiadomość napisana przez Niket Agrawal <nickgrwl3 at gmail.com> w dniu 27.09.2018, o godz. 00:08:
> 
> Hi,
> 
> Thanks for your reply. Is there a way to access the code that is running in the app to see what is the logic implemented in the app?
> 
> Regards,
> Niket
> 
> On Wed, Sep 26, 2018 at 10:31 PM Slawomir Kaplonski <skaplons at redhat.com> wrote:
> Hi,
> 
> > Wiadomość napisana przez Niket Agrawal <nickgrwl3 at gmail.com> w dniu 26.09.2018, o godz. 18:11:
> > 
> > Hello,
> > 
> > I have a question regarding the Ryu integration in Openstack. By default, the openvswitch bridges (br-int, br-tun and br-ex) are registered to a controller running on 127.0.0.1 and port 6633. The output of ovs-vsctl get-manager is ptcp:127.0.0.1:6640. This is noticed on the nova compute node. However there is a different instance of the same Ryu controller running on the neutron gateway as well and the three openvswitch bridges (br-int, br-tun and br-ex) are registered to this instance of Ryu controller. If I stop neutron-openvswitch agent on the nova compute node, the bridges there are no longer connected to the controller, but the bridges in the neutron gateway continue to remain connected to the controller. Only when I stop the neutron openvswitch agent in the neutron gateway as well, the bridges there get disconnected. 
> > 
> > I'm unable to find where in the Openstack code I can access this implementation, because I intend to make a few tweaks to this architecture which is present currently. Also, I'd like to know which app is the Ryu SDN controller running by default at the moment. I feel the information in the code can help me find it too.
> 
> Ryu app is started by neutron-openvswitch-agent in: https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/main.py#L34
> Is it what You are looking for?
> 
> > 
> > Regards,
> > Niket
> > __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
>> Slawek Kaplonski
> Senior software engineer
> Red Hat
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

— 
Slawek Kaplonski
Senior software engineer
Red Hat




More information about the OpenStack-dev mailing list