Class: Ansible::Ruby::Modules::Slxos_l3_interface

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#aggregateArray<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.

Returns:

  • (Array<Hash>, Hash, nil)

    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

#ipv4String?

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.

Returns:

  • (String, nil)

    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

#ipv6String?

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.

Returns:

  • (String, nil)

    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

#nameString?

Returns Name of the L3 interface to be configured eg. Ethernet 0/2.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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