cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <geoff.higginbot...@shapeblue.com>
Subject RE: network/vpc offerings cli/api syntax
Date Thu, 28 Feb 2013 14:33:20 GMT
Just spotted an error, 'guestiptype' should be 'shared'

By specifying the Account Name and Domain ID, this 'Shared' offering can be used to create
a network which is effectively 'isolated' and can be connected to a VM as well as a VPC. 
As you know, connecting 'Isolated' networks and VPC Networks to the same VM does not work

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com


-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 28 February 2013 11:25
To: cloudstack-users@incubator.apache.org
Subject: RE: network/vpc offerings cli/api syntax

Hi Brandon,

Here is the API structure for creating a VPC using the unauthenticated API Port

http://n.n.n.n:8096/client/api?command=createVPC
&cidr=nnn.nnn.nnn.nnn
&displaytext=Description
&name=Name
&vpcofferingid=ID of the 'System Offering for Software Router'
&zoneid=Zone ID
&account=Account Name (NOT ID)
&domainid=Domain ID
&networkdomain=Network Domain

And for 'Shared' Network Offering

http://n.n.n.n:8096/client/api?command=createNetworkOffering
&displaytext=Description
&guestiptype=Shared
&name=Name
&supportedservices=Dhcp,Dns,Userdata
&traffictype=Guest
&conservemode=true
&networkrate=1024
&specifyipranges=true
&specifyvlan=true
&tags=tag

Remember you have to URL Encode the settings, for example supportedservices=Dhcp%2CDns%2CUserdata

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com


-----Original Message-----
From: Brandon Arms [mailto:BArms@dsscorp.com]
Sent: 28 February 2013 11:14
To: cloudstack-users@incubator.apache.org
Subject: network/vpc offerings cli/api syntax

Can anyone provide the correct syntax for creating vpc and network offerings via cli/api?
 Specifically the "supportedservices" parameter?  I'm getting hung up on the correct syntax
for this parameter.  Thanks.


Brandon Arms
ShapeBlue provides a range of strategic and technical consulting and implementation services
to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s
expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises
to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the
intended recipient of this email, you must neither take any action based upon its contents,
nor copy or show it to anyone. Please contact the sender if you believe you have received
this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services
to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s
expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises
to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the
intended recipient of this email, you must neither take any action based upon its contents,
nor copy or show it to anyone. Please contact the sender if you believe you have received
this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
Mime
View raw message