Class: IControl::Networking::SelfIPPortLockdown::ProtocolPort

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

Overview

A structure that defines protocol / port combination.

Instance Attribute Summary collapse

Instance Attribute Details

#portNumeric

The port for which access is allowed.

Returns:

  • (Numeric)

    the current value of port



99
100
101
# File 'lib/icontrol/networking/self_ip_port_lockdown.rb', line 99

def port
  @port
end

#protocolIControl::Common::ProtocolType

The protocol on which access is allowed.

Returns:



99
100
101
# File 'lib/icontrol/networking/self_ip_port_lockdown.rb', line 99

def protocol
  @protocol
end