Class: Ansible::Ruby::Modules::Cl_bridge
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cl_bridge
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb
Overview
Configures a bridge interface on Cumulus Linux To configure a bond port use the cl_bond module. To configure any other type of interface use the cl_interface module. Follow the guidelines for bridging found in the Cumulus User Guide at docs.cumulusnetworks.com
Instance Method Summary collapse
-
#addr_method ⇒ :dhcp?
Configures the port to use DHCP.
-
#alias_name ⇒ Object?
Add a port description.
-
#ipv4 ⇒ Object?
List of IPv4 addresses to configure on the interface.
-
#ipv6 ⇒ Object?
List of IPv6 addresses to configure on the interface.
-
#location ⇒ String?
Interface directory location.
-
#mstpctl_treeprio ⇒ Object?
Set spanning tree root priority.
-
#mtu ⇒ Object?
Set MTU.
-
#name ⇒ Object
Name of the interface.
-
#ports ⇒ Object
List of bridge members.
-
#pvid ⇒ Object?
In vlan aware mode, defines vlan that is the untagged vlan.
-
#stp ⇒ String?
Enables spanning tree.
-
#vids ⇒ Object?
In vlan aware mode, lists vlans defined under the interface.
-
#virtual_ip ⇒ Object?
Define IPv4 virtual IP used by the Cumulus Linux VRR feature.
-
#virtual_mac ⇒ Object?
Define Ethernet mac associated with Cumulus Linux VRR feature.
-
#vlan_aware ⇒ Object?
Enables vlan aware mode.
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
#addr_method ⇒ :dhcp?
Returns configures the port to use DHCP. To enable this feature use the option ‘dhcp’.
24 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 24 attribute :addr_method |
#alias_name ⇒ Object?
Returns add a port description.
15 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 15 attribute :alias_name |
#ipv4 ⇒ Object?
Returns list of IPv4 addresses to configure on the interface. use X.X.X.X/YY syntax.
18 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 18 attribute :ipv4 |
#ipv6 ⇒ Object?
Returns list of IPv6 addresses to configure on the interface. use X:X:X::X/YYY syntax.
21 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 21 attribute :ipv6 |
#location ⇒ String?
Returns interface directory location.
57 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 57 attribute :location |
#mstpctl_treeprio ⇒ Object?
Returns set spanning tree root priority. Must be a multiple of 4096.
54 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 54 attribute :mstpctl_treeprio |
#mtu ⇒ Object?
Returns set MTU. Configure Jumbo Frame by setting MTU to 9000.
28 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 28 attribute :mtu |
#name ⇒ Object
Returns name of the interface.
11 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 11 attribute :name |
#ports ⇒ Object
Returns list of bridge members.
47 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 47 attribute :ports |
#pvid ⇒ Object?
Returns in vlan aware mode, defines vlan that is the untagged vlan.
40 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 40 attribute :pvid |
#stp ⇒ String?
Returns enables spanning tree. As of Cumulus Linux 2.5 the default bridging mode, only per vlan RSTP or 802.1d is supported. For the vlan aware mode, only common instance STP is supported.
43 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 43 attribute :stp |
#vids ⇒ Object?
Returns in vlan aware mode, lists vlans defined under the interface.
37 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 37 attribute :vids |
#virtual_ip ⇒ Object?
Returns define IPv4 virtual IP used by the Cumulus Linux VRR feature.
31 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 31 attribute :virtual_ip |
#virtual_mac ⇒ Object?
Returns define Ethernet mac associated with Cumulus Linux VRR feature.
34 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 34 attribute :virtual_mac |
#vlan_aware ⇒ Object?
Returns enables vlan aware mode.
51 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb', line 51 attribute :vlan_aware |