Support multiple interfaces from one VM attached to the same network

Registered by Ian Wells

Allow one VM to have multiple interfaces attached to the same network, currently prohibited within Nova at 'nova boot'.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
Ian Wells
Direction:
Approved
Assignee:
Racha Ben Ali
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

https://review.openstack.org/97716/

Gerrit topic: https://review.openstack.org/#q,topic:bp/multiple-if-1-net,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bug/1187244,n,z

Outstanding patches:
=================

https://review.openstack.org/98488

is this now all up for review? --johnthetubaguy 5th August 2014

No updates, all proposed code appears to have merged now, calling this implemented --johnthetubaguy 22nd August 2014

Where are the tempest tests as promised for this in the spec? I'm pretty sure that this fails if you're allowing multiple ports on the same network and you try to add a fixed_ip to an instance, the neutronv2 API code will only add the fixed_ips from the first subnet on the network to the first port attached to the instance, no other ports will be updated (or subnets for the first port):

https://github.com/openstack/nova/blob/2015.1.0b2/nova/network/neutronv2/api.py#L745

I reported a bug here: https://bugs.launchpad.net/nova/+bug/1430512

-- mriedem 2015/03/10

Bug looks fine, added comments there on problem and options.

Tempest tests were never promised in the spec, just recommended: to quote, "Independently of this spec, tests should be added to Tempest". You are making a strong case for them...

-- ijw-ubuntu 2015-03-10

Will add the recommended tempest tests.

-- racha-ben-ali 2015-03-11

Gerrit topic: https://review.openstack.org/#q,topic:deprecate-allow-duplicate-nets,n,z

Addressed by: https://review.openstack.org/163581
    neutron: deprecate 'allow_duplicate_networks' config option

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.