Class: Ansible::Ruby::Modules::Junos_rpc
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_rpc
- Defined in:
- lib/ansible/ruby/modules/generated/network/junos/junos_rpc.rb
Overview
Sends a request to the remote device running JUNOS to execute the specified RPC using the NetConf transport. The reply is then returned to the playbook in the C(xml) key. If an alternate output format is requested, the reply is transformed to the requested output.
Instance Method Summary collapse
-
#args ⇒ Hash?
The C(args) argument provides a set of arguments for the RPC call and are encoded in the request message.
-
#attrs ⇒ Hash?
The C(attrs) arguments defines a list of attributes and their values to set for the RPC call.
-
#output ⇒ String?
The C(output) argument specifies the desired output of the return data.
-
#rpc ⇒ String
The C(rpc) argument specifies the RPC call to send to the remote devices to be executed.
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
#args ⇒ Hash?
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_rpc.rb', line 16 attribute :args |
#attrs ⇒ Hash?
20 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_rpc.rb', line 20 attribute :attrs |
#output ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_rpc.rb', line 24 attribute :output |
#rpc ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_rpc.rb', line 12 attribute :rpc |