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, ...
Returns Specify a port as a BPDU filter port.
49 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 49 attribute :bpdu_filter |
#bpdu_protection ⇒ :enable, ...
Returns Configure BPDU protection on an edge port. This function prevents network flapping caused by attack packets.
28 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 28 attribute :bpdu_protection |
#cost ⇒ Object?
Returns Set the path cost of the current port. The default instance is 0.
53 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 53 attribute :cost |
#edged_port ⇒ :enable, ...
Returns Set the current port as an edge port.
45 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 45 attribute :edged_port |
#interface ⇒ Object?
Returns Interface name. If the value is C(all), will apply configuration to all interfaces. if the value is a special name, only support input the full name.
42 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 42 attribute :interface |
#loop_protection ⇒ :enable, ...
Returns Enable loop protection on the current port.
60 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 60 attribute :loop_protection |
#root_protection ⇒ :enable, ...
Returns Enable root protection on the current port.
56 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 56 attribute :root_protection |
#state ⇒ :present, ...
Returns Specify desired state of the resource.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 12 attribute :state |
#stp_converge ⇒ :fast, ...
Returns STP convergence mode. Fast means set STP aging mode to Fast. Normal means set STP aging mode to Normal.
24 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 24 attribute :stp_converge |
#stp_enable ⇒ :enable, ...
Returns Enable or disable STP on a switch.
20 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 20 attribute :stp_enable |
#stp_mode ⇒ :stp, ...
Returns Set an operation mode for the current MSTP process. The mode can be STP, RSTP, or MSTP.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 16 attribute :stp_mode |
#tc_protection ⇒ :enable, ...
Returns Configure the TC BPDU protection function for an MSTP process.
32 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 32 attribute :tc_protection |
#tc_protection_interval ⇒ Object?
Returns Set the time the MSTP device takes to handle the maximum number of TC BPDUs and immediately refresh forwarding entries. The value is an integer ranging from 1 to 600, in seconds.
36 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 36 attribute :tc_protection_interval |
#tc_protection_threshold ⇒ Object?
Returns Set the maximum number of TC BPDUs that the MSTP can handle. The value is an integer ranging from 1 to 255. The default value is 1 on the switch.
39 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_stp.rb', line 39 attribute :tc_protection_threshold |