← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623099] [NEW] 'firewall_policy_id' is missing in firewall_rule response body

 

Public bug reported:

This is FWaaS v2.

[How to reproduce]
$ source devstack/openrc admin admin
$ export TOKEN=`openstack token issue | grep ' id ' | get_field 2`
$  curl -s -X GET -H "x-auth-token:$TOKEN" localhost:9696/v2.0/fwaas/firewall_rules/19230148-740b-4546-9d9a-ab0c50178369 | jq "."

{
  "firewall_rule": {
    "protocol": null,
    "description": "",
    "source_ip_address": null,
    "destination_ip_address": null,
    "source_port": null,
    "destination_port": null,
    "id": "19230148-740b-4546-9d9a-ab0c50178369",
    "name": "rule3",
    "tenant_id": "aa8dcde3d61747b48f699dca6832af62",
    "enabled": true,
    "action": "deny",
    "ip_version": 4,
    "public": false
  }
}

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: fwaas

** Description changed:

+ This is FWaaS v2.
+ 
  [How to reproduce]
  $ source devstack/openrc admin admin
  $ export TOKEN=`openstack token issue | grep ' id ' | get_field 2`
  $  curl -s -X GET -H "x-auth-token:$TOKEN" localhost:9696/v2.0/fwaas/firewall_rules/19230148-740b-4546-9d9a-ab0c50178369 | jq "."
  
  {
-   "firewall_rule": {
-     "protocol": null,
-     "description": "",
-     "source_ip_address": null,
-     "destination_ip_address": null,
-     "source_port": null,
-     "destination_port": null,
-     "id": "19230148-740b-4546-9d9a-ab0c50178369",
-     "name": "rule3",
-     "tenant_id": "aa8dcde3d61747b48f699dca6832af62",
-     "enabled": true,
-     "action": "deny",
-     "ip_version": 4,
-     "public": false
-   }
+   "firewall_rule": {
+     "protocol": null,
+     "description": "",
+     "source_ip_address": null,
+     "destination_ip_address": null,
+     "source_port": null,
+     "destination_port": null,
+     "id": "19230148-740b-4546-9d9a-ab0c50178369",
+     "name": "rule3",
+     "tenant_id": "aa8dcde3d61747b48f699dca6832af62",
+     "enabled": true,
+     "action": "deny",
+     "ip_version": 4,
+     "public": false
+   }
  }

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1623099

Title:
  'firewall_policy_id' is missing in firewall_rule response body

Status in neutron:
  New

Bug description:
  This is FWaaS v2.

  [How to reproduce]
  $ source devstack/openrc admin admin
  $ export TOKEN=`openstack token issue | grep ' id ' | get_field 2`
  $  curl -s -X GET -H "x-auth-token:$TOKEN" localhost:9696/v2.0/fwaas/firewall_rules/19230148-740b-4546-9d9a-ab0c50178369 | jq "."

  {
    "firewall_rule": {
      "protocol": null,
      "description": "",
      "source_ip_address": null,
      "destination_ip_address": null,
      "source_port": null,
      "destination_port": null,
      "id": "19230148-740b-4546-9d9a-ab0c50178369",
      "name": "rule3",
      "tenant_id": "aa8dcde3d61747b48f699dca6832af62",
      "enabled": true,
      "action": "deny",
      "ip_version": 4,
      "public": false
    }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1623099/+subscriptions


Follow ups