Hi Alena Many thanks to your explanations! We have a view of the situation now and understand how to solve it.
So for the moment we create ONE guest network per Project and assign a public ip range to it. If the customer needs another Guest network we create another Project and guets for him. But we are looking forward to guestNetworkId parameter and GUI support and please remove that the IP's get allocated right away... Best regards Andi From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] Sent: Donnerstag, 29. November 2012 19:40 To: Fuchs, Andreas (SwissTXT); cloudstack-users@incubator.apache.org Subject: Re: Public Network per Domain or Project This is one of the limitations for today. Account/Project specific public ip ranges can be added only when account owns one Isolated network. There is no guestNetworkId parameter in this call, we are planning to add in the latest releases to support adding public ip ranges in multiple Isolated networks scenario. Please refer to the page below (I've placed it on Apache Wiki) to get the list of feature limitatinons: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Adding+public+Vlan+per+account -Alena. From: <Fuchs>, "Andreas (SwissTXT)" <andreas.fu...@swisstxt.ch<mailto:andreas.fu...@swisstxt.ch>> To: "'cloudstack-users@incubator. org'" <cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>> Cc: Alena Prokharchyk <alena.prokharc...@citrix.com<mailto:alena.prokharc...@citrix.com>> Subject: RE: Public Network per Domain or Project Hi Further testing with Public IP's for Projects leads to more troubles and questions. If a Project has more than one guest network configured and I try to add a public network like this: wget -O out "http://localhost:8096/client/api?command=createVlanIpRange&startip=10.101.2.10&endip=10.101.2.29&forvirtualnetwork=true&gateway=10.101.2.1&netmask=255.255.255.0&networkid=200&physicalnetworkid=202&domainid=3&projectid=10&vlan=1102&zoneid=1" I get the following response: HTTP request sent, awaiting response... 431 Error, more than 1 Guest Isolated Networks with SourceNAT service enabled found for this account, cannot assosiate the IP range, please provide the network ID 2012-11-29 14:36:27 ERROR 431: Error, more than 1 Guest Isolated Networks with SourceNAT service enabled found for this account, cannot assosiate the IP range, please provide the network ID. But how do I provide the guest Network ID? There is no parameter for it documented in the API documentation? Regards Andi -----Original Message----- From: Fuchs, Andreas (SwissTXT) Sent: Donnerstag, 29. November 2012 12:10 To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org> Cc: Alena Prokharchyk Subject: RE: Public Network per Domain or Project Hi Alena This ist he API call i'm using: wget -O x "http://localhost:8096/client/api?command=createVlanIpRange&startip=10.101.3.11&endip=10.101.3.240&forvirtualnetwork=true&gateway=10.101.3.1&netmask=255.255.255.0&domainid=3&physicalnetworkid=202&projectid=4&vlan=1103&zoneid=1" and the output: <?xml version="1.0" encoding="UTF-8"?><createvlaniprangeresponse cloud-stack-version="3.0.5.20121003230143"><vlan><id>c6ce3a32-426b-43e0-9810-02a7d8ddd5c0</id><forvirtualnetwork>true</forvirtualnetwork><zoneid>f2ed7eda-a1f3-4a0b-b666-8f31f9a3d03e</zoneid><vlan>1103</vlan><domainid>23f2a99f-16c5-47a1-8267-a2d174cb49ea</domainid><domain>SRF</domain><gateway>10.101.3.1</gateway><netmask>255.255.255.0</netmask><startip>10.101.3.11</startip><endip>10.101.3.240</endip><networkid>62bad39b-8a7f-4220-a87d-b3d1a5712759</networkid><projectid>a5ff5fb2-7eb6-43dd-9793-e1ae4854d3b3</projectid><project>SRF_DEV</project><physicalnetworkid>517e87be-e4e3-454c-9cb1-58ca935f8ef6</physicalnetworkid></vlan></createvlaniprangeresponse> What I found out so far: - If the project has no network configured nothing happens AND after adding a network to the project the SourceNat ip is in the default network not the assigned AND the project admin user cannot assign a new ip, he get's "Unable to use network with id= 256, permission denied" - if the project has a network configured and I assign the public vlan range afterwards, ALL ip's are immediately assigned to the existing network, the sorce NAT IP is still in the default network - If then an additional network is configured there is no Snat IP nor can the domain admin or other user assign an ip Do you think we do everything right and this is buggy or can we change some parameters? Regards Andi -----Original Message----- From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] Sent: Dienstag, 27. November 2012 20:12 To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org> Subject: Re: Public Network per Domain or Project Andi, Sounds like a bug to me; you should be able to assign public Vlan to the project by specifying the projectId (Long). Could you send the API call you are making? Thank you, Alena. From: <Fuchs>, "Andreas (SwissTXT)" <andreas.fu...@swisstxt.ch<mailto:andreas.fu...@swisstxt.ch><mailto:andreas.fu...@swisstxt.ch><mailto:andreas.fu...@swisstxt.ch%3e>> Reply-To: "'cloudstack-users@incubator. org'" <cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org><mailto:cloudstack-users@incubator.apache.org><mailto:cloudstack-users@incubator.apache.org%3e>> To: "'cloudstack-users@incubator. org'" <cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org><mailto:cloudstack-users@incubator.apache.org><mailto:cloudstack-users@incubator.apache.org%3e>> Subject: RE: Public Network per Domain or Project Anthony If i understand CS right, a "shared network" is a guest network which can be attached to instances. What we like to achieve is that we have control over, where the virtual routers are connected on the public side. So if the user in project X klicks on "Acquire New IP" he get's an IP from a defined pool in a certain network. It seems that this would work with account's but it's broken with Projects. From what I see a virtual Router deployed for a Project is always! connected to the root Public Network. The API offers the option to enter a project name for a vlan, but this does not work either or we are doing something wronge here. Andi -----Original Message----- From: Anthony Xu [mailto:xuefei...@citrix.com] Sent: Dienstag, 27. November 2012 19:22 To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org><mailto:cloudstack-users@incubator.apache.org> Subject: RE: Public Network per Domain or Project Hi Andi, In Advanced zone, you can create a shared network, which is created on public-network, you can specify vlan id and domain for this network, maybe DNS server. Anthony -----Original Message----- From: Fuchs, Andreas (SwissTXT) [mailto:andreas.fu...@swisstxt.ch] Sent: Tuesday, November 27, 2012 7:56 AM To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org><mailto:cloudstack-users@incubator.apache.org> Subject: Public Network per Domain or Project Hi It seems that we do not fully understand how the Public Networks work. What we have is we have a domain per "customer" with several projects and accounts with different rights to those projects. What we would like to achieve is to have a Public Interface per "customer" so in fact per Domain. Is it possible to configure a Public Network for "any" account in a specific Domain ? Or do we have to work around somehow. Regards Andi