Class: Ansible::Ruby::Modules::Cl_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cl_interface
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb
Instance Method Summary collapse
-
#addr_method ⇒ Object?
Can be loopback for loopback interfaces or dhcp for dhcp interfaces.
-
#alias_name ⇒ Object?
Add a port description.
-
#clagd_enable ⇒ Object?
Enables the clagd daemon.
-
#clagd_peer_ip ⇒ Object?
IP address of the directly connected peer switch interface.
-
#clagd_priority ⇒ Object?
Integer that changes the role the switch has in the clag domain.
-
#clagd_sys_mac ⇒ Object?
Clagd system mac address.
-
#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_bpduguard ⇒ Object?
Enables BPDU Guard on a port in vlan-aware mode.
-
#mstpctl_portadminedge ⇒ Object?
Enables admin edge port.
-
#mstpctl_portnetwork ⇒ Object?
Enables bridge assurance in vlan-aware mode.
-
#mtu ⇒ Object?
Set MTU.
-
#name ⇒ Object
Name of the interface.
-
#pvid ⇒ Object?
In vlan aware mode, defines vlan that is the untagged vlan.
-
#speed ⇒ Object?
Set speed of the swp(front panel) or management(eth0) interface.
-
#vids ⇒ Object?
In vlan aware mode, lists vlans defined under the interface.
-
#virtual_ip ⇒ Object?
Define IPv4 virtual IP used by the Cumulus VRR feature.
-
#virtual_mac ⇒ Object?
Define Ethernet mac associated with Cumulus VRR feature.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#addr_method ⇒ Object?
Returns can be loopback for loopback interfaces or dhcp for dhcp interfaces.
23 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 23 attribute :addr_method |
#alias_name ⇒ Object?
Returns add a port description.
14 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 14 attribute :alias_name |
#clagd_enable ⇒ Object?
Returns Enables the clagd daemon. This command should only be applied to the clag peerlink interface.
50 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 50 attribute :clagd_enable |
#clagd_peer_ip ⇒ Object?
Returns IP address of the directly connected peer switch interface.
56 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 56 attribute :clagd_peer_ip |
#clagd_priority ⇒ Object?
Returns Integer that changes the role the switch has in the clag domain. The lower priority switch will assume the primary role. The number can be between 0 and 65535.
53 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 53 attribute :clagd_priority |
#clagd_sys_mac ⇒ Object?
Returns Clagd system mac address. Recommended to use the range starting with 44:38:39:ff. Needs to be the same between 2 Clag switches.
59 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 59 attribute :clagd_sys_mac |
#ipv4 ⇒ Object?
Returns list of IPv4 addresses to configure on the interface. use X.X.X.X/YY syntax.
17 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 17 attribute :ipv4 |
#ipv6 ⇒ Object?
Returns list of IPv6 addresses to configure on the interface. use X:X:X::X/YYY syntax.
20 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 20 attribute :ipv6 |
#location ⇒ String?
Returns interface directory location.
65 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 65 attribute :location |
#mstpctl_bpduguard ⇒ Object?
Returns Enables BPDU Guard on a port in vlan-aware mode.
41 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 41 attribute :mstpctl_bpduguard |
#mstpctl_portadminedge ⇒ Object?
Returns Enables admin edge port.
47 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 47 attribute :mstpctl_portadminedge |
#mstpctl_portnetwork ⇒ Object?
Returns Enables bridge assurance in vlan-aware mode.
44 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 44 attribute :mstpctl_portnetwork |
#mtu ⇒ Object?
Returns set MTU. Configure Jumbo Frame by setting MTU to 9000.
29 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 29 attribute :mtu |
#name ⇒ Object
Returns name of the interface.
10 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 10 attribute :name |
#pvid ⇒ Object?
Returns in vlan aware mode, defines vlan that is the untagged vlan.
62 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 62 attribute :pvid |
#speed ⇒ Object?
Returns set speed of the swp(front panel) or management(eth0) interface. speed is in MB.
26 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 26 attribute :speed |
#vids ⇒ Object?
Returns in vlan aware mode, lists vlans defined under the interface.
38 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 38 attribute :vids |
#virtual_ip ⇒ Object?
Returns define IPv4 virtual IP used by the Cumulus VRR feature.
32 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 32 attribute :virtual_ip |
#virtual_mac ⇒ Object?
Returns define Ethernet mac associated with Cumulus VRR feature.
35 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb', line 35 attribute :virtual_mac |