Grid::Member::Communication - Grid::Member::Communication object.
The structure stores information regarding service, transport type and preference.
The following functions can be applied to a communication object.
Use this function to retrieve a reference to an array of Infoblox::Grid::Member::Communication objects that represents the communication settings for an Infoblox appliance.
#Retrieve the member object my $member = $session->get(object => 'Infoblox::Grid::Member', name => 'hostname.com');
# Access its communication settings my @communication = @{$member->member_service_communication()}; print $communications[0]->type();
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to retrieve the flag when the service is either forced to use one type of transport or have a preference for the transport type. This is a read-only attribute.
None
The method returns the attribute value, which can be either "FORCE" or "PREFER".
#Get option my $option = $comm->option();
Use this method to set or retrieve services for which communication type can be configured.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is one of the following: "GRID", "GRID_BACKUP", "NTP", "REPORTING", "REPORTING_BACKUP", "OCSP", "MAIL", "AD".
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 service my $service = $comm->service(); # Modifying service $comm->service("GRID");
Use this method to set or retrieve the transport type.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is IPv4 or IPv6.
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 type my $type = $comm->type(); # Modifying type $comm->type("IPv4");
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.