summaryrefslogtreecommitdiff
path: root/quantumclient/common/clientmanager.py
diff options
context:
space:
mode:
authorYong Sheng Gong <gongysh@cn.ibm.com>2012-06-24 16:11:11 +0800
committerYong Sheng Gong <gongysh@cn.ibm.com>2012-06-25 18:19:18 +0800
commit50c46f61d1a76b5429c20ad61203afedc7c508bb (patch)
tree96ea2c8215533a36441a2005e4f1c15b822382a6 /quantumclient/common/clientmanager.py
parentdd803f8e26f4c3a3b8f1b9e7526d0e1980b2491c (diff)
downloadpython-neutronclient-0.1.0.tar.gz
add --fixed-ip argument to create port0.1.0
add --fixed-ip argument to create port and add list and dict type for unknow option now we can use known option feature: quantumv2 create_port --fixed-ip subnet_id=<id>,ip_address=<ip> --fixed-ip subnet_id=<id>, ip_address=<ip2> network_id or unknown option feature: one ip: quantumv2 create_port network_id --fixed_ips type=dict list=true subnet_id=<id>,ip_address=<ip> two ips: quantumv2 create_port network_id --fixed_ips type=dict subnet_id=<id>,ip_address=<ip> subnet_id=<id>,ip_address=<ip2> to create port Please download: https://review.openstack.org/#/c/8794/4 and set core_plugin = quantum.db.db_base_plugin_v2.QuantumDbPluginV2 on quantum server side Patch 2: support cliff 1.0 Patch 3: support specify auth strategy, for now, any other auth strategy than keystone will disable auth, format port output Patch 4: format None as '' when outputing, deal with list of dict, add QUANTUMCLIENT_DEBUG env to enable http req/resp print, which is helpful for testing nova integration Patch 5: fix interactive mode, and initialize_app problem Change-Id: I693848c75055d1947862d55f4b538c1dfb1e86db
Diffstat (limited to 'quantumclient/common/clientmanager.py')
-rw-r--r--quantumclient/common/clientmanager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantumclient/common/clientmanager.py b/quantumclient/common/clientmanager.py
index ee2fcf3..1c1f1ac 100644
--- a/quantumclient/common/clientmanager.py
+++ b/quantumclient/common/clientmanager.py
@@ -53,6 +53,7 @@ class ClientManager(object):
username=None, password=None,
region_name=None,
api_version=None,
+ auth_strategy=None
):
self._token = token
self._url = url
@@ -64,6 +65,7 @@ class ClientManager(object):
self._region_name = region_name
self._api_version = api_version
self._service_catalog = None
+ self._auth_strategy = auth_strategy
return
def initialize(self):