Trishna Guha
9c81634c77
nxos_file_copy fix for binary files ( #46822 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-10-22 15:41:18 +05:30
saichint
e393d5d2b4
add local directory option to nxos_file_copy ( #43277 )
...
* add local directory option to file_copy pull
* shippable fix
2018-08-03 10:33:06 +05:30
Joren Vrancken
b954917761
Surround top-level function and class definitions with two blank lines.
2018-07-31 12:06:56 -07:00
Trishna Guha
fee4c24ad4
Add md5sum check in nxos_file_copy module ( #43423 )
...
* Add md5sum check in nxos_file_copy module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-07-30 20:42:47 +05:30
saichint
fa5f396a4b
nxos_file_copy enhancement ( #42424 )
...
* add file_pull option
* typo correction
* fix shippable error
* review comments
* fix for review comments by mwiebe
* possible shippable fix
* remove file_copy from ignore
* more review comments addressed
* review comments
* add localhost for remote scp server in tests
* timeout fix
2018-07-25 17:46:55 +05:30
Trishna Guha
c2f7f36fc5
nxos_file_copy network_cli and httpapi fix ( #40592 )
...
* Leverage action plugin to pass credentials to nxos_file_copy for network_cli, httpapi
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* make sure local test uses provider
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update doc
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* clarify action plugin comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add connection=local back to nxos_file_copy because that module is weird
Also blacklist it running on nxapi, because that is meaningless
* remove provider
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* blacklist nxapi
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-05-24 20:21:18 +05:30
Dag Wieers
cdd21e2170
Clean up module documentation ( #36909 )
...
* Clean up module documentation
This PR includes:
- Removal of `default: None` (and variations)
- Removal of `required: false`
- Fixing booleans and `type: bool` where required
* Fix remaining (new) validation issues
2018-03-15 22:15:24 +01:00
Pilou
e9a5ff912a
nxos_file_copy: fix broken import and 2.6 compatibility ( #34480 )
...
* Fix broken import: paramiko could be missing
* doc: use formatting function
* Use Python 2.6 compatible format string
2018-01-05 11:36:11 +05:30
Ganesh Nalawade
11c9ad23d5
Refactor common network shared and platform utils code into package ( #33452 )
...
* Refactor common network shared and platform specific code into package (part-1)
As per proposal #76 refactor common network shared and platform specific
code into sub-package.
https://github.com/ansible/proposals/issues/76
* ansible.module_utils.network.common - command shared functions
* ansible.module_utils.network.{{ platform }} - where platform is platform specific shared functions
* Fix review comments
* Fix review comments
2017-12-03 21:42:30 +05:30
Trishna Guha
819f9ee8fa
Add port arg to establish ssh connection in nxos_file_copy ( #33304 )
...
* Add port arg to establish ssh connection in nxos_file_copy
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* resolve kedar's comment
2017-11-28 10:54:23 +05:30
Trishna Guha
578ae3b238
fix nxos_file_copy and provider getting set to None when transport is cli ( #30262 )
...
* nxos_file_copy bug fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* provider gets set to None in module level when transport is cli
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-13 16:36:41 +05:30
Nathaniel Case
ada7f248c0
Add 'Tested on' string to NX-OS modules ( #28531 )
2017-08-24 08:27:39 -04:00
Toshio Kuratomi
d8b1cb9a63
Assign network modules maintained by the network team the network metadata
2017-08-15 23:12:08 -07:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
Peter Sprygada
17a259a163
fixes command to be sent over nxapi for nxos_file_copy ( #28029 )
...
fixes #27347
2017-08-11 12:14:52 -04:00
Trishna Guha
4782a4e62f
Make host required field and minor refactor ( #24534 )
...
* Make host required field and minor refactor
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* ansibot pep8 legacy file
* example doc update
2017-05-19 10:37:01 -06:00
Abhijeet Kasurde
2f26c5285a
Refactor nxos_file_copy module ( #24314 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-05-10 22:15:42 +05:30
Trishna Guha
bc22223d63
Fixes #23890 Remove idle ShellError exception and get_exception() method from nxos modules ( #23947 )
...
Remove idle ShellError exception and get_exception() method from nxos modules
2017-04-28 10:42:15 +05:30
Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
2017-03-14 09:07:22 -07:00
John R Barker
aa3fbb0d54
Restore extends_documentation_fragment: nxos ( #22312 )
...
* Restore extends_documentation_fragment: nxos
* Restore extends_documentation_fragment: nxos
2017-03-06 13:53:33 +00:00
Peter Sprygada
21d993a4b8
refactors nxos module to use persistent connections ( #21470 )
...
This completes the refactor of the nxos modules to use the persistent
connection. It also updates all of the nxos modules to use the
new connection module and preserves use of nxapi as well.
2017-02-15 11:43:09 -05:00
Matt Clay
462ab6b1db
PEP 8 E111 cleanup for nxos modules.
2017-01-30 15:45:05 -08:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
James Cammarata
fa5386c488
Some additional module cleanup of mistakes made during merging
2016-12-08 11:35:20 -05:00
James Cammarata
8afa090417
Resolving differences in core modules post-merge
2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
John R Barker
25b6492d37
Bulk spelling improvement to modules-core ( #5225 )
...
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
2016-12-08 11:25:20 -05:00
GGabriele
c902f2da14
Fix typo
2016-12-08 11:24:58 -05:00
GGabriele
aabab30a4f
Fix try/except
2016-12-08 11:24:58 -05:00
GGabriele
e392417232
Adding nxos_file_copy
2016-12-08 11:24:58 -05:00