Class: Ansible::Ruby::Modules::Nxos_portchannel

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

Overview

Manages port-channel specific configuration parameters.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#force:false, ...

Returns When true it forces port-channel members to match what is declared in the members param. This can be used to remove members.

Returns:

  • (:false, :true, nil)

    When true it forces port-channel members to match what is declared in the members param. This can be used to remove members.



27
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_portchannel.rb', line 27

attribute :force

#groupInteger

Returns Channel-group number for the port-channel.

Returns:

  • (Integer)

    Channel-group number for the port-channel.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_portchannel.rb', line 12

attribute :group

#membersArray<String>, ...

Returns List of interfaces that will be managed in a given portchannel.

Returns:

  • (Array<String>, String, nil)

    List of interfaces that will be managed in a given portchannel.



23
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_portchannel.rb', line 23

attribute :members

Returns Min links required to keep portchannel up.

Returns:

  • (Object, nil)

    Min links required to keep portchannel up.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_portchannel.rb', line 20

attribute :min_links

#modeBoolean?

Returns Mode for the port-channel, i.e. on, active, passive.

Returns:

  • (Boolean, nil)

    Mode for the port-channel, i.e. on, active, passive.



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_portchannel.rb', line 16

attribute :mode

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



31
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_portchannel.rb', line 31

attribute :state