Ask Your Question
0

I need reference heat template to create multiple server with multiple number of network,subnet and port.

asked 2019-05-14 05:46:25 -0500

Sumit1269 gravatar image

First network : net1,subnet1,port1 second network: net2,subnet2,port2 third network: net3,subnet3,port3

Server1: need to attach with all these 3 networks. Server2 : need to attach with net1 and net2 Server3: with net 1 only

Also require to assign fixed IP to all network in each server.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-05-14 07:27:13 -0500

updated 2019-05-14 07:28:59 -0500

Note that if there is only one port on net1, you can only connect one server to it.

See https://docs.openstack.org/heat/lates... to connect instances to a list of networks. Connecting them to existing ports is not much different: Use the port key instead of the network key.

You can attach a fixed IP to a port. Same web page as above, a bit further down shows how to associate a port with a subnet. To associate it with a fixed IP, use the fixed_ip key instead of subnet.

You can also attach a fixed IP to the network of a server. See the the documentation for the Server resource type.

Also see the documentation for the Port resource type.

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

1 follower

Stats

Asked: 2019-05-14 05:46:25 -0500

Seen: 7 times

Last updated: May 14