cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8873) listLoadBalancerRules response JSON publicport/privateport not an int, zonename missing
Date Fri, 10 Mar 2017 10:59:04 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904892#comment-15904892
] 

ASF GitHub Bot commented on CLOUDSTACK-8873:
--------------------------------------------

GitHub user resmo opened a pull request:

    https://github.com/apache/cloudstack/pull/2000

    CLOUDSTACK-8873: add zonename in load balancer response

    add zonename in response for consistency.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/resmo/cloudstack feature/CLOUDSTACK-8873

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/2000.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2000
    
----
commit 0ff7600a18ef82747a27bae7effabd7139127f87
Author: Rene Moser <resmo@apache.org>
Date:   2017-03-10T10:49:49Z

    CLOUDSTACK-8873: add zonename in load balancer response

----


> listLoadBalancerRules response JSON publicport/privateport not an int, zonename missing
> ---------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8873
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8873
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: René Moser
>            Assignee: René Moser
>            Priority: Trivial
>             Fix For: Future
>
>
> h2. actual
> {code:none}
> {
>   "count": 1, 
>   "loadbalancerrule": [
>     {
>       "account": "foo", 
>       "algorithm": "source", 
>       "cidrlist": "", 
>       "domain": "STXT", 
>       "domainid": "3a291b29-b184-4ddc-bdcc-8298c237942e", 
>       "id": "22bf1066-8bc3-425d-a213-a49431f7b865", 
>       "name": "foo", 
>       "networkid": "48df88b1-c2e2-432d-811a-681a2be74dde", 
>       "privateport": "80", 
>       "publicip": "1.2.4.5", 
>       "publicipid": "5d94a86d-0ee9-429a-9a5b-f57da4ee60cb", 
>       "publicport": "80", 
>       "state": "Add", 
>       "tags": [], 
>       "zoneid": "9e683e49-f4db-4b44-82ad-708689e9c4c8"
>     }
>   ]
> }
> {code}
> h2. expected
> {code:none}
> {
>   "count": 1, 
>   "loadbalancerrule": [
>     {
>       "account": "foo", 
>       "algorithm": "source", 
>       "cidrlist": "", 
>       "domain": "STXT", 
>       "domainid": "3a291b29-b184-4ddc-bdcc-8298c237942e", 
>       "id": "22bf1066-8bc3-425d-a213-a49431f7b865", 
>       "name": "foo", 
>       "networkid": "48df88b1-c2e2-432d-811a-681a2be74dde", 
>       "privateport": 80, 
>       "publicip": "1.2.4.5", 
>       "publicipid": "5d94a86d-0ee9-429a-9a5b-f57da4ee60cb", 
>       "publicport": 80, 
>       "state": "Add", 
>       "tags": [], 
>       "zoneid": "9e683e49-f4db-4b44-82ad-708689e9c4c8"
>       "zonename": "myzone"
>     }
>   ]
> }
> {code}
> *Note: also check the response for createLoadBalancerRule when fixing this!*



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message