 ff3a1d3780
			
		
	
	ff3a1d3780
	
	
	
		
			
			set host command is missing, add it as SetHost class. Change-Id: I7acb94150718b7150598632cbebc3d85018a0d59
		
			
				
	
	
		
			73 lines
		
	
	
		
			965 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			965 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| ====
 | |
| host
 | |
| ====
 | |
| 
 | |
| Compute v2
 | |
| 
 | |
| The physical computer running a hypervisor.
 | |
| 
 | |
| host list
 | |
| ---------
 | |
| 
 | |
| List all hosts
 | |
| 
 | |
| .. program:: host list
 | |
| .. code:: bash
 | |
| 
 | |
|     os host list
 | |
|         [--zone <availability-zone>]
 | |
| 
 | |
| .. option:: --zone <availability-zone>
 | |
| 
 | |
|     Only return hosts in the availability zone
 | |
| 
 | |
| host set
 | |
| --------
 | |
| 
 | |
| Set host command
 | |
| 
 | |
| .. program:: host set
 | |
| .. code:: bash
 | |
| 
 | |
|     os host set
 | |
|         [--enable | --disable]
 | |
|         [--enable-maintenance | --disable-maintenance]
 | |
|         <host>
 | |
| 
 | |
| .. _host-set:
 | |
| .. option:: --enable
 | |
| 
 | |
|     Enable the host
 | |
| 
 | |
| .. option:: --disable
 | |
| 
 | |
|     Disable the host
 | |
| 
 | |
| .. _maintenance-set:
 | |
| .. option:: --enable-maintenance
 | |
| 
 | |
|     Enable maintenance mode for the host
 | |
| 
 | |
| .. option:: --disable-maintenance
 | |
| 
 | |
|     Disable maintenance mode for the host
 | |
| 
 | |
| .. describe:: <host>
 | |
| 
 | |
|     The host (name or ID)
 | |
| 
 | |
| host show
 | |
| ---------
 | |
| 
 | |
| Display host details
 | |
| 
 | |
| .. program:: host show
 | |
| .. code:: bash
 | |
| 
 | |
|     os host show
 | |
|         <host>
 | |
| 
 | |
| .. describe:: <host>
 | |
| 
 | |
|     Name of host
 |