Class: Ansible::Ruby::Modules::Snmp_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Snmp_facts
- Defined in:
- lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb
Overview
Retrieve facts for a device using SNMP, the facts will be inserted to the ansible_facts key.
Instance Method Summary collapse
-
#authkey ⇒ String?
Authentication key, required if version is v3.
-
#community ⇒ String?
The SNMP community string, required if version is v2/v2c.
-
#host ⇒ String
Set to target snmp server (normally {inventory_hostname}).
-
#integrity ⇒ :md5, ...
Hashing algoritm, required if version is v3.
-
#level ⇒ :authPriv, ...
Authentication level, required if version is v3.
-
#privacy ⇒ :des, ...
Encryption algoritm, required if level is authPriv.
-
#privkey ⇒ String?
Encryption key, required if version is authPriv.
-
#username ⇒ String?
Username for SNMPv3, required if version is v3.
-
#version ⇒ :v2, ...
SNMP Version to use, v2/v2c or v3.
Methods inherited from Base
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
#authkey ⇒ String?
Returns Authentication key, required if version is v3.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 35 attribute :authkey |
#community ⇒ String?
Returns The SNMP community string, required if version is v2/v2c.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 19 attribute :community |
#host ⇒ String
Returns Set to target snmp server (normally {inventory_hostname}).
11 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 11 attribute :host |
#integrity ⇒ :md5, ...
Returns Hashing algoritm, required if version is v3.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 31 attribute :integrity |
#level ⇒ :authPriv, ...
Returns Authentication level, required if version is v3.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 23 attribute :level |
#privacy ⇒ :des, ...
Returns Encryption algoritm, required if level is authPriv.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 39 attribute :privacy |
#privkey ⇒ String?
Returns Encryption key, required if version is authPriv.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 43 attribute :privkey |
#username ⇒ String?
Returns Username for SNMPv3, required if version is v3.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 27 attribute :username |
#version ⇒ :v2, ...
Returns SNMP Version to use, v2/v2c or v3.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 15 attribute :version |