IP6Network class - Platform - BlueCat Gateway - 24.3.3

Gateway Administration Guide

ft:locale
en-US
Product name
BlueCat Gateway
Version
24.3.3

Click a link to jump to the indicated section.

class bluecat.ip6_network.IP6Network(api, api_entity)

Bases: bluecat.ip_object.IP6BlockNetwork bluecat.configuration.IP6SpaceConfigurationBlockNet

Instantiate an IPv6 network.

Parameters Description
api

API instance used by the entity to communicate with BAM.

api_entity

the entity returned by the BAM API.

add_address(address, address_type, name, properties='')

Add an IPv6 address to the network.

Parameters Description
address (str)

Address argument, changes depending on provided address type.

address_type (str)

Type of address passed in, can be “macAddress”, “IP6Address”, “InterfaceID”

name (str)

Name of the address.

properties (str, optional)

Adds object properties.

Return type: APIEntity

Returns: An IPv6 address object of the newly created address.

get_addresses()

Get a list of all addresses contained within the network.

Returns: Generator containing all child addresses.