Add 'project_id' to Server query parameters
This allow to list servers filtered by project. Change-Id: I0c169b5d47e645585855d953a9dfa33bf87de894 Closes-bug: #1680512
This commit is contained in:
@@ -33,6 +33,7 @@ class Server(resource2.Resource, metadata.MetadataMixin):
|
|||||||
"status", "host", "all_tenants",
|
"status", "host", "all_tenants",
|
||||||
"sort_key", "sort_dir",
|
"sort_key", "sort_dir",
|
||||||
"reservation_id", "tags",
|
"reservation_id", "tags",
|
||||||
|
"project_id",
|
||||||
tags_any="tags-any",
|
tags_any="tags-any",
|
||||||
not_tags="not-tags",
|
not_tags="not-tags",
|
||||||
not_tags_any="not-tags-any",
|
not_tags_any="not-tags-any",
|
||||||
|
@@ -91,6 +91,7 @@ class TestServer(testtools.TestCase):
|
|||||||
"sort_key": "sort_key",
|
"sort_key": "sort_key",
|
||||||
"sort_dir": "sort_dir",
|
"sort_dir": "sort_dir",
|
||||||
"reservation_id": "reservation_id",
|
"reservation_id": "reservation_id",
|
||||||
|
"project_id": "project_id",
|
||||||
"tags": "tags",
|
"tags": "tags",
|
||||||
"tags_any": "tags-any",
|
"tags_any": "tags-any",
|
||||||
"not_tags": "not-tags",
|
"not_tags": "not-tags",
|
||||||
|
Reference in New Issue
Block a user