Infoblox::Grid::Discovery::IFAddrInfo - IFAddr information associated with the discovery interface.
The object provides IFAddr information associated with the discovery interface.
my $object = Infoblox::Grid::Discovery::IFAddrInfo->new( 'address' => $ipaddr, # Required 'address_object' => $addr_obj, # Optional 'network' => $network, # Optional 'network_str' => $address/cidr, # Optional );
The object does not support any session methods.
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to set or retrieve the IP address of the discovery interface.
The IP address in string format.
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.
# Get attribute value my $value = $object->address(); # Modify attribute value $object->address('10.0.0.1');
Use this method to set or retrieve the IP address object of the discovery interface.
Valid value is an Infoblox::IPAM::Address object.
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.
# Get attribute value my $value = $object->address_object(); # Modify attribute value $object->address_object($addr_obj);
Use this method to set or retrieve the network object of the discovery interface.
Valid value is an Infoblox::DHCP::Network or Infoblox::DHCP::IPv6Network object.
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.
# Get attribute value my $value = $object->network(); # Modify attribute value $object->network($network);
Use this method to set or retrieve the network address.
The network address in address/CIDR format.
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.
# Get attribute value my $value = $object->network_str(); # Modify attribute value $object->network_str('10.0.0.0/8');
Infoblox Inc. http://www.infoblox.com/
Infoblox::DHCP::Network, Infoblox::DHCP::IPv6Network, Infoblox::IPAM::Address
Copyright (c) 2017 Infoblox Inc.