Mini Shell

Direktori : /lib/python3.6/site-packages/blivet/devices/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/blivet/devices/__pycache__/network.cpython-36.pyc

3

{)c'�@s ddlmZGdd�de�ZdS)�)�Tagsc@seZdZdZddd�ZdS)�NetworkStorageDevicez7 Virtual base class for network backed storage devices NcCs||_||_|jjtj�dS)a� Note this class is only to be used as a baseclass and then only with
            multiple inheritance. The only correct use is:
            class MyStorageDevice(StorageDevice, NetworkStorageDevice):

            The sole purpose of this class is to:
            1) Be able to check if a StorageDevice is network backed
               (using isinstance).
            2) To be able to get the host address of the host (server) backing
               the storage *or* the NIC through which the storage is connected

            :keyword host_address: host address of the backing server
            :type host_address: str
            :keyword nic: NIC to which the block device is bound
            :type nic: str
        N)�host_address�nicZtags�addrZremote)�selfrr�r�/usr/lib/python3.6/network.py�__init__szNetworkStorageDevice.__init__)NN)�__name__�
__module__�__qualname__�__doc__r
rrrr	rsrN)�libr�objectrrrrr	�<module>s