libioc.Config.Jail.Properties.Addresses module¶
Jail config address property.
-
class
libioc.Config.Jail.Properties.Addresses.
AddressSet
(config=None, property_name='ip4_address', logger=None)[source]¶ Bases:
set
Set of IP addresses.
-
class
libioc.Config.Jail.Properties.Addresses.
AddressesProp
(config=None, property_name='ip4_address', logger=None, skip_on_error=False)[source]¶ Bases:
dict
Special jail config property Addresses.
-
add
(nic, addresses=None, notify=True, skip_on_error=False)[source]¶ Add one or many IP addresses to an interface.
- Return type
None
-
delimiter
= ','¶
-
property
networks
¶ Flat list of all networks configured across all NICs.
- Return type
List
[str
]
-
property_name
= 'ip4_address'¶
-
-
class
libioc.Config.Jail.Properties.Addresses.
IPv4AddressesProp
(config=None, property_name='ip4_address', logger=None, skip_on_error=False)[source]¶ Bases:
libioc.Config.Jail.Properties.Addresses.AddressesProp
Special jail config for IPv4 addresses.
-
ADDRESS_CLASS
¶ alias of
libioc.IPAddress.IPv4Interface
-
IP_VERSION
= 4¶
-
-
class
libioc.Config.Jail.Properties.Addresses.
IPv6AddressesProp
(config=None, property_name='ip4_address', logger=None, skip_on_error=False)[source]¶ Bases:
libioc.Config.Jail.Properties.Addresses.AddressesProp
Special jail config for IPv6 addresses.
-
ADDRESS_CLASS
¶ alias of
libioc.IPAddress.IPv6Interface
-
IP_VERSION
= 6¶
-