diff options
| author | Cedric Brandily <zzelle@gmail.com> | 2017-03-31 23:11:47 +0200 |
|---|---|---|
| committer | Cedric Brandily <zzelle@gmail.com> | 2017-04-03 20:19:40 +0200 |
| commit | 21510ac1a94eeb8de218a0edfe81db5ef0437249 (patch) | |
| tree | cf15fd62742d34c1e77cc94b0feca1e912bc81d9 /doc/source/command-objects/server.rst | |
| parent | 659115448803f1a6181ad0f592e0b61a86ad83fc (diff) | |
| download | python-openstackclient-21510ac1a94eeb8de218a0edfe81db5ef0437249.tar.gz | |
Enable to add/remove port to/from a server
This change enables to add/remove a specific port to/from a server using
the new commands:
openstack server add port <vm> <port>
openstack server remove port <vm> <port>
Closes-Bug: #1678137
Change-Id: I6ee57df089235ccc1fb9d38316bd484956b1134d
Diffstat (limited to 'doc/source/command-objects/server.rst')
| -rw-r--r-- | doc/source/command-objects/server.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index 047bf181..5efc057f 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -49,6 +49,26 @@ Add floating IP address to server Floating IP address (IP address only) to assign to server +server add port +--------------- + +Add port to server + +.. program:: server add port +.. code:: bash + + openstack server add port + <server> + <port> + +.. describe:: <server> + + Server to add the port to (name or ID) + +.. describe:: <port> + + Port to add to the server (name or ID) + server add security group ------------------------- @@ -523,6 +543,26 @@ Remove floating IP address from server Floating IP address (IP address only) to remove from server +server remove port +------------------ + +Remove port from server + +.. program:: server remove port +.. code:: bash + + openstack server remove port + <server> + <port> + +.. describe:: <server> + + Server to remove the port from (name or ID) + +.. describe:: <port> + + Port to remove from the server (name or ID) + server remove security group ---------------------------- |
