Class: Ansible::Ruby::Modules::Onyx_linkagg

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

Overview

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



24
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 24

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/onyx/onyx_linkagg.rb', line 20

attribute :members

#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/onyx/onyx_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/onyx/onyx_linkagg.rb', line 12

attribute :name

#purgeSymbol?

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

Returns:

  • (Symbol, nil)

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



28
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 28

attribute :purge

#state:present, ...

Returns State of the link aggregation group.

Returns:

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

    State of the link aggregation group.



32
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 32

attribute :state