add --fixed-ip argument to create port
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
Showing
- quantumclient/client.py 16 additions, 4 deletionsquantumclient/client.py
- quantumclient/common/clientmanager.py 2 additions, 0 deletionsquantumclient/common/clientmanager.py
- quantumclient/common/command.py 6 additions, 0 deletionsquantumclient/common/command.py
- quantumclient/common/utils.py 14 additions, 3 deletionsquantumclient/common/utils.py
- quantumclient/quantum/client.py 2 additions, 1 deletionquantumclient/quantum/client.py
- quantumclient/quantum/v2_0/__init__.py 36 additions, 4 deletionsquantumclient/quantum/v2_0/__init__.py
- quantumclient/quantum/v2_0/port.py 14 additions, 1 deletionquantumclient/quantum/v2_0/port.py
- quantumclient/shell.py 43 additions, 30 deletionsquantumclient/shell.py
- quantumclient/tests/unit/test_casual_args.py 13 additions, 0 deletionsquantumclient/tests/unit/test_casual_args.py
Loading
Please register or sign in to comment