Class: IControl::Networking::STPInstance::InterfaceSTPRole

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 role.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The interface/trunk name.

Returns:

  • (String)

    the current value of name



357
358
359
# File 'lib/icontrol/networking/stp_instance.rb', line 357

def name
  @name
end

#roleIControl::Networking::STPRoleType

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

Returns:



357
358
359
# File 'lib/icontrol/networking/stp_instance.rb', line 357

def role
  @role
end