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
did you fix the problem? I am also being perplexed by this problem.