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/12 17:56:38 UTC
Api command CreateNetworkOffering
Hi, i need to créate a NetworkOffering issuing this command:
=createNetworkOffering&displaytext=Guest-vSwitch1&guestiptype=Isolated&name=GuestvSwitch1&supportedservices=Vpn,Dhcp,Dns,Firewall,Lb,UserData,StaticNat,PortForwarding
&traffictype=GUEST&specifyipranges=yes&serviceOfferingId=xxxx&serviceproviderlist=VirtualRouter&tags=vSwitch1
But I receive this error:
Unable to execute API command createnetworkoffering due to invalid value VirtualRouter for parameter serviceproviderlist
What value I need to set in this parameter in order to create the Networkoffering? If I create without this value, when I create the GuestNetwork I receive and error with a multiple firewall providers....
Regards
[cid:anadatcloudsfirma460x80.jpg@ef2bd9ea8672489f9267efe2c5fd6e93]
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: Api command CreateNetworkOffering
Posted by Marcos Ortiz <ma...@anadat.es>.
Thanks for your reply!!,
i try it, but when i i try to créate the guest network I receive an error about serviceproviderlist, I need ti know the format in order to use it with API
Un saludo,
Marcos Ortiz Fernández
IT Technical Engineer
Parque Empresarial Rivas Futura Teléfono: +34 902 196 047
Calle Marie Curie 7 Edificio Beta Fax : +34 915 275 904
28521 - Madrid
-----Mensaje original-----
De: Caleb Call [mailto:calebcall@me.com]
Enviado el: miércoles, 12 de septiembre de 2012 18:41
Para: cloudstack-users@incubator.apache.org
Asunto: Re: Api command CreateNetworkOffering
You could try leaving it out. The API docs say if it's not specified it will be mapped to the default provider on the physical network.
On Sep 12, 2012, at 9:56 AM, Marcos Ortiz <ma...@anadat.es> wrote:
> Hi, i need to créate a NetworkOffering issuing this command:
>
> =createNetworkOffering&displaytext=Guest-vSwitch1&guestiptype=Isolated&name=GuestvSwitch1&supportedservices=Vpn,Dhcp,Dns,Firewall,Lb,UserData,StaticNat,PortForwarding
> &traffictype=GUEST&specifyipranges=yes&serviceOfferingId=xxxx&serviceproviderlist=VirtualRouter&tags=vSwitch1
>
> But I receive this error:
>
> Unable to execute API command createnetworkoffering due to invalid value VirtualRouter for parameter serviceproviderlist
>
> What value I need to set in this parameter in order to create the Networkoffering? If I create without this value, when I create the GuestNetwork I receive and error with a multiple firewall providers..
>
> Regards
>
>
>
>
>
> 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: Api command CreateNetworkOffering
Posted by Vijay Venkatachalam <Vi...@citrix.com>.
You can fire the api command with the service and provider with the format
serviceProviderList[0].service=Vpn&serviceProviderList[0].provider=VirtualRouter
for each of your services.
PS:
Remember to url encode "[" and "]" with %5B and %5D respectively.
A full sample
http://10.102.164.90:8080/client/api?command=createNetworkOffering&response=json&sessionkey=KSyYvUoftHhC1vsSDtuQcFjqRnA%3D&name=test&displayText=test&guestIpType=Isolated&servicecapabilitylist[0].service=lb&servicecapabilitylist[0].capabilitytype=SupportedLbIsolation&servicecapabilitylist[0].capabilityvalue=dedicated&availability=Optional&state=Creating&status=Creating&allocationstate=Creating&supportedServices=Vpn%2CDhcp%2CDns%2CLb%2CUserData%2CStaticNat%2CPortForwarding&specifyVlan=false&specifyIpRanges=false&conservemode=false&serviceProviderList[0].service=Vpn&serviceProviderList[0].provider=VirtualRouter&serviceProviderList[1].service=Dhcp&serviceProviderList[1].provider=VirtualRouter&serviceProviderList[2].service=Dns&serviceProviderList[2].provider=VirtualRouter&serviceProviderList[3].service=Lb&serviceProviderList[3].provider=VirtualRouter&serviceProviderList[4].service=UserData&serviceProviderList[4].provider=VirtualRouter&serviceProviderList[5].service=StaticNat&serviceProviderList[5].provider=VirtualRouter&serviceProviderList[6].service=PortForwarding&serviceProviderList[6].provider=VirtualRouter&traffictype=GUEST&_=1347507190775
- Vijay
> -----Original Message-----
> From: Marcos Ortiz [mailto:marcos_ortiz@anadat.es]
> Sent: Wednesday, September 12, 2012 10:22 PM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: Api command CreateNetworkOffering
>
> This is the exact error i receive when issued the createNetwork command:
>
> "More than 1 provider supporting service Firewall found in cloudStack"
>
> For this reason I want to define the serviceprovierlist in the
> createNetworkoffering command.
>
> Regards!!
>
> Marcos Ortiz Fernández
>
>
> Parque Empresarial Rivas Futura Teléfono: +34 902 196 047
> Calle Marie Curie 7 Edificio Beta Fax : +34 915 275 904
> 28521 - Madrid
>
>
>
> -----Mensaje original-----
> De: Caleb Call [mailto:calebcall@me.com] Enviado el: miércoles, 12 de
> septiembre de 2012 18:41
> Para: cloudstack-users@incubator.apache.org
> Asunto: Re: Api command CreateNetworkOffering
>
> You could try leaving it out. The API docs say if it's not specified it will be
> mapped to the default provider on the physical network.
>
> On Sep 12, 2012, at 9:56 AM, Marcos Ortiz <ma...@anadat.es> wrote:
>
> > Hi, i need to créate a NetworkOffering issuing this command:
> >
> > =createNetworkOffering&displaytext=Guest-
> vSwitch1&guestiptype=Isolated
> >
> &name=GuestvSwitch1&supportedservices=Vpn,Dhcp,Dns,Firewall,Lb,User
> Dat
> > a,StaticNat,PortForwarding
> >
> &traffictype=GUEST&specifyipranges=yes&serviceOfferingId=xxxx&servicep
> > roviderlist=VirtualRouter&tags=vSwitch1
> >
> > But I receive this error:
> >
> > Unable to execute API command createnetworkoffering due to invalid
> > value VirtualRouter for parameter serviceproviderlist
> >
> > What value I need to set in this parameter in order to create the
> Networkoffering? If I create without this value, when I create the
> GuestNetwork I receive and error with a multiple firewall providers..
> >
> > Regards
> >
> >
> >
> >
> >
> > 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: Api command CreateNetworkOffering
Posted by Marcos Ortiz <ma...@anadat.es>.
This is the exact error i receive when issued the createNetwork command:
"More than 1 provider supporting service Firewall found in cloudStack"
For this reason I want to define the serviceprovierlist in the createNetworkoffering command.
Regards!!
Marcos Ortiz Fernández
Parque Empresarial Rivas Futura Teléfono: +34 902 196 047
Calle Marie Curie 7 Edificio Beta Fax : +34 915 275 904
28521 - Madrid
-----Mensaje original-----
De: Caleb Call [mailto:calebcall@me.com]
Enviado el: miércoles, 12 de septiembre de 2012 18:41
Para: cloudstack-users@incubator.apache.org
Asunto: Re: Api command CreateNetworkOffering
You could try leaving it out. The API docs say if it's not specified it will be mapped to the default provider on the physical network.
On Sep 12, 2012, at 9:56 AM, Marcos Ortiz <ma...@anadat.es> wrote:
> Hi, i need to créate a NetworkOffering issuing this command:
>
> =createNetworkOffering&displaytext=Guest-vSwitch1&guestiptype=Isolated&name=GuestvSwitch1&supportedservices=Vpn,Dhcp,Dns,Firewall,Lb,UserData,StaticNat,PortForwarding
> &traffictype=GUEST&specifyipranges=yes&serviceOfferingId=xxxx&serviceproviderlist=VirtualRouter&tags=vSwitch1
>
> But I receive this error:
>
> Unable to execute API command createnetworkoffering due to invalid value VirtualRouter for parameter serviceproviderlist
>
> What value I need to set in this parameter in order to create the Networkoffering? If I create without this value, when I create the GuestNetwork I receive and error with a multiple firewall providers..
>
> Regards
>
>
>
>
>
> 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: Api command CreateNetworkOffering
Posted by Caleb Call <ca...@me.com>.
You could try leaving it out. The API docs say if it's not specified it will be mapped to the default provider on the physical network.
On Sep 12, 2012, at 9:56 AM, Marcos Ortiz <ma...@anadat.es> wrote:
> Hi, i need to créate a NetworkOffering issuing this command:
>
> =createNetworkOffering&displaytext=Guest-vSwitch1&guestiptype=Isolated&name=GuestvSwitch1&supportedservices=Vpn,Dhcp,Dns,Firewall,Lb,UserData,StaticNat,PortForwarding
> &traffictype=GUEST&specifyipranges=yes&serviceOfferingId=xxxx&serviceproviderlist=VirtualRouter&tags=vSwitch1
>
> But I receive this error:
>
> Unable to execute API command createnetworkoffering due to invalid value VirtualRouter for parameter serviceproviderlist
>
> What value I need to set in this parameter in order to create the Networkoffering? If I create without this value, when I create the GuestNetwork I receive and error with a multiple firewall providers….
>
> Regards
>
>
>
>
>
> 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.