** Changed in: neutron Status: New => Opinion -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1540064
Title: neutron router-update --routes should prevent user from adding existing cidr Status in neutron: Opinion Bug description: Find this when do some debug. Steps to reproduce: 1) I have a router with some subnets connected to it, for example 100.0.0.0/24 100.0.1.0/24. There will be some routes that are created by the kernel for the router interfaces. # ip r 100.0.1.0/24 dev qr-fef63af2-82 proto kernel scope link src 100.0.1.1 100.0.0.0/24 dev qr-af2ae2b0-8c proto kernel scope link src 100.0.0.1 2) I update the extra route by (just for testing) neutron router-update router1 --route destination=100.0.1.0/24,nexthop=100.0.0.3 3) The route that was for 100.0.1.0/24 will be replaced. # ip r 100.0.1.0/24 via 100.0.0.3 dev qr-af2ae2b0-8c 100.0.0.0/24 dev qr-af2ae2b0-8c proto kernel scope link src 100.0.0.1 4) I clear the extra route that I added by using neutron router-update router1 --no-routes The I get the following routes in router namespace: # ip r 100.0.0.0/24 dev qr-af2ae2b0-8c proto kernel scope link src 100.0.0.1 As a result, I lost the connection to 100.0.1.0/24. I think neutron should prevent user from adding extra routes to the existing cidrs that have been connected to router(as interface or as gateway). To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1540064/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp