Class: Ansible::Ruby::Modules::Nxos_file_copy

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

Overview

This module supports two different workflows for copying a file to flash (or bootflash) on NXOS devices. Files can either be (1) pushed from the Ansible controller to the device or (2) pulled from a remote SCP file server to the device. File copies are initiated from the NXOS device to the remote SCP server. This module only supports the use of connection C(network_cli) or C(Cli) transport with connection C(local).

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

#connect_ssh_portInteger?



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 24

attribute :connect_ssh_port

#file_pullSymbol?



28
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 28

attribute :file_pull

#file_pull_timeoutInteger?



35
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 35

attribute :file_pull_timeout

#file_systemString?



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

attribute :file_system

#local_fileString?



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

attribute :local_file

#local_file_directoryObject?



32
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 32

attribute :local_file_directory

#remote_fileString?



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

attribute :remote_file

#remote_scp_serverString?



39
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 39

attribute :remote_scp_server

#remote_scp_server_passwordString?



47
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 47

attribute :remote_scp_server_password

#remote_scp_server_userString?



43
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_file_copy.rb', line 43

attribute :remote_scp_server_user