Class: Ansible::Ruby::Modules::Ce_stp
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_stp
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb
Overview
Manages STP configurations on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#bpdu_filter ⇒ :enable, ...
Specify a port as a BPDU filter port.
-
#bpdu_protection ⇒ :enable, ...
Configure BPDU protection on an edge port.
-
#cost ⇒ Object?
Set the path cost of the current port.
-
#edged_port ⇒ :enable, ...
Set the current port as an edge port.
-
#interface ⇒ Object?
Interface name.
-
#loop_protection ⇒ :enable, ...
Enable loop protection on the current port.
-
#root_protection ⇒ :enable, ...
Enable root protection on the current port.
-
#state ⇒ :present, ...
Specify desired state of the resource.
-
#stp_converge ⇒ :fast, ...
STP convergence mode.
-
#stp_enable ⇒ :enable, ...
Enable or disable STP on a switch.
-
#stp_mode ⇒ :stp, ...
Set an operation mode for the current MSTP process.
-
#tc_protection ⇒ :enable, ...
Configure the TC BPDU protection function for an MSTP process.
-
#tc_protection_interval ⇒ Object?
Set the time the MSTP device takes to handle the maximum number of TC BPDUs and immediately refresh forwarding entries.
-
#tc_protection_threshold ⇒ Object?
Set the maximum number of TC BPDUs that the MSTP can handle.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#bpdu_filter ⇒ :enable, ...
49 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 49 attribute :bpdu_filter |
#bpdu_protection ⇒ :enable, ...
28 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 28 attribute :bpdu_protection |
#cost ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 53 attribute :cost |
#edged_port ⇒ :enable, ...
45 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 45 attribute :edged_port |
#interface ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 42 attribute :interface |
#loop_protection ⇒ :enable, ...
60 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 60 attribute :loop_protection |
#root_protection ⇒ :enable, ...
56 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 56 attribute :root_protection |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 12 attribute :state |
#stp_converge ⇒ :fast, ...
24 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 24 attribute :stp_converge |
#stp_enable ⇒ :enable, ...
20 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 20 attribute :stp_enable |
#stp_mode ⇒ :stp, ...
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 16 attribute :stp_mode |
#tc_protection ⇒ :enable, ...
32 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 32 attribute :tc_protection |
#tc_protection_interval ⇒ Object?
36 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 36 attribute :tc_protection_interval |
#tc_protection_threshold ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 39 attribute :tc_protection_threshold |