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

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

#portNumeric

The port for which access is allowed.



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.



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

def protocol
  @protocol
end