[ https://issues.apache.org/jira/browse/STRATOS-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077368#comment-14077368 ]
Manula Chathurika Thantriwatte commented on STRATOS-698: -------------------------------------------------------- Hi, Here what I get was instances have more than one network interface. Ex : eth0, eth1. These interfaces should have different IP ranges (Ex. 10.0.1.0 /24, 10.0.2.0 / 24). In the OpenStack environment there should be a router which has some NAT rules to route public IP traffic to these network interfaces. So what you want is, given public IP in a cartridge definition should be able to assign to the given network interface in an instance. Thanks ! ManulaC > Cannot assign floating IPs to any interface other than the first > ---------------------------------------------------------------- > > Key: STRATOS-698 > URL: https://issues.apache.org/jira/browse/STRATOS-698 > Project: Stratos > Issue Type: Bug > Components: Cloud Controller > Affects Versions: 4.0.0 > Environment: openstack/kvm > Reporter: Matt Turner > Assignee: Manula Chathurika Thantriwatte > > I can currently specify multiple network interfaces in a cartridge > definition. I can specify a publicNetworkUuid in order for that interface to > have a floating IP on the specified public network. However, if I specify >1 > public networks, or a public network on an interface other than the first, > only the first interface gets a floating IP. > I expect to be able to specify publicNetworkUuid on any arbitrary interfaces, > and I expect all those interfaces to get floating IPs. > For example: > "networkInterfaces": [ > { > "name": "net1", > "networkUuid": "afc8dd31-52f4-44e2-a9b0-a10610b78661" > }, > { > "name": "net2", > "networkUuid": "493ac57c-1d21-4fb8-a750-56ae7dbd160d" > }, > { > "name": "net3", > "networkUuid": "fa5c617c-ebc2-44a6-86b5-22283d906711", > "publicNetworkUuid": "ad0c3120-5d83-4b42-87e1-44b1e569e1e6" > }, > { > "name": "net4", > "networkUuid": "c17d6a7d-3ebb-4cdb-ae56-48e3cd31e270" > } > ], > Expected behaviour: third interface gets a floating IP. > Actual behaviour: first interface gets a floating IP. -- This message was sent by Atlassian JIRA (v6.2#6252)