Class: IControl::Networking::STPInstance::PathCost

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

Overview

An struct that specifies an unit of interface/trunk path cost.

Instance Attribute Summary collapse

Instance Attribute Details

#typeIControl::Networking::STPInstance::PathCostType

The type of the path cost.

Returns:



375
376
377
# File 'lib/icontrol/networking/stp_instance.rb', line 375

def type
  @type
end

#valueNumeric

The value of the path cost.

Returns:

  • (Numeric)

    the current value of value



375
376
377
# File 'lib/icontrol/networking/stp_instance.rb', line 375

def value
  @value
end