Module Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A abc oslo_config cfg oslo_log log N/A six neutron.ipam requests ipam_req neutron manager N/A LOG N/A N/A log getLogger __name__ Pool N/A object N/A N/A Interface definition for an IPAM driver.

    There should be an instance of the driver for every subnet pool.
     __init__ N/A N/A self subnetpool context N/A N/A N/A Initialize pool

        :param subnetpool: SubnetPool of the address space to use.
        :type subnetpool: dict
         N/A N/A self _subnetpool subnetpool N/A N/A self _context context N/A get_instance N/A N/A cls subnet_pool context N/A N/A N/A Returns an instance of the configured IPAM driver

        :param subnet_pool: Subnet pool of the address space to use.
        :type subnet_pool: dict
        :returns: An instance of Driver for the given subnet pool
         N/A ipam_driver_name N/A N/A cfg CONF ipam_driver N/A mgr N/A manager NeutronManager N/A N/A N/A LOG debug Loading ipam driver: %s ipam_driver_name N/A driver_class N/A N/A mgr load_class_for_provider neutron.ipam_drivers ipam_driver_name N/A N/A driver_class subnet_pool context N/A classmethod allocate_subnet N/A N/A self request N/A N/A N/A Allocates a subnet based on the subnet request

        :param request: Describes the allocation requested.
        :type request: An instance of a sub-class of SubnetRequest
        :returns: An instance of Subnet
        :raises: RequestNotSupported, IPAMAlreadyAllocated
         N/A N/A abc abstractmethod get_subnet N/A N/A self subnet_id N/A N/A N/A Gets the matching subnet if it has been allocated

        :param subnet_id: the subnet identifier
        :type subnet_id: str uuid
        :returns: An instance of IPAM Subnet
        :raises: IPAMAllocationNotFound
         N/A N/A abc abstractmethod update_subnet N/A N/A self request N/A N/A N/A Updates an already allocated subnet

        This is used to notify the external IPAM system of updates to a subnet.

        :param request: Update the subnet to match this request
        :type request: An instance of a sub-class of SpecificSubnetRequest
        :returns: An instance of IPAM Subnet
        :raises: RequestNotSupported, IPAMAllocationNotFound
         N/A N/A abc abstractmethod remove_subnet N/A N/A self subnet_id N/A N/A N/A Removes an allocation

        The initial reference implementation will probably do nothing.

        :param subnet_id: the subnet identifier
        :type subnet_id: str uuid
        :raises: IPAMAllocationNotFound
         N/A N/A abc abstractmethod get_subnet_request_factory N/A N/A self N/A N/A N/A Returns default SubnetRequestFactory

        Can be overridden on driver level to return custom factory
         N/A N/A ipam_req SubnetRequestFactory N/A get_address_request_factory N/A N/A self N/A N/A N/A Returns default AddressRequestFactory

        Can be overridden on driver level to return custom factory
         N/A N/A ipam_req AddressRequestFactory N/A N/A N/A N/A six add_metaclass N/A abc ABCMeta Subnet N/A object N/A N/A Interface definition for an IPAM subnet

    A subnet would typically be associated with a network but may not be.  It
    could represent a dynamically routed IP address space in which case the
    normal network and broadcast addresses would be useable.  It should always
    be a routable block of addresses and representable in CIDR notation.
     allocate N/A N/A self address_request N/A N/A N/A Allocates an IP address based on the request passed in

        :param address_request: Specifies what to allocate.
        :type address_request: An instance of a subclass of AddressRequest
        :returns: A netaddr.IPAddress
        :raises: AddressNotAvailable, AddressOutsideAllocationPool,
            AddressOutsideSubnet
         N/A N/A abc abstractmethod deallocate N/A N/A self address N/A N/A N/A Returns a previously allocated address to the pool

        :param address: The address to give back.
        :type address: A netaddr.IPAddress or convertible to one.
        :returns: None
        :raises: IPAMAllocationNotFound
         N/A N/A abc abstractmethod get_details N/A N/A self N/A N/A N/A Returns the details of the subnet

        :returns: An instance of SpecificSubnetRequest with the subnet detail.
         N/A N/A abc abstractmethod N/A N/A N/A six add_metaclass N/A abc ABCMeta