Class: Ansible::Ruby::Modules::Onyx_interface

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

Overview

This module provides declarative management of Interfaces 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

#aggregateObject?

Returns List of Interfaces definitions.

Returns:

  • (Object, nil)

    List of Interfaces definitions.



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

attribute :aggregate

#delayInteger?

Returns Time in seconds to wait before checking for the operational state on remote device. This wait is applicable for operational state argument which are I(state) with values C(up)/C(down).

Returns:

  • (Integer, nil)

    Time in seconds to wait before checking for the operational state on remote device. This wait is applicable for operational state argument which are I(state) with values C(up)/C(down).



45
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 45

attribute :delay

#descriptionString?

Returns Description of Interface.

Returns:

  • (String, nil)

    Description of Interface.



16
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 16

attribute :description

#duplex:full, ...

Returns Interface link status.

Returns:

  • (:full, :half, :auto, nil)

    Interface link status



35
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 35

attribute :duplex

#enabledSymbol?

Returns Interface link status.

Returns:

  • (Symbol, nil)

    Interface link status.



20
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 20

attribute :enabled

#mtuInteger?

Returns Maximum size of transmit packet.

Returns:

  • (Integer, nil)

    Maximum size of transmit packet.



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

attribute :mtu

#nameString

Returns Name of the Interface.

Returns:

  • (String)

    Name of the Interface.



12
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 12

attribute :name

#purgeSymbol?

Returns Purge Interfaces not defined in the aggregate parameter. This applies only for logical interface.

Returns:

  • (Symbol, nil)

    Purge Interfaces not defined in the aggregate parameter. This applies only for logical interface.



49
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 49

attribute :purge

#rx_rateObject?

Returns Receiver rate in bits per second (bps).,This is state check parameter only.,Supports conditionals, see L(Conditionals in Networking Modules,../network/user_guide/network_working_with_command_output.html).

Returns:

  • (Object, nil)

    Receiver rate in bits per second (bps).,This is state check parameter only.,Supports conditionals, see L(Conditionals in Networking Modules,../network/user_guide/network_working_with_command_output.html)



42
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 42

attribute :rx_rate

#speed:"1G", ...

Returns Interface link speed.

Returns:

  • (:"1G", :"10G", :"25G", :"40G", :"50G", :"56G", :"100G", nil)

    Interface link speed.



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

attribute :speed

#state:present, ...

Returns State of the Interface configuration, C(up) means present and operationally up and C(down) means present and operationally C(down).

Returns:

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

    State of the Interface configuration, C(up) means present and operationally up and C(down) means present and operationally C(down)



53
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 53

attribute :state

#tx_rateObject?

Returns Transmit rate in bits per second (bps).,This is state check parameter only.,Supports conditionals, see L(Conditionals in Networking Modules,../network/user_guide/network_working_with_command_output.html).

Returns:

  • (Object, nil)

    Transmit rate in bits per second (bps).,This is state check parameter only.,Supports conditionals, see L(Conditionals in Networking Modules,../network/user_guide/network_working_with_command_output.html)



39
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_interface.rb', line 39

attribute :tx_rate