summaryrefslogtreecommitdiff
path: root/openstackclient/tests/network/v2/fakes.py
diff options
context:
space:
mode:
authorJas <singhj@us.ibm.com>2016-01-21 04:19:48 -0600
committerJas <singhj@us.ibm.com>2016-01-29 09:52:02 -0600
commitc0d2120883080ba1a4326dc97e078d95de170a51 (patch)
tree335ba923df1989f7ad5ee8082acd265ef9b2abfa /openstackclient/tests/network/v2/fakes.py
parentbd1adaf003a805a1b480b7b48db2a9fe6c4a5ee9 (diff)
downloadpython-openstackclient-c0d2120883080ba1a4326dc97e078d95de170a51.tar.gz
Add availability zone support for router commands
This patch allows the adding of availability_zone_hints during router create. Also allows for the display of availability_zones during list and and show commands. Change-Id: Ifbc5c218bc7103d28076d726212ce25321bcf7f1 Partial-bug: #1519503 Partially-implements: blueprint neutron-client
Diffstat (limited to 'openstackclient/tests/network/v2/fakes.py')
-rw-r--r--openstackclient/tests/network/v2/fakes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/tests/network/v2/fakes.py b/openstackclient/tests/network/v2/fakes.py
index 80760a77..2bddf17e 100644
--- a/openstackclient/tests/network/v2/fakes.py
+++ b/openstackclient/tests/network/v2/fakes.py
@@ -171,6 +171,8 @@ class FakeRouter(object):
'tenant_id': 'project-id-' + uuid.uuid4().hex,
'routes': [],
'external_gateway_info': {},
+ 'availability_zone_hints': [],
+ 'availability_zones': [],
}
# Overwrite default attributes.