Ask Your Question
1

How to create multiple nics in openstack juno

asked 2015-04-14 11:17:08 -0500

chandrasekar gravatar image

How to create multiple nics in a same subnet for a same instance in openstack juno.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-14 14:24:14 -0500

sgordon gravatar image

updated 2015-04-14 14:24:50 -0500

To enable this functionality in Juno [1][2] you must set the Nova option allow_duplicate_networks=True and restart the Nova services. Once this is done adding a NIC on the same subnet is no different in Juno to adding multiple NICs on separate subnets:

# nova boot --image=<IMAGE> --flavor=<FLAVOR> --nic net-id=<NET-ID-1> --nic net-id=<NET-ID-2> <NAME>

Previously if NET-ID-1 and NET-ID-2 were the same this would result in a DuplicateNetworks exception, this is no longer the case in Juno if allow_duplicate_networks is True. This option will be deprecated in Kilo, and removed in Liberty with the default behaviour becoming allowing multiple NICs from the same subnet to be attached to the same instance [3].

References:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-04-14 11:17:08 -0500

Seen: 457 times

Last updated: Apr 14 '15