How do I assign 2 fixed IPs from a subnet to a server via Heat
Is there a way to assign multiple IPs from a subnet to a server using heat templates? I defined a resource for a port using fixed IPs, like below. I then used this resource to create a port on a OS::Nova::Server. But I see only one IP from the subnet assigned. Is there a way to assign to IPs from the subnet?
resources:
a_port:
type: OS::Neutron::Port
properties:
network: "a_network"
fixed_ips: [
{
"subnet_id" : "a_subnet_id",
"subnet_id" : "a_subnet_id"
}
]
why don't you create two port?
The software relies on two different IPs on the same port because it also runs on physical hardware in our data centers which have limited ports. There are changes being done to the software to move away from this requirement, but until then I am trying out other ways of deploying this software.