Infoblox::Grid::Discovery::IFAddrInfo - IFAddr information associated with the discovery interface.


NAME

Infoblox::Grid::Discovery::IFAddrInfo - IFAddr information associated with the discovery interface.


DESCRIPTION

The object provides IFAddr information associated with the discovery interface.


CONSTRUCTOR

 my $object = Infoblox::Grid::Discovery::IFAddrInfo->new(
    'address'        => $ipaddr,          # Required
    'address_object' => $addr_obj,        # Optional
    'network'        => $network,         # Optional
    'network_str'    => $address/cidr,    # Optional
 );


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

address( )

Use this method to set or retrieve the IP address of the discovery interface.

Parameter

The IP address in string format.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get attribute value
 my $value = $object->address();
 # Modify attribute value
 $object->address('10.0.0.1');

address_object( )

Use this method to set or retrieve the IP address object of the discovery interface.

Parameter

Valid value is an Infoblox::IPAM::Address object.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get attribute value
 my $value = $object->address_object();
 # Modify attribute value
 $object->address_object($addr_obj);

network( )

Use this method to set or retrieve the network object of the discovery interface.

Parameter

Valid value is an Infoblox::DHCP::Network or Infoblox::DHCP::IPv6Network object.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get attribute value
 my $value = $object->network();
 # Modify attribute value
 $object->network($network);

network_str( )

Use this method to set or retrieve the network address.

Parameter

The network address in address/CIDR format.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get attribute value
 my $value = $object->network_str();
 # Modify attribute value
 $object->network_str('10.0.0.0/8');


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::DHCP::Network, Infoblox::DHCP::IPv6Network, Infoblox::IPAM::Address


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.