You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Marcos Ortiz <ma...@anadat.es> on 2012/09/06 15:34:26 UTC

Using more than vswitch 0

Hi all,

Based on cloudtack architecture, all guest, public networks has been created on vswitch0, vmware only Support 256 port groups per vswitch, this is a limitation because we can´t use more than 256 vlans for customers, I want to use vswitch1 for vlans through 1 to 100, vswitch2 101 to 200.....etc.

I probed using api commands:


-          command=createPhysicalNetwork&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&name=vSwitch1&broadcastdomainrange=Zone&isolationmethods=VLAN&tags=guestv (new physica network on the same zone)

-          command=addTrafficType&physicalnetworkid=566ebb46-d85d-4e26-8b44-455d3fcea76e&trafficType=Guest (traffic for guest)

-          Next, I create the network offering with the same tag:

o   networkoffering><id>bc7c801e-bce3-4f82-8323-4ba662db053d</id><name>OfferingV1</name><displaytext>OfferingV1</displaytext><tags>guestv1</tags><traffictype>Guest</traffictype><isdefault>false</isdefault><specifyvlan>false</specifyvlan><conservemode>true</conservemode><specifyipranges>false</specifyipranges><availability>Optional</availability><networkrate>200</networkrate><state>Enabled</state><guestiptype>Isolated</guestiptype><serviceofferingid>10f907e3-3f17-40ea-aa43-b05b3649baeb</serviceofferingid><service><name>Lb</name><provider><name>VirtualRouter</name></provider><capability><name>SupportedLBIsolation</name><value>dedicated</value><canchooseservicecapability>false</canchooseservicecapability></capability><capability><name>ElasticLb</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>StaticNat</name><provider><name>VirtualRouter</name></provider><capability><name>ElasticIp</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>Dhcp</name><provider><name>VirtualRouter</name></provider></service><service><name>Firewall</name><provider><name>VirtualRouter</name></provider></service><service><name>PortForwarding</name><provider><name>VirtualRouter</name></provider></service><service><name>Dns</name><provider><name>VirtualRouter</name></provider></service></networkoffering></listnetworkofferingsresponse>

-          Last step, I try to create a guest network, but I can´t select any offering, the box is empty.

-          I try to create using this api command, but no luck:

o   command=createNetwork&displaytext=guestv1&name=guestv1&networkofferingid=bc7c801e-bce3-4f82-8323-4ba662db053d&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&startip=192.168.1.1&endip=192.168.1.253&gateway=192.168.1.254&netmask=255.255.255.0

