You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Daan Hoogland (JIRA)" <ji...@apache.org> on 2013/07/09 17:05:48 UTC

[jira] [Closed] (CLOUDSTACK-2967) createVlanIpRangeCmd broken in master

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daan Hoogland closed CLOUDSTACK-2967.
-------------------------------------


duplicate and fixed
                
> createVlanIpRangeCmd broken in master
> -------------------------------------
>
>                 Key: CLOUDSTACK-2967
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2967
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: Daan Hoogland
>
> calling the following peace of code has worked ever since 4.0 but is now breaking:
> # Add public network ip range
> createVlan = createVlanIpRange.createVlanIpRangeCmd()
> createVlan.zoneid  = zone.id
> createVlan.vlan    = 317
> createVlan.gateway = "195.66.90.193"
> createVlan.netmask = "255.255.255.224"
> createVlan.startip = "195.66.90.212" 
> createVlan.endip   = "195.66.90.216"
> createVlan.forvirtualnetwork = True
> try:
>     resp = conn.make_request(createVlan)
>     vlan = resp.vlan
> except urllib2.HTTPError, e:
>    print "createVlanIpRangeCmd Failed : " + str(e.msg)
> print "Vlan for public internet created on vlanid " + vlan.vlan

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira