Ask Your Question

openstack-enthu's profile - activity

2015-06-26 03:58:51 -0600 answered a question How to configure virtual routers using dynamic protocols?

How about if we add layer-3 neutron plugin?

2015-06-15 06:37:57 -0600 answered a question how to add extra static route in neutron (Havana)

how to add multiple neutron static routes in neutron?

e.g: Am adding first neutron route as

neutron router-update demo-router --routes type=dict list=true destination=199.1.1.0/24,nexthop=20.20.20.17

Same is getting reflected under neutron table

neutron router-list -c name -c routes
+-------------+-----------------------------------------------------------------+
| name        | routes                                                          |
+-------------+-----------------------------------------------------------------+
| demo-router | [{u'nexthop': u'20.20.20.17', u'destination': u'199.1.1.0/24'}] |
+-------------+-----------------------------------------------------------------+

If i want to add another route, the previously added route gets replaced by the newly added route. Tried many times, but no luck. Can we add more than one static route under neutron?

neutron router-update demo-router --routes type=dict list=true destination=10.0.10.0/24,nexthop=20.20.20.17
Updated router: demo-router
root@pop2-controller:/home/controller# neutron router-list -c name -c routes
+-------------+-----------------------------------------------------------------+
| name        | routes                                                          |
+-------------+-----------------------------------------------------------------+
| demo-router | [{u'nexthop': u'20.20.20.17', u'destination': u'10.0.10.0/24'}] |
+-------------+-----------------------------------------------------------------+

No route seen for 199.1.1.0/24 subnet? Whats the intended behaviour here?

TIA