Class: IControl::Common::IPNetmask

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

Overview

A struct that describes an IP address/netmask.

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

The IP Address.

Returns:

  • (String)

    the current value of address



140
141
142
# File 'lib/icontrol/common.rb', line 140

def address
  @address
end

#netmaskString

The netmask.

Returns:

  • (String)

    the current value of netmask



140
141
142
# File 'lib/icontrol/common.rb', line 140

def netmask
  @netmask
end