diff options
| author | reedip <reedip.banerjee@nectechnologies.in> | 2016-03-14 15:35:46 +0900 |
|---|---|---|
| committer | Reedip <reedip.banerjee@nectechnologies.in> | 2016-04-06 16:01:24 +0000 |
| commit | 107bc5164f99ef956d952273235648c7f8f26764 (patch) | |
| tree | ff5074d39b2e30a38db0fa4ee9de3396ba85d50d /openstackclient/tests/network/v2/fakes.py | |
| parent | 55b37d5e33f322077303a895d3453320b3895f11 (diff) | |
| download | python-openstackclient-107bc5164f99ef956d952273235648c7f8f26764.tar.gz | |
Add external network options to osc network create
The following patch adds the options "--external" & "--internal"
and the suboptions to "external": "--default" & "--no-default",
to "osc network create" CLI to provide the user an option to create
a network as an external network.
Change-Id: Idf73714bb94c0610ea164131140a51848908b00b
Partial-Bug: #1545537
Diffstat (limited to 'openstackclient/tests/network/v2/fakes.py')
| -rw-r--r-- | openstackclient/tests/network/v2/fakes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/tests/network/v2/fakes.py b/openstackclient/tests/network/v2/fakes.py index e35fbe16..7f89ef7a 100644 --- a/openstackclient/tests/network/v2/fakes.py +++ b/openstackclient/tests/network/v2/fakes.py @@ -152,6 +152,7 @@ class FakeNetwork(object): 'router_external': True, 'availability_zones': [], 'availability_zone_hints': [], + 'is_default': False, } # Overwrite default attributes. @@ -161,7 +162,7 @@ class FakeNetwork(object): network_methods = { 'keys': ['id', 'name', 'admin_state_up', 'router_external', 'status', 'subnets', 'tenant_id', 'availability_zones', - 'availability_zone_hints'], + 'availability_zone_hints', 'is_default'], } # Overwrite default methods. |
