GitHub user bradh352 added a comment to the discussion: private gateway attach 
to physical network issue

I verified with `cmk` as well to make sure its not a UI bug.  It definitely 
attaches it to a physical network other than what I specified even though the 
UUIDs all match.

Its like its ignoring the `kvmnetworklabel` on the physical network and just 
choosing the one with the default gateway.

```
(localcloud) 🐱 > createPrivateGateway gateway=10.10.100.99 
ipaddress=10.10.100.99 netmask=255.255.255.0 
vpcid=62940001-aa31-4da1-abf4-5a8c4f7a7f76 
aclid=346df974-6f58-4a8e-94ab-a6559e7bbf2f 
physicalnetworkid=1b567de0-2a6d-4583-994d-c250b58b5e0d vlan=vlan://untagged
{
  "privategateway": {
    "account": "PrjAcct-infra-1",
    "aclid": "346df974-6f58-4a8e-94ab-a6559e7bbf2f",
    "aclname": "hypervisor",
    "domain": "ROOT",
    "domainid": "eea9edcb-8e65-11f0-8cb1-fa96e6c9c041",
    "domainpath": "/",
    "gateway": "10.10.100.99",
    "id": "a675c8c5-21ab-4ec5-bb74-050401c2b70c",
    "ipaddress": "10.10.100.99",
    "netmask": "255.255.255.0",
    "physicalnetworkid": "1b567de0-2a6d-4583-994d-c250b58b5e0d",
    "project": "infra",
    "projectid": "92825ef4-53b0-45b8-a814-35e292871d2a",
    "sourcenatsupported": false,
    "state": "Ready",
    "vlan": "vlan://untagged",
    "vpcid": "62940001-aa31-4da1-abf4-5a8c4f7a7f76",
    "vpcname": "infra_vpc",
    "zoneid": "841782a0-eb61-46f3-ba10-3386ed334df0",
    "zonename": "testlab"
  }
}
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/11795#discussioncomment-14607815

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to