or you know what.. he mentions.. in the API layer. I could see how this
may be useful for people who just use the curl command.

** Changed in: neutron
       Status: New => Opinion

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

Title:
  QoS policy API does not accept 'tenant_id' filter

Status in neutron:
  Opinion

Bug description:
  The list operation of QoS policy API does not accept 'tenant_id' as filter. 
'project_id' filtering works.
  We treat project_id and tenant_id equally in the API layer. It would be a bug.

  ubuntu@sheep6:~/devstack (master) [OS_CLOUD:devstack][18:32:40]$ openstack 
token issue
  
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field      | Value                                                          
                                                                                
                                         |
  
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | expires    | 2017-06-05T19:32:46+0000                                       
                                                                                
                                         |
  | id         | 
gAAAAABZNaPOLTZpwefhxI9PNpNhDtJUuuQSNIyFP063zkoN6RfqM9Cu81k-WXBTWkKWcQzC2-fWQXUVUY5fvL5PunEcSpEn3gimAG1SOdBTL8IKzn8G6SDicc1G5ilZy-ruE99F3ztn4QW8BLd-Vh8F6O0Mkp0GwkIs4tE5e48r8xQh3kI_RFs
 |
  | project_id | dda5fe79cdd547e18647a4dd70cb411f                               
                                                                                
                                         |
  | user_id    | 7bcf326322944db99548092976dadd6b                               
                                                                                
                                         |
  
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  ubuntu@sheep6:~/devstack (master) [OS_CLOUD:devstack][18:32:46]$ neutron 
qos-policy-list --tenant-id dda5fe79cdd547e18647a4dd70cb411f
  neutron CLI is deprecated and will be removed in the future. Use openstack 
CLI instead.
  Invalid input for operation: 'tenant_id' is not supported for filtering.
  Neutron server returns request_ids: 
['req-0a0d76b2-b557-43a9-8608-48642512f951']
  ubuntu@sheep6:~/devstack (master) [OS_CLOUD:devstack][18:32:52]$ neutron 
qos-policy-list --project-id dda5fe79cdd547e18647a4dd70cb411f
  neutron CLI is deprecated and will be removed in the future. Use openstack 
CLI instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1695954/+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