o   Error response: Network offering [Network Offering [14-Guest-OfferingV1] doesn't support adding multiple ip ranges

Thanks and regards

Marcos Ortiz



[cid:anadatcloudsfirma460x80.jpg@a290272450aa4427bd6b5e45293d53f9]

De conformidad con lo establecido en la L.O.P.D., Anadat Consulting  garantiza la adopción de las medidas necesarias para asegurar el tratamiento confidencial de los datos de carácter personal. Así mismo le informamos de la posibilidad de ejercer los derechos de acceso, rectificación, cancelación y oposición.

According to the established in the Spanish law of data protection (L.O.P.D.), ANADAT Consulting guarantees the adoption of the necessary measures to assure the confidential processing of the personal data. In the same way we inform you of the possibility of exercising the rights of access, modification, cancellation and opposition.

RE: Using more than vswitch 0

Posted by Marcos Ortiz <ma...@anadat.es>.
Hi,

If i set specifyvlan=true, i can put in the api call the ip range, i want to créate a guest network for a customer with a ip range and i want to sustem take a vlan from the zone pool for it (i did this operation through UI and Works fine.

If I specify the vlan=true, I receive and error reference to system router dosn´t support dhcp.

Thanks 


-----Mensaje original-----
De: Prachi Damle [mailto:Prachi.Damle@citrix.com] 
Enviado el: jueves, 06 de septiembre de 2012 23:20
Para: cloudstack-users@incubator.apache.org
Asunto: RE: Using more than vswitch 0

Hi Marcos,

In the API's below, you specified tag 'guestv' for the physical network. But the tag on the offering is 'guestv1' - That might be the reason for your offerings dropdown to be empty.

Also, the error you got while using API for createNetwork indicates that your offering does not support specifying ip ranges. While creating the offering you should set.
Your offering below has <specifyvlan>false</specifyvlan>

Thanks,
Prachi

From: Marcos Ortiz [mailto:marcos_ortiz@anadat.es]
Sent: Thursday, September 06, 2012 6:34 AM
To: cloudstack-users@incubator.apache.org
Subject: Using more than vswitch 0

Hi all,

Based on cloudtack architecture, all guest, public networks has been created on vswitch0, vmware only Support 256 port groups per vswitch, this is a limitation because we can´t use more than 256 vlans for customers, I want to use vswitch1 for vlans through 1 to 100, vswitch2 101 to 200.....etc.

I probed using api commands:


-          command=createPhysicalNetwork&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&name=vSwitch1&broadcastdomainrange=Zone&isolationmethods=VLAN&tags=guestv (new physica network on the same zone)

-          command=addTrafficType&physicalnetworkid=566ebb46-d85d-4e26-8b44-455d3fcea76e&trafficType=Guest (traffic for guest)

-          Next, I create the network offering with the same tag:

o   networkoffering><id>bc7c801e-bce3-4f82-8323-4ba662db053d</id><name>OfferingV1</name><displaytext>OfferingV1</displaytext><tags>guestv1</tags><traffictype>Guest</traffictype><isdefault>false</isdefault><specifyvlan>false</specifyvlan><conservemode>true</conservemode><specifyipranges>false</specifyipranges><availability>Optional</availability><networkrate>200</networkrate><state>Enabled</state><guestiptype>Isolated</guestiptype><serviceofferingid>10f907e3-3f17-40ea-aa43-b05b3649baeb</serviceofferingid><service><name>Lb</name><provider><name>VirtualRouter</name></provider><capability><name>SupportedLBIsolation</name><value>dedicated</value><canchooseservicecapability>false</canchooseservicecapability></capability><capability><name>ElasticLb</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>StaticNat</name><provider><name>VirtualRouter</name></provider><capability><name>ElasticIp</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>Dhcp</name><provider><name>VirtualRouter</name></provider></service><service><name>Firewall</name><provider><name>VirtualRouter</name></provider></service><service><name>PortForwarding</name><provider><name>VirtualRouter</name></provider></service><service><name>Dns</name><provider><name>VirtualRouter</name></provider></service></networkoffering></listnetworkofferingsresponse>

-          Last step, I try to create a guest network, but I can´t select any offering, the box is empty.

-          I try to create using this api command, but no luck:

o   command=createNetwork&displaytext=guestv1&name=guestv1&networkofferingid=bc7c801e-bce3-4f82-8323-4ba662db053d&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&startip=192.168.1.1&endip=192.168.1.253&gateway=192.168.1.254&netmask=255.255.255.0

o   Error response: Network offering [Network Offering [14-Guest-OfferingV1] doesn't support adding multiple ip ranges

Thanks and regards

Marcos Ortiz


[cid:anadatcloudsfirma460x80.jpg@a290272450aa4427bd6b5e45293d53f9]

De conformidad con lo establecido en la L.O.P.D., Anadat Consulting  garantiza la adopción de las medidas necesarias para asegurar el tratamiento confidencial de los datos de carácter personal. Así mismo le informamos de la posibilidad de ejercer los derechos de acceso, rectificación, cancelación y oposición.

According to the established in the Spanish law of data protection (L.O.P.D.), ANADAT Consulting guarantees the adoption of the necessary measures to assure the confidential processing of the personal data. In the same way we inform you of the possibility of exercising the rights of access, modification, cancellation and opposition.



Re: Using more than vswitch 0

Posted by Marcos Ortiz <ma...@anadat.es>.
Ok!!!

Thanks I will check it.

Regards

El 06/09/2012, a las 23:20, "Prachi Damle" <Pr...@citrix.com> escribió:

> Hi Marcos,
> 
> In the API's below, you specified tag 'guestv' for the physical network. But the tag on the offering is 'guestv1' - That might be the reason for your offerings dropdown to be empty.
> 
> Also, the error you got while using API for createNetwork indicates that your offering does not support specifying ip ranges. While creating the offering you should set specifyvlan = true.
> Your offering below has <specifyvlan>false</specifyvlan>
> 
> Thanks,
> Prachi
> 
> From: Marcos Ortiz [mailto:marcos_ortiz@anadat.es]
> Sent: Thursday, September 06, 2012 6:34 AM
> To: cloudstack-users@incubator.apache.org
> Subject: Using more than vswitch 0
> 
> Hi all,
> 
> Based on cloudtack architecture, all guest, public networks has been created on vswitch0, vmware only Support 256 port groups per vswitch, this is a limitation because we can´t use more than 256 vlans for customers, I want to use vswitch1 for vlans through 1 to 100, vswitch2 101 to 200.....etc.
> 
> I probed using api commands:
> 
> 
> -          command=createPhysicalNetwork&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&name=vSwitch1&broadcastdomainrange=Zone&isolationmethods=VLAN&tags=guestv (new physica network on the same zone)
> 
> -          command=addTrafficType&physicalnetworkid=566ebb46-d85d-4e26-8b44-455d3fcea76e&trafficType=Guest (traffic for guest)
> 
> -          Next, I create the network offering with the same tag:
> 
> o   networkoffering><id>bc7c801e-bce3-4f82-8323-4ba662db053d</id><name>OfferingV1</name><displaytext>OfferingV1</displaytext><tags>guestv1</tags><traffictype>Guest</traffictype><isdefault>false</isdefault><specifyvlan>false</specifyvlan><conservemode>true</conservemode><specifyipranges>false</specifyipranges><availability>Optional</availability><networkrate>200</networkrate><state>Enabled</state><guestiptype>Isolated</guestiptype><serviceofferingid>10f907e3-3f17-40ea-aa43-b05b3649baeb</serviceofferingid><service><name>Lb</name><provider><name>VirtualRouter</name></provider><capability><name>SupportedLBIsolation</name><value>dedicated</value><canchooseservicecapability>false</canchooseservicecapability></capability><capability><name>ElasticLb</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>StaticNat</name><provider><name>VirtualRouter</name></provider><capability><name>ElasticIp</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>Dhcp</name><provider><name>VirtualRouter</name></provider></service><service><name>Firewall</name><provider><name>VirtualRouter</name></provider></service><service><name>PortForwarding</name><provider><name>VirtualRouter</name></provider></service><service><name>Dns</name><provider><name>VirtualRouter</name></provider></service></networkoffering></listnetworkofferingsresponse>
> 
> -          Last step, I try to create a guest network, but I can´t select any offering, the box is empty.
> 
> -          I try to create using this api command, but no luck:
> 
> o   command=createNetwork&displaytext=guestv1&name=guestv1&networkofferingid=bc7c801e-bce3-4f82-8323-4ba662db053d&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&startip=192.168.1.1&endip=192.168.1.253&gateway=192.168.1.254&netmask=255.255.255.0
> 
> o   Error response: Network offering [Network Offering [14-Guest-OfferingV1] doesn't support adding multiple ip ranges
> 
> Thanks and regards
> 
> Marcos Ortiz
> 
> 
> [cid:anadatcloudsfirma460x80.jpg@a290272450aa4427bd6b5e45293d53f9]
> 
> De conformidad con lo establecido en la L.O.P.D., Anadat Consulting  garantiza la adopción de las medidas necesarias para asegurar el tratamiento confidencial de los datos de carácter personal. Así mismo le informamos de la posibilidad de ejercer los derechos de acceso, rectificación, cancelación y oposición.
> 
> According to the established in the Spanish law of data protection (L.O.P.D.), ANADAT Consulting guarantees the adoption of the necessary measures to assure the confidential processing of the personal data. In the same way we inform you of the possibility of exercising the rights of access, modification, cancellation and opposition.



RE: Using more than vswitch 0

Posted by Marcos Ortiz <ma...@anadat.es>.
Hi again,

I test your setting and, i give this error:

Provider VirtualRouter is either not enabled or doesn't support service Dhcp in physical network id=204

But in network offering I check dhcp service

Thanks and regards 


-----Mensaje original-----
De: Prachi Damle [mailto:Prachi.Damle@citrix.com] 
Enviado el: jueves, 06 de septiembre de 2012 23:20
Para: cloudstack-users@incubator.apache.org
Asunto: RE: Using more than vswitch 0

Hi Marcos,

In the API's below, you specified tag 'guestv' for the physical network. But the tag on the offering is 'guestv1' - That might be the reason for your offerings dropdown to be empty.

Also, the error you got while using API for createNetwork indicates that your offering does not support specifying ip ranges. While creating the offering you should set specifyvlan = true.
Your offering below has <specifyvlan>false</specifyvlan>

Thanks,
Prachi

From: Marcos Ortiz [mailto:marcos_ortiz@anadat.es]
Sent: Thursday, September 06, 2012 6:34 AM
To: cloudstack-users@incubator.apache.org
Subject: Using more than vswitch 0

Hi all,

Based on cloudtack architecture, all guest, public networks has been created on vswitch0, vmware only Support 256 port groups per vswitch, this is a limitation because we can´t use more than 256 vlans for customers, I want to use vswitch1 for vlans through 1 to 100, vswitch2 101 to 200.....etc.

I probed using api commands:


-          command=createPhysicalNetwork&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&name=vSwitch1&broadcastdomainrange=Zone&isolationmethods=VLAN&tags=guestv (new physica network on the same zone)

-          command=addTrafficType&physicalnetworkid=566ebb46-d85d-4e26-8b44-455d3fcea76e&trafficType=Guest (traffic for guest)

-          Next, I create the network offering with the same tag:

o   networkoffering><id>bc7c801e-bce3-4f82-8323-4ba662db053d</id><name>OfferingV1</name><displaytext>OfferingV1</displaytext><tags>guestv1</tags><traffictype>Guest</traffictype><isdefault>false</isdefault><specifyvlan>false</specifyvlan><conservemode>true</conservemode><specifyipranges>false</specifyipranges><availability>Optional</availability><networkrate>200</networkrate><state>Enabled</state><guestiptype>Isolated</guestiptype><serviceofferingid>10f907e3-3f17-40ea-aa43-b05b3649baeb</serviceofferingid><service><name>Lb</name><provider><name>VirtualRouter</name></provider><capability><name>SupportedLBIsolation</name><value>dedicated</value><canchooseservicecapability>false</canchooseservicecapability></capability><capability><name>ElasticLb</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>StaticNat</name><provider><name>VirtualRouter</name></provider><capability><name>ElasticIp</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>Dhcp</name><provider><name>VirtualRouter</name></provider></service><service><name>Firewall</name><provider><name>VirtualRouter</name></provider></service><service><name>PortForwarding</name><provider><name>VirtualRouter</name></provider></service><service><name>Dns</name><provider><name>VirtualRouter</name></provider></service></networkoffering></listnetworkofferingsresponse>

-          Last step, I try to create a guest network, but I can´t select any offering, the box is empty.

-          I try to create using this api command, but no luck:

o   command=createNetwork&displaytext=guestv1&name=guestv1&networkofferingid=bc7c801e-bce3-4f82-8323-4ba662db053d&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&startip=192.168.1.1&endip=192.168.1.253&gateway=192.168.1.254&netmask=255.255.255.0

o   Error response: Network offering [Network Offering [14-Guest-OfferingV1] doesn't support adding multiple ip ranges

Thanks and regards

Marcos Ortiz


[cid:anadatcloudsfirma460x80.jpg@a290272450aa4427bd6b5e45293d53f9]

De conformidad con lo establecido en la L.O.P.D., Anadat Consulting  garantiza la adopción de las medidas necesarias para asegurar el tratamiento confidencial de los datos de carácter personal. Así mismo le informamos de la posibilidad de ejercer los derechos de acceso, rectificación, cancelación y oposición.

According to the established in the Spanish law of data protection (L.O.P.D.), ANADAT Consulting guarantees the adoption of the necessary measures to assure the confidential processing of the personal data. In the same way we inform you of the possibility of exercising the rights of access, modification, cancellation and opposition.



RE: Using more than vswitch 0

Posted by Prachi Damle <Pr...@citrix.com>.
Hi Marcos,

In the API's below, you specified tag 'guestv' for the physical network. But the tag on the offering is 'guestv1' - That might be the reason for your offerings dropdown to be empty.

Also, the error you got while using API for createNetwork indicates that your offering does not support specifying ip ranges. While creating the offering you should set specifyvlan = true.
Your offering below has <specifyvlan>false</specifyvlan>

Thanks,
Prachi

From: Marcos Ortiz [mailto:marcos_ortiz@anadat.es]
Sent: Thursday, September 06, 2012 6:34 AM
To: cloudstack-users@incubator.apache.org
Subject: Using more than vswitch 0

Hi all,

Based on cloudtack architecture, all guest, public networks has been created on vswitch0, vmware only Support 256 port groups per vswitch, this is a limitation because we can´t use more than 256 vlans for customers, I want to use vswitch1 for vlans through 1 to 100, vswitch2 101 to 200.....etc.

I probed using api commands:


-          command=createPhysicalNetwork&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&name=vSwitch1&broadcastdomainrange=Zone&isolationmethods=VLAN&tags=guestv (new physica network on the same zone)

-          command=addTrafficType&physicalnetworkid=566ebb46-d85d-4e26-8b44-455d3fcea76e&trafficType=Guest (traffic for guest)

-          Next, I create the network offering with the same tag:

o   networkoffering><id>bc7c801e-bce3-4f82-8323-4ba662db053d</id><name>OfferingV1</name><displaytext>OfferingV1</displaytext><tags>guestv1</tags><traffictype>Guest</traffictype><isdefault>false</isdefault><specifyvlan>false</specifyvlan><conservemode>true</conservemode><specifyipranges>false</specifyipranges><availability>Optional</availability><networkrate>200</networkrate><state>Enabled</state><guestiptype>Isolated</guestiptype><serviceofferingid>10f907e3-3f17-40ea-aa43-b05b3649baeb</serviceofferingid><service><name>Lb</name><provider><name>VirtualRouter</name></provider><capability><name>SupportedLBIsolation</name><value>dedicated</value><canchooseservicecapability>false</canchooseservicecapability></capability><capability><name>ElasticLb</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>StaticNat</name><provider><name>VirtualRouter</name></provider><capability><name>ElasticIp</name><value>false</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service><name>Dhcp</name><provider><name>VirtualRouter</name></provider></service><service><name>Firewall</name><provider><name>VirtualRouter</name></provider></service><service><name>PortForwarding</name><provider><name>VirtualRouter</name></provider></service><service><name>Dns</name><provider><name>VirtualRouter</name></provider></service></networkoffering></listnetworkofferingsresponse>

-          Last step, I try to create a guest network, but I can´t select any offering, the box is empty.

-          I try to create using this api command, but no luck:

o   command=createNetwork&displaytext=guestv1&name=guestv1&networkofferingid=bc7c801e-bce3-4f82-8323-4ba662db053d&zoneid=a0e08e34-e104-441c-bd9b-d6260b2f5dea&startip=192.168.1.1&endip=192.168.1.253&gateway=192.168.1.254&netmask=255.255.255.0

o   Error response: Network offering [Network Offering [14-Guest-OfferingV1] doesn't support adding multiple ip ranges

Thanks and regards

Marcos Ortiz


[cid:anadatcloudsfirma460x80.jpg@a290272450aa4427bd6b5e45293d53f9]

De conformidad con lo establecido en la L.O.P.D., Anadat Consulting  garantiza la adopción de las medidas necesarias para asegurar el tratamiento confidencial de los datos de carácter personal. Así mismo le informamos de la posibilidad de ejercer los derechos de acceso, rectificación, cancelación y oposición.

According to the established in the Spanish law of data protection (L.O.P.D.), ANADAT Consulting guarantees the adoption of the necessary measures to assure the confidential processing of the personal data. In the same way we inform you of the possibility of exercising the rights of access, modification, cancellation and opposition.