Missing 'ports' attribute when GET firewall-groups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Yushiro FURUKAWA |
Bug Description
In current fwaas-v2, "ports" attribute is missing when following requests:
* GET v2.0/fwaas/
* GET v2.0/fwaas/
It seems plugin layer does not have method 'get_firewall_
[How to reproduce]
$ source devstack/openrc admin admin
$ export TOKEN=`openstack token issue | grep ' id ' | get_field 2`
$ curl -X POST -d '{"firewall_
{
"firewall_group": {
"status": "INACTIVE",
"description": "",
"ingress_
"id": "04b9e7a5-
"name": "fwg",
"admin_
"tenant_id": "1c6afc3649a845
"ports": [],
"project_id": "1c6afc3649a845
"public": false,
"egress_
}
}
$ curl -s -X GET -H "x-auth-
{
"firewall_group": {
"status": "INACTIVE",
"public": false,
"egress_
"name": "fwg1",
"admin_
"tenant_id": "1c6afc3649a845
"project_id": "1c6afc3649a845
"id": "04b9e7a5-
"ingress_
"description": ""
}
}
$ curl -s -X PUT -d '{"firewall_
59d02d | jq "."
{
"firewall_group": {
"status": "INACTIVE",
"description": "",
"ingress_
"id": "04b9e7a5-
"name": "change",
"admin_
"tenant_id": "1c6afc3649a845
"ports": [],
"project_id": "1c6afc3649a845
"public": false,
"egress_
}
}
$ curl -s -X GET -H "x-auth-
{
"firewall_
{
"status": "INACTIVE",
"public": false,
"
"name": "change",
"
"tenant_id": "1c6afc3649a845
"project_id": "1c6afc3649a845
"id": "04b9e7a5-
"
"
}
]
}
Changed in neutron: | |
assignee: | nobody → Sridar Kandaswamy (skandasw) |
Changed in neutron: | |
status: | New → Confirmed |
just checked, the spec does specify this. Unfortunately there's no API documentation for the firewall-group feature. See bug [1]
[1] https:/ /bugs.launchpad .net/openstack- api-site/ +bug/1640437