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 4C27110041 for ; Fri, 28 Jun 2013 14:06:22 +0000 (UTC) Received: (qmail 69426 invoked by uid 500); 28 Jun 2013 14:06:22 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 69283 invoked by uid 500); 28 Jun 2013 14:06:21 -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 69248 invoked by uid 500); 28 Jun 2013 14:06:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 69234 invoked by uid 99); 28 Jun 2013 14:06:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 14:06:21 +0000 Date: Fri, 28 Jun 2013 14:06:21 +0000 (UTC) From: "Bharat Kumar (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-2636) PVLAN UI: physical network> Guest network > Add IP range FAIL with error 'Gateway netmask and zoneid have to be passed in for virtual and direct untagged networks 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-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695465#comment-13695465 ] Bharat Kumar commented on CLOUDSTACK-2636: ------------------------------------------ Changed the api to accept only ip range in case when user intends to add the range to the existing subnet. commit ca13586331d215b0be269fea010536106d7fa67c > PVLAN UI: physical network> Guest network > Add IP range FAIL with error 'Gateway netmask and zoneid have to be passed in for virtual and direct untagged networks > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-2636 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2636 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API > Affects Versions: 4.2.0 > Environment: MS ubuntu 13..04 KVM ACS 4.2 PVLAN > host ubuntu 13..04 KVM ACS 4.2 PVLAN > Reporter: angeline shen > Assignee: Bharat Kumar > Fix For: 4.2.0 > > Attachments: management-server.log.gz, Screenshot-CloudStack - Mozilla Firefox.png > > > 1. advance zone. create shared network with VLAN ID, private VLAN ID, IPV4 gateway, netmask, > start IP, end IP > 2. physical network> guest network> select network> view IP range> delete IP range > add IP range> > UI only allow IPV4 start IP , IPV4 end IP, IPV6 start IP, IPV6 end IP to be specified > After above are specified, UI returns error: > Gateway, netmask and zoneID have to be passed in for virtual and direct untagged networks > Result: UI should also pass gateway, netmask and zoneID in the API call > client call: > http://10.223.195.113:8080/client/api?command=createVlanIpRange&forVirtualNetwork=false&networkid=dae3b32a-312b-4d79-a3af-2753563e127e&startip=10.223.161.100&endip=10.223.161.123&response=json&sessionkey=B6%2Bom%2B7iUDa%2BVdCTmIeNFW5UjWs%3D&_=1369267057369 > server response: > { "createvlaniprangeresponse" : {"errorcode":431,"cserrorcode":4350,"errortext":"Gateway, netmask and zoneId have to be passed in for virtual and direct untagged networks"} } -- 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