From issues-return-60700-apmail-cloudstack-issues-archive=cloudstack.apache.org@cloudstack.apache.org Sun Sep 13 20:06:46 2015 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 0D08318E3A for ; Sun, 13 Sep 2015 20:06:46 +0000 (UTC) Received: (qmail 99715 invoked by uid 500); 13 Sep 2015 20:06:45 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 99675 invoked by uid 500); 13 Sep 2015 20:06:45 -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 99666 invoked by uid 500); 13 Sep 2015 20:06:45 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 99663 invoked by uid 99); 13 Sep 2015 20:06:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2015 20:06:45 +0000 Date: Sun, 13 Sep 2015 20:06:45 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8817) listFirewallRules response JSON startport/endport not an int MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8817?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D14742628#comment-14742628 ]=20 ASF GitHub Bot commented on CLOUDSTACK-8817: -------------------------------------------- Github user resmo commented on the pull request: https://github.com/apache/cloudstack/pull/810#issuecomment-139913727 =20 LGTM. > listFirewallRules response JSON startport/endport not an int > ------------------------------------------------------------ > > Key: CLOUDSTACK-8817 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-881= 7 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: API > Affects Versions: 4.6.0 > Reporter: Ren=C3=A9 Moser > Priority: Trivial > > h2. Summary > listFirewallRules returns endpoint and startpoint values as String. > h2. Excpected results > {code} > { > "count": 1=20 > "firewallrule": [ > { > "cidrlist": "0.0.0.0/0",=20 > "endport": 22,=20 > "fordisplay": true,=20 > "id": "126dccd4-ed9a-42a5-bd25-204aab8c8f03",=20 > "ipaddress": "10.101.0.21",=20 > "ipaddressid": "c70e7a84-4fa2-40a0-a70d-f64101663f21",=20 > "networkid": "b0c50de4-015e-4b28-a12a-8955698ebc2a",=20 > "protocol": "tcp",=20 > "startport": 22,=20 > "state": "Active",=20 > "tags": [] > } > ] > } > {code} > h2. Actuall results > {code} > { > "count": 1=20 > "firewallrule": [ > { > "cidrlist": "0.0.0.0/0",=20 > "endport": "22",=20 > "fordisplay": true,=20 > "id": "126dccd4-ed9a-42a5-bd25-204aab8c8f03",=20 > "ipaddress": "10.101.0.21",=20 > "ipaddressid": "c70e7a84-4fa2-40a0-a70d-f64101663f21",=20 > "networkid": "b0c50de4-015e-4b28-a12a-8955698ebc2a",=20 > "protocol": "tcp",=20 > "startport": "22",=20 > "state": "Active",=20 > "tags": [] > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)