cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jagadish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7638) cidrlist is empty in the response of API listNetworkACLs
Date Fri, 26 Sep 2014 19:36:35 GMT
jagadish created CLOUDSTACK-7638:
------------------------------------

             Summary: 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


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)

Mime
View raw message