Ask Your Question
0

set network adapter in HEAT template

asked 2015-08-09 17:11:49 -0600

Sihan gravatar image

updated 2015-08-10 02:42:38 -0600

SGPJ gravatar image

When i create 'OS::Nova::Server', is there way to set network adapter in the resource? Like(E1000, PCNet32, VmxNet, VmxNet2, VmxNet3 )

Thanks

Sihan

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-08-17 18:54:02 -0600

asalkeld gravatar image

We can only support what nova client exposes to us. See: https://github.com/openstack/python-n...

edit flag offensive delete link more
0

answered 2015-10-06 08:20:31 -0600

don gravatar image

updated 2015-10-06 10:40:11 -0600

cloud-init has a means of setting network_adapter. Since heat doesn't expose this as an explicit, you would fill it in manually in metadata i think.

metadata:
  #cloud-config
    network_adapter: "eth0"

maybe? i did not test this.

edit flag offensive delete link more
0

answered 2015-08-10 12:55:12 -0600

jdexter gravatar image

According to the developer notes for heat resources. http://docs.openstack.org/developer/h...

the network adapter driver cannot be set.

edit flag offensive delete link more

Comments

I didn't find it from there either. That is why I ask this question

Sihan gravatar imageSihan ( 2015-08-10 13:30:23 -0600 )edit

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

1 follower

Stats

Asked: 2015-08-09 17:11:49 -0600

Seen: 246 times

Last updated: Oct 06 '15