Class: Ansible::Ruby::Modules::Slxos_l3_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Slxos_l3_interface
- Defined in:
- lib/ansible/ruby/modules/generated/network/slxos/slxos_l3_interface.rb
Overview
This module provides declarative management of L3 interfaces on slxos network devices.
Instance Method Summary collapse
-
#aggregate ⇒ Array<Hash>, ...
List of L3 interfaces definitions.
-
#ipv4 ⇒ String?
IPv4 address to be set for the L3 interface mentioned in I(name) option.
-
#ipv6 ⇒ String?
IPv6 address to be set for the L3 interface mentioned in I(name) option.
-
#name ⇒ String?
Name of the L3 interface to be configured eg.
-
#state ⇒ :present, ...
State of the L3 interface configuration.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#aggregate ⇒ Array<Hash>, ...
Returns List of L3 interfaces definitions. Each of the entry in aggregate list should define name of interface C(name) and a optional C(ipv4) or C(ipv6) address.
24 |
# File 'lib/ansible/ruby/modules/generated/network/slxos/slxos_l3_interface.rb', line 24 attribute :aggregate |
#ipv4 ⇒ String?
Returns IPv4 address to be set for the L3 interface mentioned in I(name) option. The address format is <ipv4 address>/<mask>, the mask is number in range 0-32 eg. 192.168.0.1/24.
16 |
# File 'lib/ansible/ruby/modules/generated/network/slxos/slxos_l3_interface.rb', line 16 attribute :ipv4 |
#ipv6 ⇒ String?
Returns IPv6 address to be set for the L3 interface mentioned in I(name) option. The address format is <ipv6 address>/<mask>, the mask is number in range 0-128 eg. fd5d:12c9:2201:1::1/64.
20 |
# File 'lib/ansible/ruby/modules/generated/network/slxos/slxos_l3_interface.rb', line 20 attribute :ipv6 |
#name ⇒ String?
Returns Name of the L3 interface to be configured eg. Ethernet 0/2.
12 |
# File 'lib/ansible/ruby/modules/generated/network/slxos/slxos_l3_interface.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns State of the L3 interface configuration. It indicates if the configuration should be present or absent on remote device.
28 |
# File 'lib/ansible/ruby/modules/generated/network/slxos/slxos_l3_interface.rb', line 28 attribute :state |