summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorHongbin Lu <hongbin.lu@huawei.com>2017-10-03 15:35:56 +0000
committerHongbin Lu <hongbin034@gmail.com>2017-10-26 15:34:04 +0000
commite3ad82164dc5c51b5f3cb75b826bc15a6778b8b0 (patch)
tree0029ba87e14707d7a6dec0754bc4eaf808f22696 /setup.cfg
parent8efed05e823eb76f309c0fee821fdc67a9886a3a (diff)
downloadpython-openstackclient-e3ad82164dc5c51b5f3cb75b826bc15a6778b8b0.tar.gz
Added AddNetwork command to server
Currently, if users want to add another NIC to a running instance, they need to (i) create a neutron port and (ii) add the port to the server via teh AddPort command. It would be more convenient to have a single command to achieve the equivalent. Novaclient already support adding network to an instance via the interface-attach command. This patch introduces a similar capability in OSC. Change-Id: Ia3e39c57ae7ecb96aae1b66adc52c289daccb6ec
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 2412b6fe..f2a4436b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -104,6 +104,7 @@ openstack.compute.v2 =
server_add_fixed_ip = openstackclient.compute.v2.server:AddFixedIP
server_add_floating_ip = openstackclient.compute.v2.server:AddFloatingIP
server_add_port = openstackclient.compute.v2.server:AddPort
+ server_add_network = openstackclient.compute.v2.server:AddNetwork
server_add_security_group = openstackclient.compute.v2.server:AddServerSecurityGroup
server_add_volume = openstackclient.compute.v2.server:AddServerVolume
server_create = openstackclient.compute.v2.server:CreateServer