Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/1213#issuecomment-163683468
It seems this is more complex than it seemed. Since we've to put in a
'physical network id' (which is obviously owned by ROOT domain, this does not
work yet.
Creating fails:
```
(admin) ðµ > create privategateway gateway=1.2.3.4 ipaddress=4.3.2.1
netmask=255.255.255.0 vpcid=cc80ae2c-c3ad-4ea3-96f4-dc40970c81e4
vlan="lswitch://uuid"
Error 531: Acct[74caa349-7f41-4e1a-b4b1-d386c0c2a1a2-rbergsma] does not
have permission to operate within domain id=9c2baf29-9846-11e5-9afa-525400b8977a
cserrorcode = 4365
errorcode = 531
errortext = Acct[74caa349-7f41-4e1a-b4b1-d386c0c2a1a2-rbergsma] does not
have permission to operate within domain id=9c2baf29-9846-11e5-9afa-525400b8977a
uuidList:
```
This is the mentioned domain id:
```
(admin) ðµ > set profile root
(root) ðµ > list domains id=9c2baf29-9846-11e5-9afa-525400b8977a
filter=name
count = 1
domain:
name = ROOT
```
Most likely due to the physical network id. Hmm..
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---