Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE3A810F76 for ; Tue, 9 Jul 2013 15:05:48 +0000 (UTC) Received: (qmail 3884 invoked by uid 500); 9 Jul 2013 15:05:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 3844 invoked by uid 500); 9 Jul 2013 15:05:48 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 3831 invoked by uid 500); 9 Jul 2013 15:05:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 3823 invoked by uid 99); 9 Jul 2013 15:05:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 15:05:48 +0000 Date: Tue, 9 Jul 2013 15:05:48 +0000 (UTC) From: "Daan Hoogland (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-2967) createVlanIpRangeCmd broken in master MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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