Class: IControl::Networking::STPInstance::InterfacePathCost

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 path cost.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The interface/trunk name.

Returns:

  • (String)

    the current value of name


339
340
341
# File 'lib/icontrol/networking/stp_instance.rb', line 339

def name
  @name
end

#path_costIControl::Networking::STPInstance::PathCost

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

Returns:


339
340
341
# File 'lib/icontrol/networking/stp_instance.rb', line 339

def path_cost
  @path_cost
end