Global Pass Upgrades Pacth 01: inputs from email by Greg patch 02: removed content from topic -display data network information using horizon Story: TBD Task: TBD Signed-off-by: Adil <mohamed.adilassakkali@windriver.com> Change-Id: Ia2aab6e6120329877ef1e8e5fc25f1af8d95854b
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
 | 
						|
.. lnl1559819027423
 | 
						|
.. _removing-a-data-network-using-the-cli:
 | 
						|
 | 
						|
===================================
 | 
						|
Remove a Data Network Using the CLI
 | 
						|
===================================
 | 
						|
 | 
						|
Before you can delete a data network, you must remove any interface
 | 
						|
associations.
 | 
						|
 | 
						|
.. rubric:: |context|
 | 
						|
 | 
						|
Complete the following steps to delete a data network.
 | 
						|
 | 
						|
.. rubric:: |prereq|
 | 
						|
 | 
						|
The following procedure requires that the host be locked.
 | 
						|
 | 
						|
.. rubric:: |proc|
 | 
						|
 | 
						|
#.  Remove the data network from the interface.
 | 
						|
 | 
						|
    #.  Identify the interface to be removed from the data network.
 | 
						|
 | 
						|
        For example:
 | 
						|
 | 
						|
        .. code-block:: none
 | 
						|
 | 
						|
            ~(keystone_admin)$ system interface-datanetwork-list controller-1
 | 
						|
            +--------------+--------------------------------------+--------+------------------+
 | 
						|
            | hostname     | uuid                                 | ifname | datanetwork_name |
 | 
						|
            +--------------+--------------------------------------+--------+------------------+
 | 
						|
            | controller-1 | 212d5afc-e417-49fe-919a-d94e9b46c236 | sriov0 | group0-data0     |
 | 
						|
            | controller-1 | 6c2f7066-3889-4291-8928-5fb4b2bccfee | data0  | group0-data0     |
 | 
						|
            | controller-1 | c4ac3c62-283e-491f-a08b-2e4a5ece205c | pthru0 | group0-data0     |
 | 
						|
            +--------------+--------------------------------------+--------+------------------+
 | 
						|
 | 
						|
    #.  Remove the interface from the network.
 | 
						|
 | 
						|
        For example:
 | 
						|
 | 
						|
        .. code-block:: none
 | 
						|
 | 
						|
            ~(keystone_admin)$ system interface-datanetwork-remove c4ac3c62-283e-491f-a08b-2e4a5ece205c
 | 
						|
            Deleted Interface DataNetwork: c4ac3c62-283e-491f-a08b-2e4a5ece205c
 | 
						|
 | 
						|
#.  Delete the data network from the system.
 | 
						|
 | 
						|
    .. code-block:: none
 | 
						|
 | 
						|
        ~[keystone_admin]$ system datanetwork-delete <datanetworkUUID>
 | 
						|
 | 
						|
    where <datanetworkUUID> is the UUID of the data network. |