[neutron-dev] Enabling the Neutron router APIs for Opendaylight


Ryan Moats <rmoats@...>
 

The Neutron NB was handling those back in Hydrogen, so if they aren't working now, we'll need to fix them...

Ryan

neutron-dev-bounces@... wrote on 04/15/2015 09:23:49 PM:

> From: Kyle Mestery <mestery@...>

>
> This [1] should add the calls. Note I'm unsure if they will be
> handled on the Neutron NB side, Ryan can answer that.

> Thanks,
> Kyle
>
> [1] https://review.openstack.org/#/c/174184/

>
> On Wed, Apr 15, 2015 at 2:06 PM, alagalah <alagalah@...> wrote:

> FWIW we see:
>
> RouterCreated messages

> PortCreated/Updated messages (for the interface)
>
> We DO NOT get RouterInterfaceCreated messages. 

>
> From: alagalah <alagalah@...>
>
> Mohnish,

>
> I owe you your weight in beer!

>
> Hope you are at the hackfest! This works!

>
> From: <Mohnish_Anumala@...>
>
> Ed and myself spent sometime debugging lack of invocation of neutron
> router API.

> Here is the mechanism to enable it:
>  
> 1. Get the base local.conf from here - thanks to Flavio:
>     https://github.com/flavio-fernandes/devstack-nodes/blob/master/
> puppet/templates/control.local.conf.erb#L86

>  
> 2. Add the following to your local.conf:
> [[post-config|/etc/neutron/neutron.conf]]
> [DEFAULT]
> service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin

>
> We have also modified the 'odl-router' to 'router' in the
> networking-odl/setup.cfg. But this might not be required.

>
> Regards,
> --Mohnish


alagalah <alagalah@...>
 

Awesome! Many thanks!

From: Kyle Mestery <mestery@...>
Date: Wednesday, April 15, 2015 at 7:23 PM
To: alagalah <alagalah@...>
Cc: "Mohnish_Anumala@..." <Mohnish_Anumala@...>, "neutron-dev@..." <neutron-dev@...>, "ovsdb-dev@..." <ovsdb-dev@...>, "groupbasedpolicy-dev@..." <groupbasedpolicy-dev@...>
Subject: Re: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

This [1] should add the calls. Note I'm unsure if they will be handled on the Neutron NB side, Ryan can answer that.

Thanks,
Kyle

[1] https://review.openstack.org/#/c/174184/

On Wed, Apr 15, 2015 at 2:06 PM, alagalah <alagalah@...> wrote:
FWIW we see:

RouterCreated messages
PortCreated/Updated messages (for the interface)

We DO NOT get RouterInterfaceCreated messages. 

From: alagalah <alagalah@...>
Date: Wednesday, April 15, 2015 at 8:40 AM
To: <Mohnish_Anumala@...>, <neutron-dev@...>, <ovsdb-dev@...>, "groupbasedpolicy-dev@..." <groupbasedpolicy-dev@...>
Subject: Re: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Mohnish,

I owe you your weight in beer!

Hope you are at the hackfest! This works!



From: <Mohnish_Anumala@...>
Date: Tuesday, April 14, 2015 at 7:41 PM
To: <neutron-dev@...>, <ovsdb-dev@...>
Subject: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Ed and myself spent sometime debugging lack of invocation of neutron router API.
Here is the mechanism to enable it:
 
1. Get the base local.conf from here - thanks to Flavio:
 
2. Add the following to your local.conf:
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin
We have also modified the 'odl-router' to 'router' in the networking-odl/setup.cfg. But this might not be required.
 
Regards,
--Mohnish
_______________________________________________ neutron-dev mailing list neutron-dev@...https://lists.opendaylight.org/mailman/listinfo/neutron-dev

_______________________________________________
neutron-dev mailing list
neutron-dev@...
https://lists.opendaylight.org/mailman/listinfo/neutron-dev



Edward Warnicke <hagbard@...>
 

Kyle,

Many thanks :)

As long as the messages are coming in, we'll fix any bugs on the receiving end.  The code is there to catch them, lets see if it works :)

Ed

On Wed, Apr 15, 2015 at 7:23 PM, Kyle Mestery <mestery@...> wrote:
This [1] should add the calls. Note I'm unsure if they will be handled on the Neutron NB side, Ryan can answer that.

Thanks,
Kyle

[1] https://review.openstack.org/#/c/174184/

On Wed, Apr 15, 2015 at 2:06 PM, alagalah <alagalah@...> wrote:
FWIW we see:

RouterCreated messages
PortCreated/Updated messages (for the interface)

We DO NOT get RouterInterfaceCreated messages. 

From: alagalah <alagalah@...>
Date: Wednesday, April 15, 2015 at 8:40 AM
To: <Mohnish_Anumala@...>, <neutron-dev@...>, <ovsdb-dev@...>, "groupbasedpolicy-dev@..." <groupbasedpolicy-dev@...>
Subject: Re: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Mohnish,

I owe you your weight in beer!

Hope you are at the hackfest! This works!



From: <Mohnish_Anumala@...>
Date: Tuesday, April 14, 2015 at 7:41 PM
To: <neutron-dev@...>, <ovsdb-dev@...>
Subject: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Ed and myself spent sometime debugging lack of invocation of neutron router API.
Here is the mechanism to enable it:
 
1. Get the base local.conf from here - thanks to Flavio:
 
2. Add the following to your local.conf:
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin
We have also modified the 'odl-router' to 'router' in the networking-odl/setup.cfg. But this might not be required.
 
Regards,
--Mohnish
_______________________________________________ neutron-dev mailing list neutron-dev@...https://lists.opendaylight.org/mailman/listinfo/neutron-dev

