Comment 2 for bug 1465440

Revision history for this message
Akihiro Motoki (amotoki) wrote :

After a quick look around the code, I noticed two problems.

- 'shared' attribute in firewall resource is not passed to DB entry. [1]
- 'shared' attribute is marked as 'visible=False' in the attribute map, so 'shared' attribute does not exist in the API response. [2]

If we read the code and FWaaS API literally, it seems that changing the above two points fixes the bug.

[1] https://github.com/openstack/neutron-fwaas/blob/master/neutron_fwaas/db/firewall/firewall_db.py#L309
[2] https://github.com/openstack/neutron-fwaas/blob/master/neutron_fwaas/extensions/firewall.py#L323