cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-2967) createVlanIpRangeCmd broken in master
Date Tue, 09 Jul 2013 15:05:48 GMT

     [ 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

Mime
View raw message