Infoblox::Grid::Discovery::BasicPollSettings - basic polling settings.


NAME

Infoblox::Grid::Discovery::BasicPollSettings - basic polling settings.


DESCRIPTION

The object provides information about basic polling settings.


CONSTRUCTOR

 my $object = Infoblox::Grid::Discovery::BasicPollSettings->new(
    'auto_arp_refresh_before_switch_port_polling'  => 'true' | 'false',                        # Optional / Default value is 'false'
    'device_profile'                               => 'true' | 'false',                        # Optional / Default value is 'false'
    'complete_ping_sweep'                          => 'true' | 'false',                        # Optional / Default value is 'false'
    'netbios_scanning'                             => 'true' | 'false',                        # Optional / Default value is 'false'
    'port_scanning'                                => 'true' | 'false',                        # Optional / Default value is 'false'
    'smart_subnet_ping_sweep'                      => 'true' | 'false',                        # Optional / Default value is 'false'
    'snmp_collection'                              => 'true' | 'false',                        # Optional / Default value is 'false'
    'cli_collection'                               => 'true' | 'false',                        # Optional / Default value is 'false'
    'switch_port_data_collection_polling'          => 'DISABLED' | 'PERIODIC' | 'SCHEDULED',   # Optional
    'switch_port_data_collection_polling_interval' => $uint,                                   # Optional
    'switch_port_data_collection_polling_schedule' => $schedule,                               # 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.

auto_arp_refresh_before_switch_port_polling( )

Use this method to enable or disable auto ARP refresh before switch port polling.

Parameter

Specify "true" to enable auto ARP refresh before switch port polling or "false" to disable it. Default value is "false".

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->auto_arp_refresh_before_switch_port_polling();
 # Modify attribute value
 $object->auto_arp_refresh_before_switch_port_polling('true');

cli_collection( )

Use this method to disable or enable CLI collection.

Parameter

Specify "true" to enable CLI collection or "false" to disable it. Default value if "false".

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->cli_collection();
 # Modify attribute value
 $object->cli_collection('true');

complete_ping_sweep( )

Use this method to enable or disable ping sweep.

Parameter

Specify "true" to enable ping sweep or "false" to disable it. Default value is "false".

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->complete_ping_sweep();
 # Modify attribute value
 $object->complete_ping_sweep('true');

device_profile( )

Use this method to enable or disable DHCP fingerprinting.

Parameter

Specify "true" to enable DHCP fingerprinting or "false" to disable it. Default value is "false".

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->device_profile();
 # Modify attribute value
 $object->device_profile('true');

netbios_scanning( )

Use this method to enable or disable NETBIOS scanning.

Parameter

Specify "true" to enable NETBIOS scanning or "false" to disable it. Default value is "false".

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->netbios_scanning();
 # Modify attribute value
 $object->netbios_scanning('true');

port_scanning( )

Use this method to enable or disable port scanning.

Parameter

Specify "true" to enable port scanning or "false" to disable it. Default value is "false".

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->port_scanning();
 # Modify attribute value
 $object->port_scanning('true');

smart_subnet_ping_sweep( )

Use this method to enable or disable smart subnet ping sweep.

Parameter

Specify "true" to enable smart subnet ping sweep or "false" to disable it. Default value is "false".

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->smart_subnet_ping_sweep();
 # Modify attribute value
 $object->smart_subnet_ping_sweep('true');

snmp_collection( )

Use this method to enable or disable SNMP collection.

Parameter

Specify "true" to enable SNMP collection or "false" to disable it. Default value is "false".

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->snmp_collection();
 # Modify attribute value
 $object->snmp_collection('true');

switch_port_data_collection_polling( )

Use this method to set or retrieve the polling mode.

Parameter

Valid value is 'DISABLED', 'PERIODIC' or 'SCHEDULED'.

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->switch_port_data_collection_polling();
 # Modify attribute value
 $object->switch_port_data_collection_polling('SCHEDULED');

switch_port_data_collection_polling_interval( )

Use this method to set or retrieve the polling interval.

Parameter

Valid value is an unsigned integer.

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->switch_port_data_collection_polling_interval();
 # Modify attribute value
 $object->switch_port_data_collection_polling_interval(100);

switch_port_data_collection_polling_schedule( )

Use this method to set or retrieve the polling schedule.

Parameter

Valid value is an Infoblox::Grid::ScheduleSetting 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->switch_port_data_collection_polling_schedule();
 # Modify attribute value
 $object->switch_port_data_collection_polling_schedule($schedule);


AUTHOR

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


SEE ALSO

Infoblox::Grid::ScheduleSetting


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.