Class: IControl::Networking::STPInstance::InterfaceSTPState

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 STP state.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The interface/trunk name.

Returns:

  • (String)

    the current value of name


366
367
368
# File 'lib/icontrol/networking/stp_instance.rb', line 366

def name
  @name
end

#stateIControl::Networking::STPStateType

The STP state of the network interface/trunk within a spanning tree instance.

Returns:


366
367
368
# File 'lib/icontrol/networking/stp_instance.rb', line 366

def state
  @state
end