cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From René Moser (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-8873) listLoadBalancerRules response JSON publicport/privateport not an int, zonename missing
Date Sat, 19 Sep 2015 00:36:04 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

René Moser updated CLOUDSTACK-8873:
-----------------------------------
    Description: 
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!*

  was:
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"
      "zonename": "myzone"
    }
  ]
}
{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"
    }
  ]
}
{code}

*Note: also check the response for createLoadBalancerRule when fixing this!*


> 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
>            Priority: Trivial
>             Fix For: 4.6.0
>
>
> 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.4#6332)

Mime
View raw message