First time here? Check out the FAQ!
![]() | 1 | initial version |
Note that if there is only one port on net1, you can only connect one server to it.
See https://docs.openstack.org/heat/latest/template_guide/basic_resources.html#manage-instances to connect instances to a list of networks. Connecting them to existing ports is not much different: Use the port 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.
Also see the documentation for the Server and Port resource types.
![]() | 2 | No.2 Revision |
Note that if there is only one port on net1, you can only connect one server to it.
See https://docs.openstack.org/heat/latest/template_guide/basic_resources.html#manage-instances 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.
Also see You can also attach a fixed IP to the network of a server. See the the documentation for the Server and resource type.
Also see the documentation for the Port resource types.type.