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:[email protected]]
Sent: Dienstag, 27. November 2012 20:12
To: [email protected]
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)"
<[email protected]<mailto:[email protected]>>
Reply-To: "'cloudstack-users@incubator. org'"
<[email protected]<mailto:[email protected]>>
To: "'cloudstack-users@incubator. org'"
<[email protected]<mailto:[email protected]>>
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:[email protected]]
Sent: Dienstag, 27. November 2012 19:22
To:
[email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Tuesday, November 27, 2012 7:56 AM
To:
[email protected]<mailto:[email protected]>
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