[
https://issues.apache.org/jira/browse/CLOUDSTACK-7638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohit Yadav closed CLOUDSTACK-7638.
-----------------------------------
Resolution: Fixed
Assignee: Rohit Yadav
> cidrlist is empty in the response of API listNetworkACLs
> --------------------------------------------------------
>
> Key: CLOUDSTACK-7638
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7638
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API, Management Server
> Affects Versions: 4.4.0
> Reporter: jagadish
> Assignee: Rohit Yadav
>
> http://cloudstack/client/api?apiKey=THE_API_KEY&response=json&command=listNetworkACLs&id=4c99aa8d-04cd-48c3-93df-aba46476e018&signature=tZOe%2Fx5acIrKbWXtl1abUW190To%3D
> {"listnetworkaclsresponse":{"count":1,"networkacl":[{"id":"4c99aa8d-04cd-48c3-93df-aba46476e018","protocol":"tcp","startport":"444","endport":"444","traffictype":"Ingress","state":"Active","cidrlist":"","tags":[],"aclid":"f9dc024f-86d9-43ec-b518-f03e28cb5c80","number":7,"action":"Allow","fordisplay":true}]}}
> In the result cidrlist is empty , even if it is present in the database table
> .
> The API should return the cidrlist .
> mysql> select * from network_acl_item where
> uuid="4c99aa8d-04cd-48c3-93df-aba46476e018" ;
> +----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+--------+--------+---------+
> | id | uuid | acl_id | start_port | end_port
> | state | protocol | created | icmp_code | icmp_type |
> traffic_type | number | action | display |
> +----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+--------+--------+---------+
> | 18 | 4c99aa8d-04cd-48c3-93df-aba46476e018 | 4 | 444 | 444
> | Active | tcp | 2014-09-26 01:21:20 | NULL | NULL | Ingress
> | 7 | Allow | 1 |
> +----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+--------+--------+---------+
> 1 row in set (0.00 sec)
> mysql> select * from network_acl_item_cidrs where id=18;
> +----+---------------------+--------------+
> | id | network_acl_item_id | cidr |
> +----+---------------------+--------------+
> | 18 | 18 | 11.11.3.0/24 |
> +----+---------------------+--------------+
> 1 row in set (0.00 sec)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)