Dan
dcb35c4270
Fix nxos_ospf_vrf module auto-cost idempotency and module check mode ( #47190 )
...
* fixing idempotency and check mode
* modified to avoid repetitive code
2018-10-23 14:28:24 +05:30
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
Trishna Guha
d69700b236
nxos_evpn_vni check_mode ( #46612 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-10-08 11:11:01 +04:00
tstoner
b427499e3e
Added feature facts to nxos_facts ( #45934 )
...
* Added feature facts to nxos_facts
* Fixed ansibot indentation
* Resolved ansibot whitespace missing after ','
* Per PR suggestion, created method in base class to gather switch config
and store in global variable to prevent multiple calls to switch.
* Addressed ansibot blank line & whitespace after ,
2018-09-26 15:57:09 +05:30
saichint
2b216384eb
fix for banner idempotent issue ( #46001 )
...
* fix for banner issue
* review comments
2018-09-26 15:48:56 +05:30
Dan
f20938788a
fixed nxos_aaa_server_host issue with type 7 encrypt key ( #46015 )
...
* fixed nxos_aaa_server_host issue with type 7 encrypt and added test cases
* added idempotence tests
2018-09-25 16:39:22 +05:30
Dan
a6c20488d3
Add ospf net type ( #45904 )
...
* Added ospf network type option to nxos_interface_ospf module
* Added documentation and example for the 'network' parameter
* adding version
2018-09-25 11:38:39 +05:30
tstoner
e74e8b8e75
Additional feature enhancements to nxos_logging ( #45844 )
...
* Various changes to nxos_logging. Plus added purge capibility.
* Made a few new nxapi_logging test cases conditional based on version
and/or platform.
* Addressed PR comments and ansibot shippable. Fixed up nxos_logging documentation format.
* Addressed ansibot shippable issues with whitespaces and documentation.
* Resolved ansibot codestyle trailing whitespace
2018-09-25 11:02:09 +05:30
Trishna Guha
1b0c4fde86
fix nxos_facts indefinite hang for text based output ( #45845 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-09-19 19:37:44 +05:30
Nathaniel Case
285b927889
network command modules cleanup ( #45242 )
...
* Standardize _command modules
* Centralize command transformation process
* Fix check mode error test
2018-09-13 08:55:35 -04:00
amb1s1
25563dc7cf
Fixed an issue when expecting may be, but getting maybe ( #44908 )
...
Tested an install on a Nexus 5596 and was failing due that this model will send an output of "Another install procedure maybe in progress" when running the show install all while the install is running. This is how the module knows that an install is being processed. In my case, it will not match that conditional statement.
2018-09-05 19:15:06 +05:30
Trishna Guha
8a79d944a3
nxos_system idempotence fix ( #44752 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-28 12:05:19 +05:30
Toshio Kuratomi
b2932a41b0
Fixup removed and deprecated modules
...
* Removed modules no longer have documentation
Decided this was causing people to think that modules were supported
even after being removed. This change is a new strategy to have the
error message trying to use a removed module point people to the older
documentation.
* Add stubs for modules removed in 2.7
These are freshly removed so we want people who are still using them
when they upgrade Ansible to have a hint as to where to find information
on how to port.
* Finish properly undeprecating include
include was undeprecated earlier but not all of the pieces that marked
it as deprecated were reverted. This change fixes the remaining
pieces
2018-08-24 15:37:13 -07:00
Trishna Guha
9c4ed4dfc1
use retry_json nxos_banner ( #44376 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-23 15:55:50 +02:00
Trishna Guha
6090802551
nxos_linkagg mode fix ( #44294 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-17 12:27:13 +05:30
Nilashish Chakraborty
d63ba5999b
Use single parameter for source-interface ( #44260 )
...
* Compress src interface into one key
* Modified regex to support varied interface types
* Fixed documentation
* Unpacking return values from splitting method
2018-08-16 22:33:53 +05:30
Trishna Guha
7e39c5bf07
check_mode in nxos_static_route module ( #44252 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-16 14:30:47 +05:30
Trishna Guha
6af6e806ed
nxos_interface port-channel idempotence fix for mode ( #44248 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-16 12:16:04 +05:30
Mike Wiebe
8f75bb5799
nxos issu should abort when issu is not possible. ( #43793 )
...
* Use expect module to copy files
* Abort when issu not possible
* Update copy_kick_system_images.yaml
* Update platform/version support
2018-08-13 20:36:42 +05:30
Trishna Guha
96346938ee
nxos_vlan refactor to support non structured output ( #43805 )
...
* nxos_vlan refactor to support non structured output
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* unittest fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* minor fixes
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* use check_rc
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove additional return statement
* address Nate's review
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-10 21:03:56 +05:30
Nilashish Chakraborty
59cd693218
Add source interface and use-vrf features ( #43418 )
2018-08-09 18:36:54 +05:30
Nilashish Chakraborty
4a1d37a76b
Fix argument error in DCI ( #43634 )
2018-08-03 19:02:26 +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
Trishna Guha
09ae1ec308
cliconf refactor eos, nxos fix ( #43596 )
...
* cliconf refactor eos and nxos fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* move nxos replace check to plugins
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address review comment
* fix shippable
2018-08-02 16:34:48 +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
Ganesh Nalawade
21dcaa4349
Handle ConnectionError exception in network modules ( #43353 )
...
* Handle ConnectionError exception in network modules
* Catch ConnectionError expection and fail module in case
expection is raised.
* Fix CI failure
2018-07-30 10:24:58 +05:30
tstoner
2c3d418e53
Nxapi ssl ( #42905 )
...
* NXAPI ssl ciphers & protocols default values
* TLSv1, TLSv1.1, TLSv1.2 and weak cipher support
* NXOS NXAPI weak/strong cipher & TLSv 1.2, 1.1 & 1.0 support
* Version checking for strong/weak ciphers & TLS 1.2, 1.1 & 1.0 support
* Cleaned up erroneously committed changes.
* Specific NXOS platform checking for nxapi ssl ciphers & protocols
* Fixed ansibot reported errors.
* Resolved ansibot reported error.
* Added network_os_version to mocked up N7K unit test device_info
* Calling get_capabilities() once in main and passing results into methods.
* Removed raising exceptions when platform capabilities return None
per reviewers request. Skipping nxapi ssl options when capabilities
are None and generating a warning when these options are skipped
* Cleaned up explicit checks for None/not None
2018-07-27 22:10:39 +05:30
Ganesh Nalawade
af3f510316
nxos cliconf plugin refactor ( #43203 )
...
* nxos cliconf plugin refactor
Fixes #39056
* Refactor nxos cliconf plugin as per new api definition
* Minor changes in ios, eos, vyos cliconf plugin
* Change nxos httpapi plugin edit_config method to be in sync with
nxos cliconf edit_config
* Fix CI failure
* Fix unit test failure and review comment
2018-07-27 11:05:40 +05:30
Nilashish Chakraborty
18235af363
Fix baud rate and nxos_logging default case idempotency bug ( #43295 )
...
* Fix baud rate and idempotency bug
* Fix Shippable errors
* Combine commands calls
* Fix Shippable errors II
2018-07-26 23:15:25 +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
1d5f881f5c
Add text output along with structured output in nxos_facts ( #42886 )
...
* nxos_facts to use default output instead of structured output
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix shippable error
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_facts refactor
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add structured output back
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-07-23 22:45:55 +05:30
Chris Smolen
bb35973e37
nxos_logging: add example using aggregate ( #41052 )
...
* add example using aggregate
+label: docsite_pr
+label: issue ansible/community#311
* Update nxos_logging.py
2018-07-20 15:51:13 -05:00
saichint
bea8e0200c
warning message improved ( #42969 )
2018-07-19 09:33:28 +05:30
Trishna Guha
d5e9653c96
Add get_capabilities in nxapi module_utils ( #42688 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-07-13 11:11:35 +05:30
Nilashish Chakraborty
ed5a0f2d9c
nxos_logging new feature - remote logging ( #41237 )
...
* Added feature - Remote Logging + More tests
* Fixed Shippable Errors
* Fixes - new feature version added error
2018-07-05 12:17:14 +05:30
Trishna Guha
805d13f287
nxos CI failures bugfix ( #42240 )
...
* fix nxos_portchannel and remove deprecated param in test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix _nxos_switchport CI failures
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxapi nxos_command test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove unsupported param nxos_smoke test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_vxlan_vtep_vni
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* syntax error
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-07-03 19:45:19 +05:30
Trishna Guha
0e05425b32
Refactor nxos cliconf get_device_info and add requirements for JSON structured output support in nxos_facts module ( #42089 )
...
* nxos_facts requires JSON structured output support
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* refactor get_device_info for legacy devices
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update additional logic
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-07-03 19:44:50 +05:30
tstoner
db7300904d
Enforcing NXAPI default HTTP behavior ( #41817 )
...
* nxos_nxapi http default behavior
* Use nxos_nxapi module in prepare_nxos_tests
* Refactor nxos_nxapi configure test to use yaml block
* Extend nxos_nxapi https & http test cases
* Removed NXOS internal release naming
* Resolved ansibot sanity errors
* Fix typo in prepare_nxos_tests
* Address PR comments
* Shippable indicates this is no longer needed
* Add port change logic and testing
2018-07-02 14:58:37 -04:00
Trishna Guha
981c9f6a79
fix nxos_vxlan_vtep_vni issue ( #42183 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-07-02 19:32:29 +05:30
saichint
bd9b8b422d
fix nxos_gir issues ( #41809 )
...
* fix nxos_gir issues
* review comments
2018-06-28 10:11:45 +05:30
saichint
119e6d680b
fix nxos_linkagg issue ( #41550 )
...
* fix nxos_linkagg issue
* fix shippable
2018-06-16 20:23:29 +05:30
Trishna Guha
8ab0d654f3
don't retrieve config in running_config when config is provided for diff ( #41400 )
...
* don't retrieve config in running_config when config is provided for diff
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix for eos, nxos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-06-14 18:02:19 +05:30
saichint
79dd206b3e
fix reload smu issue ( #41270 )
...
* fix reload smu issue
* review comments
2018-06-14 09:17:33 +05:30
saichint
00ce205535
fix get existing vpc issue ( #41429 )
2018-06-12 10:46:47 +05:30
Trishna Guha
1998707eda
Fix nxos_snapshot compare ( #41386 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-06-11 15:26:01 +05:30
Chris Smolen
d6fb00e797
add example using peer keepalive vrf and delay restore ( #41111 )
...
* add example using peer keepalive vrf and delay restore
<!--- Your description here -->
add example using peer keepalive vrf and delay restore
+label: docsite_pr
+label: issue ansible/community#311
* Update nxos_vpc.py
update task name to include "existing"
2018-06-08 09:51:36 -05:00
saichint
9abc3dbec4
nxos_rpm module ( #40849 )
...
* Add nxos_rpm feature
* fix timing issues
* fix timing issues
* shippable fix
* review comment
* review comments fixes
* typo fix
2018-06-06 10:09:38 +05:30
saichint
6733bffd5d
fix nxos_snapshot issues ( #41034 )
...
* fix nxos_snapshot issues
* review comments
* doc change
2018-06-05 10:56:32 +05:30
Trishna Guha
72d630b831
fix nxos_udld failing with httpapi ( #41074 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-06-04 11:31:32 +05:30