IP6Network class - Platform - BlueCat Gateway - 23.1

Gateway Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
23.1

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

Address argument, changes depending on provided address type.

address_type

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

name

Name of the address.

properties

Adds object properties.

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.