PHP WebShell
Текущая директория: /usr/lib/python3/dist-packages/cloudinit/sources/helpers/vmware/imc/__pycache__
Просмотр файла: nic_base.cpython-310.pyc
o
x[h � @ s. G d d� d�Z G dd� d�ZG dd� d�ZdS )c @ sl e Zd ZdZedd� �Zedd� �Zedd� �Zedd � �Zed
d� �Z edd
� �Z
edd� �Zdd� ZdS )�NicBasez{
Define what are expected of each nic.
The following properties should be provided in an implementation class.
c C � t d��)zb
Retrieves the mac address of the nic
@return (str) : the MACADDR setting
�MACADDR��NotImplementedError��self� r �O/usr/lib/python3/dist-packages/cloudinit/sources/helpers/vmware/imc/nic_base.py�mac � zNicBase.macc C r )a
Retrieves whether the nic is the primary nic
Indicates whether NIC will be used to define the default gateway.
If none of the NICs is configured to be primary, default gateway won't
be set.
@return (bool): the PRIMARY setting
�PRIMARYr r r r r �primary s zNicBase.primaryc C r )zu
Retrieves whether the nic should be up at the boot time
@return (bool) : the ONBOOT setting
�ONBOOTr r r r r �onboot"