Class: Ansible::Ruby::Modules::Vyos_l3_interface

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/vyos/vyos_l3_interface.rb

Overview

This module provides declarative management of L3 interfaces on VyOS 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

#aggregate ⇒ Array<Hash>, ...

Returns List of L3 interfaces definitions.

Returns:

  • (Array<Hash>, Hash, nil) —

    List of L3 interfaces definitions



23
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_l3_interface.rb', line 23

attribute :aggregate

#ipv4 ⇒ String?

Returns IPv4 of the L3 interface.

Returns:

  • (String, nil) —

    IPv4 of the L3 interface.



16
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_l3_interface.rb', line 16

attribute :ipv4

#ipv6 ⇒ Object?

Returns IPv6 of the L3 interface.

Returns:

  • (Object, nil) —

    IPv6 of the L3 interface.



20
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_l3_interface.rb', line 20

attribute :ipv6

#name ⇒ String?

Returns Name of the L3 interface.

Returns:

  • (String, nil) —

    Name of the L3 interface.



12
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_l3_interface.rb', line 12

attribute :name

#state ⇒ :present, ...

Returns State of the L3 interface configuration.

Returns:

  • (:present, :absent, nil) —

    State of the L3 interface configuration.



27
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_l3_interface.rb', line 27

attribute :state