IP4Address class - Platform - BlueCat Gateway - 18.10.2

Gateway Administration Guide

prodname
BlueCat Gateway
version_custom
18.10.2

classip4_address.IP4Address(api, api_entity)

Bases: bluecat.ip_address.IPAddress

IPv4 address objects.

Parameters Description
api API instance used by the entity to communicate with BAM.
api_entity The entity returned by the BAM API.

change_state_ip4_address(target_state, mac_address='')

Converts the state of an address from and between Reserved, DHCP Reserved, and Static, or DHCP allocated to DHCP reserved.
Parameters Description
target_state  
mac_address Optional and only needed if the target requires it (e.g. MAKE_DHCP_RESERVED).

get_address()

Get the address as a string.

get_reverse_name()

Get the reverse name for the address.

get_state()

Get the state of the address.

name()

Get the BAM name of the entity.