You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rafael Weingärtner (JIRA)" <ji...@apache.org> on 2017/03/03 15:18:45 UTC
[jira] [Resolved] (CLOUDSTACK-8873) listLoadBalancerRules response
JSON publicport/privateport not an int, zonename missing
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafael Weingärtner resolved CLOUDSTACK-8873.
--------------------------------------------
Resolution: Fixed
> 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: 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)