Public bug reported:

When adding an interface to a router with a port, Neutron will check,
and if that port has more than one fixed ips, Neutron will reject that
request. However, we can still update a router port to have more than
one fixed ips.

openstack@Openstack-Vega:~$ neutron router-port-list router1
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
| id                                   | name     | mac_address       | 
fixed_ips                                                                       
|
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
| 358c58b8-9b74-4425-b38f-e17a47742488 | testport | fa:16:3e:cb:75:39 | 
{"subnet_id": "ffd2d8ad-7a27-4e59-b78b-508af54d3cb4", "ip_address": "10.0.0.6"} 
|
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+

openstack@Openstack-Vega:~$ neutron port-update testport --fixed-ips type=dict 
list=true ip_address=10.0.0.6 ip_address=10.0.0.7
Updated port: testport

openstack@Openstack-Vega:~$ neutron router-port-list router1
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
| id                                   | name     | mac_address       | 
fixed_ips                                                                       
|
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
| 358c58b8-9b74-4425-b38f-e17a47742488 | testport | fa:16:3e:cb:75:39 | 
{"subnet_id": "ffd2d8ad-7a27-4e59-b78b-508af54d3cb4", "ip_address": "10.0.0.6"} 
|
|                                      |          |                   | 
{"subnet_id": "ffd2d8ad-7a27-4e59-b78b-508af54d3cb4", "ip_address": "10.0.0.7"} 
|
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: Zhiyuan Cai (luckyvega-g)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Zhiyuan Cai (luckyvega-g)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1410688

Title:
  Router interface should not be updated to have more ips

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When adding an interface to a router with a port, Neutron will check,
  and if that port has more than one fixed ips, Neutron will reject that
  request. However, we can still update a router port to have more than
  one fixed ips.

  openstack@Openstack-Vega:~$ neutron router-port-list router1
  
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
  | id                                   | name     | mac_address       | 
fixed_ips                                                                       
|
  
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
  | 358c58b8-9b74-4425-b38f-e17a47742488 | testport | fa:16:3e:cb:75:39 | 
{"subnet_id": "ffd2d8ad-7a27-4e59-b78b-508af54d3cb4", "ip_address": "10.0.0.6"} 
|
  
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+

  openstack@Openstack-Vega:~$ neutron port-update testport --fixed-ips 
type=dict list=true ip_address=10.0.0.6 ip_address=10.0.0.7
  Updated port: testport

  openstack@Openstack-Vega:~$ neutron router-port-list router1
  
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
  | id                                   | name     | mac_address       | 
fixed_ips                                                                       
|
  
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+
  | 358c58b8-9b74-4425-b38f-e17a47742488 | testport | fa:16:3e:cb:75:39 | 
{"subnet_id": "ffd2d8ad-7a27-4e59-b78b-508af54d3cb4", "ip_address": "10.0.0.6"} 
|
  |                                      |          |                   | 
{"subnet_id": "ffd2d8ad-7a27-4e59-b78b-508af54d3cb4", "ip_address": "10.0.0.7"} 
|
  
+--------------------------------------+----------+-------------------+---------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1410688/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to