class documentation

class Subnet(object):

Constructor: Subnet()

View In Hierarchy

Undocumented

Method __dict__ Return a dictionary representation of the subnet, for making JSON in the format KEA expects
Method __init__ Initialize a subnet object, with empty strings and lists
Instance Variable id The ID of the subnet. This must be unique on the server, but the only test so far is that it is not negative
Instance Variable name The name of the subnet
Instance Variable pools A list of Pool objects
Instance Variable subnet_type The type of subnet, subnet_type.v4, subnet_type.v6, or subnet_type.pd
def __dict__(self):

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

def __init__(self):

Initialize a subnet object, with empty strings and lists

id: int =

The ID of the subnet. This must be unique on the server, but the only test so far is that it is not negative

name =

The name of the subnet

pools: list =

A list of Pool objects

subnet_type =

The type of subnet, subnet_type.v4, subnet_type.v6, or subnet_type.pd