Class: Ansible::Ruby::Modules::Ios_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ios_interface
- Defined in:
- lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb
Overview
This module provides declarative management of Interfaces on Cisco IOS network devices.
Instance Method Summary collapse
-
#aggregate ⇒ Array<Hash>, ...
List of Interfaces definitions.
-
#delay ⇒ Integer?
Time in seconds to wait before checking for the operational state on remote device.
-
#description ⇒ String?
Description of Interface.
-
#duplex ⇒ :full, ...
Interface link status.
-
#enabled ⇒ TrueClass, ...
Interface link status.
-
#mtu ⇒ Integer?
Maximum size of transmit packet.
-
#name ⇒ String
Name of the Interface.
-
#neighbors ⇒ Array<Hash>, ...
Check the operational state of given interface C(name) for CDP/LLDP neighbor.,The following suboptions are available.
-
#rx_rate ⇒ String?
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).
-
#speed ⇒ Integer?
Interface link speed.
-
#state ⇒ :present, ...
State of the Interface configuration, C(up) means present and operationally up and C(down) means present and operationally C(down).
-
#tx_rate ⇒ String?
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).
Methods inherited from Base
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 Interfaces definitions.
48 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 48 attribute :aggregate |
#delay ⇒ Integer?
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), I(tx_rate) and I(rx_rate).
52 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 52 attribute :delay |
#description ⇒ String?
Returns Description of Interface.
16 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 16 attribute :description |
#duplex ⇒ :full, ...
Returns Interface link status.
32 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 32 attribute :duplex |
#enabled ⇒ TrueClass, ...
Returns Interface link status.
20 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 20 attribute :enabled |
#mtu ⇒ Integer?
Returns Maximum size of transmit packet.
28 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 28 attribute :mtu |
#name ⇒ String
Returns Name of the Interface.
12 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 12 attribute :name |
#neighbors ⇒ Array<Hash>, ...
Returns Check the operational state of given interface C(name) for CDP/LLDP neighbor.,The following suboptions are available.
44 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 44 attribute :neighbors |
#rx_rate ⇒ String?
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).
40 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 40 attribute :rx_rate |
#speed ⇒ Integer?
Returns Interface link speed.
24 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_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).
56 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 56 attribute :state |
#tx_rate ⇒ String?
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).
36 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_interface.rb', line 36 attribute :tx_rate |