IPv6 network instances. Networks are the leaves underneath blocks that contain IP addresses.
class ip6_network.IP6Network(api, api_entity)
Instantiate an IPv6 network.
|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.
|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 a list of all addresses contained within the network. :return: Generator containing all child addresses.