Grid::Member::Communication - Grid::Member::Communication object.


NAME

Grid::Member::Communication - Grid::Member::Communication object.


DESCRIPTION

The structure stores information regarding service, transport type and preference.


MODULE METHODS

The following functions can be applied to a communication object.

Infoblox::Grid::Member->member_service_communication( )

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.

Example
 #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();


METHODS

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

option( )

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.

Parameter

None

Returns

The method returns the attribute value, which can be either "FORCE" or "PREFER".

Example
 #Get option
 my $option = $comm->option();

service( )

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.

Parameter

The valid value is one of the following: "GRID", "GRID_BACKUP", "NTP", "REPORTING", "REPORTING_BACKUP", "OCSP", "MAIL", "AD".

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 service
 my $service = $comm->service();
 # Modifying service
 $comm->service("GRID");

type( )

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.

Parameter

The valid value is IPv4 or IPv6.

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 type
 my $type = $comm->type();
 # Modifying type
 $comm->type("IPv4");


AUTHOR

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


SEE ALSO

Infoblox::Grid::Member/>


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.