class documentation

class Pool(object):

Constructor: Pool(ip_range, subnet)

View In Hierarchy

Undocumented

Method __dict__ Return a dictionary representation of the pool, for making JSON in the format KEA expects
Method __init__ Initialize a pool object :param ip_range: A string in the format "Start-End" :param subnet: A string in the format "Network/CIDR" or Network/Netmask" or an ipaddress.IPNetwork object
Method ip_range.deleter Delete the IP range. Don't do this, becuae it doesn't do anything.
Method ip_range.setter Set the IP range from a string in the format "Start-End"
Instance Variable subnet Undocumented
Instance Variable subnet_type Undocumented
Property ip_range Return the IP range as a string in the format "Start-End"
Property network Return the network of the subnet
def __dict__(self):

Return a dictionary representation of the pool, for making JSON in the format KEA expects

def __init__(self, ip_range=None, subnet=None):

Initialize a pool object :param ip_range: A string in the format "Start-End" :param subnet: A string in the format "Network/CIDR" or Network/Netmask" or an ipaddress.IPNetwork object

@ip_range.deleter
def ip_range(self):

Delete the IP range. Don't do this, becuae it doesn't do anything.

@ip_range.setter
def ip_range(self, ip_range):

Set the IP range from a string in the format "Start-End"

subnet =

Undocumented

subnet_type =

Undocumented

@property
ip_range =

Return the IP range as a string in the format "Start-End"

@property
network =

Return the network of the subnet