179ebe6d64
This patch does the following things to transfer "ip fixed add/remove" to "server add/remove fixed ip": * Add new command "server add/remove fixed ip", and unit tests and doc. * Deprecate "ip fixed add/remove" command. compute/v2/fixedip.py is not removed because the arguments' positions are different between the new and old commands. * ip fixed add <network> <server> server add fixed ip <server> <network> * ip fixed remove <ip-address> <server> server remove fixed ip <server> <ip-address> Change-Id: Ica07ccf92a76c21fd5608ecaff86ff7c4d96f5a0 Implements: blueprint rework-ip-commands Partial-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
801 B
801 B
ip fixed
Compute v2
ip fixed add
Add fixed IP address to server (Deprecated, please use
server add fixed ip
instead)
ip fixed add
os ip fixed add
<network>
<server>
<network>
Network to fetch an IP address from (name or ID)
<server>
Server to receive the IP address (name or ID)
ip fixed remove
Remove fixed IP address from server (Deprecated, please use
server remove fixed ip
instead)
ip fixed remove
os ip fixed remove
<ip-address>
<server>
<ip-address>
IP address to remove from server (name only)
<server>
Server to remove the IP address from (name or ID)