Public bug reported:

Quota list API returns tenant_id with the project's resource quota but
it doesn't return project_id.

$ curl -g -i -X GET http://127.0.0.1:9696/v2.0/quotas.json -H "User-
Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-
Token: $TOKEN"

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 223
X-Openstack-Request-Id: req-888fc950-bcc3-4afd-b41c-d5cec29bbc37
Date: Fri, 24 Feb 2017 22:07:06 GMT

{"quotas": [{"subnet": 10, "network": 20, "floatingip": 50, "tenant_id":
"98349a417b15492ab750c7705bfe2fa1", "subnetpool": -1,
"security_group_rule": 100, "security_group": 10, "router": 10,
"rbac_policy": 10, "port": 50}]}

** Affects: neutron
     Importance: Undecided
     Assignee: Hirofumi Ichihara (ichihara-hirofumi)
         Status: In Progress


** Tags: api

** Changed in: neutron
     Assignee: (unassigned) => Hirofumi Ichihara (ichihara-hirofumi)

** Tags added: api

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

Title:
  Quota list API doesn't return project_id

Status in neutron:
  In Progress

Bug description:
  Quota list API returns tenant_id with the project's resource quota but
  it doesn't return project_id.

  $ curl -g -i -X GET http://127.0.0.1:9696/v2.0/quotas.json -H "User-
  Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-
  Token: $TOKEN"

  HTTP/1.1 200 OK
  Content-Type: application/json
  Content-Length: 223
  X-Openstack-Request-Id: req-888fc950-bcc3-4afd-b41c-d5cec29bbc37
  Date: Fri, 24 Feb 2017 22:07:06 GMT

  {"quotas": [{"subnet": 10, "network": 20, "floatingip": 50,
  "tenant_id": "98349a417b15492ab750c7705bfe2fa1", "subnetpool": -1,
  "security_group_rule": 100, "security_group": 10, "router": 10,
  "rbac_policy": 10, "port": 50}]}

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to