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)

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

- (String) name

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

- (IControl::Networking::STPInstance::PathCost) path_cost

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