Replace interface with port for attaching/detaching interfaces

To make it consistent with VMs command in osc, replacing interface
with port.

Change-Id: I36b9ceb6d46615e46b231a9201f98ef55ad52524
This commit is contained in:
Zhenguo Niu 2017-09-14 10:37:49 +08:00
parent f3c1f69932
commit 240a6056ee
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ Baremetalcompute server
:command: baremetalcompute server add floating ip
.. autoprogram-cliff:: openstack.baremetal_compute.v1
:command: baremetalcompute server add interface
:command: baremetalcompute server add port
.. autoprogram-cliff:: openstack.baremetal_compute.v1
:command: baremetalcompute server lock
@ -34,7 +34,7 @@ Baremetalcompute server
:command: baremetalcompute server remove floating ip
.. autoprogram-cliff:: openstack.baremetal_compute.v1
:command: baremetalcompute server remove interface
:command: baremetalcompute server remove port
.. autoprogram-cliff:: openstack.baremetal_compute.v1
:command: baremetalcompute server set

View File

@ -50,8 +50,8 @@ openstack.baremetal_compute.v1 =
baremetalcompute_server_netinfo = moganclient.osc.v1.server:ShowServerNetworkInfo
baremetalcompute_server_add_floating_ip = moganclient.osc.v1.server:AddFloatingIP
baremetalcompute_server_remove_floating_ip = moganclient.osc.v1.server:RemoveFloatingIP
baremetalcompute_server_add_interface = moganclient.osc.v1.server:AddInterface
baremetalcompute_server_remove_interface = moganclient.osc.v1.server:RemoveInterface
baremetalcompute_server_add_port = moganclient.osc.v1.server:AddInterface
baremetalcompute_server_remove_port = moganclient.osc.v1.server:RemoveInterface
baremetalcompute_console_url_show = moganclient.osc.v1.server:ShowConsoleURL
baremetalcompute_availability_zone_list = moganclient.osc.v1.availability_zone:ListAvailabilityZone
baremetalcompute_keypair_create = moganclient.osc.v1.keypair:CreateKeyPair