Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-2967

createVlanIpRangeCmd broken in master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.2.0
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      calling the following peace of code has worked ever since 4.0 but is now breaking:

      1. 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dahn Daan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: