[openstack-dev] [OpenStack-dev][neutron] add connect rout to router fail after deleteing

Yangxurong yangxurong at huawei.com
Wed Jul 9 06:56:26 UTC 2014


Hi, neutron stackers,

My use case is as follows:
1. create a router
2. create a network with subnet 4.6.72.0/23
3. attach the above subnet to the router
4. update the router with route {destination: 4.6.72.0/23, nexthop: 4.6.72.10}, success
5. remove the above route from the router, success
6. update the router with the same route again, operation success, but the route isn't added to the router namespace, so not take effect

This problem is caused by removing the connected route, so when adding the route the second time, "ip route replace" command fail.

I think we need to restrict the modification of connected route.
I have reported a bug: https://bugs.launchpad.net/neutron/+bug/1339028
Any thoughts?

Cheers,
XuRong Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140709/81fb3dec/attachment.html>


More information about the OpenStack-dev mailing list