Class: IControl::Networking::STPInstance::InterfacePriority

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 interface/trunk priority.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The interface/trunk name.

Returns:

  • (String)

    the current value of name



348
349
350
# File 'lib/icontrol/networking/stp_instance.rb', line 348

def name
  @name
end

#priorityNumeric

The associated priority of the network interface/trunk within a spanning tree instance.

Returns:

  • (Numeric)

    the current value of priority



348
349
350
# File 'lib/icontrol/networking/stp_instance.rb', line 348

def priority
  @priority
end