Class: IControl::Management::SNMPConfiguration::AgentListenAddressPort

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management/snmp_configuration.rb,
lib/icontrol/management/snmp_configuration.rb

Overview

Makes the agent listen on the specified list of sockets instead of the default port, which is port 161.

Instance Attribute Summary collapse

Instance Attribute Details

#ipportIControl::Common::IPPortDefinition

The address and port to use.

Returns:



1575
1576
1577
# File 'lib/icontrol/management/snmp_configuration.rb', line 1575

def ipport
  @ipport
end

#transportIControl::Management::SNMPConfiguration::TransportType

The trasport type to use (udp or tcp).

Returns:



1575
1576
1577
# File 'lib/icontrol/management/snmp_configuration.rb', line 1575

def transport
  @transport
end