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>
		
			
				
	
	
		
			48 lines
		
	
	
		
			801 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			801 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
========
 | 
						|
ip fixed
 | 
						|
========
 | 
						|
 | 
						|
Compute v2
 | 
						|
 | 
						|
ip fixed add
 | 
						|
------------
 | 
						|
 | 
						|
Add fixed IP address to server
 | 
						|
(Deprecated, please use ``server add fixed ip`` instead)
 | 
						|
 | 
						|
.. program:: ip fixed add
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os ip fixed add
 | 
						|
        <network>
 | 
						|
        <server>
 | 
						|
 | 
						|
.. describe:: <network>
 | 
						|
 | 
						|
    Network to fetch an IP address from (name or ID)
 | 
						|
 | 
						|
.. describe:: <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)
 | 
						|
 | 
						|
.. program:: ip fixed remove
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os ip fixed remove
 | 
						|
        <ip-address>
 | 
						|
        <server>
 | 
						|
 | 
						|
.. describe:: <ip-address>
 | 
						|
 | 
						|
    IP address to remove from server (name only)
 | 
						|
 | 
						|
.. describe:: <server>
 | 
						|
 | 
						|
    Server to remove the IP address from (name or ID)
 |