_______________________________________________
neutron-dev mailing list
neutron-dev@...
https://lists.opendaylight.org/mailman/listinfo/neutron-dev



_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



Edward Warnicke <hagbard@...>
 

After digging in a bit, this *looks* like it may be because our L3 Openstack plugin (on the Openstack side) neglected to implement the router_interface CRUD... 

Ed

On Wed, Apr 15, 2015 at 12:06 PM, alagalah <alagalah@...> wrote:
FWIW we see:

RouterCreated messages
PortCreated/Updated messages (for the interface)

We DO NOT get RouterInterfaceCreated messages. 

From: alagalah <alagalah@...>
Date: Wednesday, April 15, 2015 at 8:40 AM
To: <Mohnish_Anumala@...>, <neutron-dev@...>, <ovsdb-dev@...>, "groupbasedpolicy-dev@..." <groupbasedpolicy-dev@...>
Subject: Re: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Mohnish,

I owe you your weight in beer!

Hope you are at the hackfest! This works!



From: <Mohnish_Anumala@...>
Date: Tuesday, April 14, 2015 at 7:41 PM
To: <neutron-dev@...>, <ovsdb-dev@...>
Subject: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Ed and myself spent sometime debugging lack of invocation of neutron router API.
Here is the mechanism to enable it:
 
1. Get the base local.conf from here - thanks to Flavio:
 
2. Add the following to your local.conf:
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin
We have also modified the 'odl-router' to 'router' in the networking-odl/setup.cfg. But this might not be required.
 
Regards,
--Mohnish
_______________________________________________ neutron-dev mailing list neutron-dev@...https://lists.opendaylight.org/mailman/listinfo/neutron-dev

_______________________________________________
neutron-dev mailing list
neutron-dev@...
https://lists.opendaylight.org/mailman/listinfo/neutron-dev



Kyle Mestery <mestery@...>
 

This [1] should add the calls. Note I'm unsure if they will be handled on the Neutron NB side, Ryan can answer that.

Thanks,
Kyle

[1] https://review.openstack.org/#/c/174184/

On Wed, Apr 15, 2015 at 2:06 PM, alagalah <alagalah@...> wrote:
FWIW we see:

RouterCreated messages
PortCreated/Updated messages (for the interface)

We DO NOT get RouterInterfaceCreated messages. 

From: alagalah <alagalah@...>
Date: Wednesday, April 15, 2015 at 8:40 AM
To: <Mohnish_Anumala@...>, <neutron-dev@...>, <ovsdb-dev@...>, "groupbasedpolicy-dev@..." <groupbasedpolicy-dev@...>
Subject: Re: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Mohnish,

I owe you your weight in beer!

Hope you are at the hackfest! This works!



From: <Mohnish_Anumala@...>
Date: Tuesday, April 14, 2015 at 7:41 PM
To: <neutron-dev@...>, <ovsdb-dev@...>
Subject: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Ed and myself spent sometime debugging lack of invocation of neutron router API.
Here is the mechanism to enable it:
 
1. Get the base local.conf from here - thanks to Flavio:
 
2. Add the following to your local.conf:
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin
We have also modified the 'odl-router' to 'router' in the networking-odl/setup.cfg. But this might not be required.
 
Regards,
--Mohnish
_______________________________________________ neutron-dev mailing list neutron-dev@...https://lists.opendaylight.org/mailman/listinfo/neutron-dev

_______________________________________________
neutron-dev mailing list
neutron-dev@...
https://lists.opendaylight.org/mailman/listinfo/neutron-dev



alagalah <alagalah@...>
 

FWIW we see:

RouterCreated messages
PortCreated/Updated messages (for the interface)

We DO NOT get RouterInterfaceCreated messages. 

From: alagalah <alagalah@...>
Date: Wednesday, April 15, 2015 at 8:40 AM
To: <Mohnish_Anumala@...>, <neutron-dev@...>, <ovsdb-dev@...>, "groupbasedpolicy-dev@..." <groupbasedpolicy-dev@...>
Subject: Re: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Mohnish,

I owe you your weight in beer!

Hope you are at the hackfest! This works!



From: <Mohnish_Anumala@...>
Date: Tuesday, April 14, 2015 at 7:41 PM
To: <neutron-dev@...>, <ovsdb-dev@...>
Subject: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Ed and myself spent sometime debugging lack of invocation of neutron router API.
Here is the mechanism to enable it:
 
1. Get the base local.conf from here - thanks to Flavio:
 
2. Add the following to your local.conf:
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin
We have also modified the 'odl-router' to 'router' in the networking-odl/setup.cfg. But this might not be required.
 
Regards,
--Mohnish
_______________________________________________ neutron-dev mailing list neutron-dev@...https://lists.opendaylight.org/mailman/listinfo/neutron-dev


alagalah <alagalah@...>
 

Mohnish,

I owe you your weight in beer!

Hope you are at the hackfest! This works!



From: <Mohnish_Anumala@...>
Date: Tuesday, April 14, 2015 at 7:41 PM
To: <neutron-dev@...>, <ovsdb-dev@...>
Subject: [neutron-dev] Enabling the Neutron router APIs for Opendaylight

Ed and myself spent sometime debugging lack of invocation of neutron router API.
Here is the mechanism to enable it:
 
1. Get the base local.conf from here - thanks to Flavio:
 
2. Add the following to your local.conf:
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin,neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin
We have also modified the 'odl-router' to 'router' in the networking-odl/setup.cfg. But this might not be required.
 
Regards,
--Mohnish
_______________________________________________ neutron-dev mailing list neutron-dev@... https://lists.opendaylight.org/mailman/listinfo/neutron-dev