Class: Ansible::Ruby::Modules::Net_linkagg

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

Overview

This module provides declarative management of link aggregation groups on 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 link aggregation definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of link aggregation definitions.



27
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 27

attribute :aggregate

#membersArray<String>, String

Returns List of members interfaces of the link aggregation group. The value can be single interface or list of interfaces.

Returns:

  • (Array<String>, String)

    List of members interfaces of the link aggregation group. The value can be single interface or list of interfaces.



20
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 20

attribute :members

Returns Minimum members that should be up before bringing up the link aggregation group.

Returns:

  • (Object, nil)

    Minimum members that should be up before bringing up the link aggregation group.



24
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 24

attribute :min_links

#modeBoolean?

Returns Mode of the link aggregation group. A value of C(on) will enable LACP. C(active) configures the link to actively information about the state of the link, or it can be configured in C(passive) mode ie. send link state information only when received them from another link.

Returns:

  • (Boolean, nil)

    Mode of the link aggregation group. A value of C(on) will enable LACP. C(active) configures the link to actively information about the state of the link, or it can be configured in C(passive) mode ie. send link state information only when received them from another link.



16
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 16

attribute :mode

#nameString

Returns Name of the link aggregation group.

Returns:

  • (String)

    Name of the link aggregation group.



12
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 12

attribute :name

#purgeBoolean?

Returns Purge link aggregation groups not defined in the I(aggregate) parameter.

Returns:

  • (Boolean, nil)

    Purge link aggregation groups not defined in the I(aggregate) parameter.



31
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 31

attribute :purge

#state:present, ...

Returns State of the link aggregation group.

Returns:

  • (:present, :absent, :up, :down, nil)

    State of the link aggregation group.



35
# File 'lib/ansible/ruby/modules/generated/network/interface/net_linkagg.rb', line 35

attribute :state