Class: IControl::Networking::SelfIPPortLockdown::SelfIPAccess

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 the access mode for the specified self IP.

Instance Attribute Summary collapse

Instance Attribute Details

#modeIControl::Networking::SelfIPPortLockdown::AllowMode

The access mode for the self IP.

Returns:



109
110
111
# File 'lib/icontrol/networking/self_ip_port_lockdown.rb', line 109

def mode
  @mode
end

#protocol_portsIControl::Networking::SelfIPPortLockdown::ProtocolPortSequence

The list of protocols/ports for which access is allowed.

Returns:



109
110
111
# File 'lib/icontrol/networking/self_ip_port_lockdown.rb', line 109

def protocol_ports
  @protocol_ports
end

#self_ipString

The self IP address.

Returns:

  • (String)

    the current value of self_ip



109
110
111
# File 'lib/icontrol/networking/self_ip_port_lockdown.rb', line 109

def self_ip
  @self_ip
end