u571kills
869cf3fbdb
Fix example on comparing master config ( #32406 )
...
Current example produces error message:
"msg": "Unsupported parameters for (ios_config) module: diff_config Supported parameters include: after,auth_pass,authorize,backup,before,defaults,diff_against,diff_ignore_lines,force,host,intended_config,lines,match,multiline_delimiter,parents,password,port,provider,replace,running_config,save,save_when,src,ssh_keyfile,timeout,username"
2017-11-01 19:03:38 +00:00
Tim Rupp
27188d46a9
Adds bigip_iapplx_package module ( #32456 )
...
This module can be used to manage the iAppLX packages you have
installed on a device. It can install and remove packages in
their RPM format.
2017-11-01 12:00:06 -07:00
Tim Rupp
c239749052
Removes bigip_user from skip file ( #32451 )
2017-11-01 10:37:23 -07:00
Tim Rupp
83674af284
Removes virtual_address from skip file ( #32425 )
2017-11-01 09:49:06 -07:00
Dave Thelen
2c99cbc874
eos_eapi: adding the desired state config to the new vrf fixes #32111 ( #32112 )
...
* adding the desired state config to the new vrf fixes #32111
* fix default vrf initial configured
* add unit test
2017-11-01 22:18:52 +05:30
Sean Cavanaugh
1068aa3ce7
Fixing nxos_vlan to match platform agnostic net_vlan part2 ( #32410 )
...
* adding active and suspend to state to match net_vlan module
although this is backwards compatible (for now)
* removing bad config
* getting rid of bad yml syntax
2017-11-01 14:56:38 +05:30
Tim Rupp
fc4580b4cc
Removes bigip ssl certificate from skip file ( #32424 )
2017-10-31 21:17:07 -07:00
Tim Rupp
6193d5bc65
Removes gtm wide ip from skip file ( #32422 )
2017-10-31 20:45:42 -07:00
Tim Rupp
8868b5fa85
Removes gtm pool from skip file ( #32419 )
2017-10-31 20:12:53 -07:00
Tim Rupp
daaf8ca86c
Fixes skip imports for bigip_configsync_action module ( #32413 )
2017-10-31 19:22:36 -07:00
Tim Rupp
8f2b243a3e
Fixes bigip_config to remove from skip file ( #32409 )
2017-10-31 15:48:23 -07:00
Tim Rupp
8c5cd9c530
Removes bigip_command from the skip file ( #32407 )
...
Includes fixes and enhancements to make it unnecessary to include this
module in the skip file
2017-10-31 13:50:28 -07:00
Tim Rupp
8037eb7474
Various fixes for bigip_remote_syslog ( #32404 )
...
This patch addresses a number of issues, large and small, that were
identified by users in the downstream repo.
* formatting of some code
* specific option combinations leading to errors
* missing includes for unit tests
2017-10-31 12:32:50 -07:00
Paul Neumann
53fead7c96
ios_logging: Fix some smaller issues, add unit test ( #32321 )
...
* ios_logging: Fix typo in documentation
* ios_logging: Fix traceback when setting buffered destination without size
When the size parameter is not configured while configuring the buffered
destination, a traceback occurs due to the fact that validate_size expects the
parameter to be an int. Explicitely converting value to int makes the
check work for every case.
* ios_logging: Update size parameter documentation
Update the documentation of the size paramter to reflect the current behaviour
of setting a default of 4096 for the buffered dest.
* ios_logging: Add unit test
Add unit test for ios_logging testing the behaviour clarified in the previous
commits.
* ios_logging: Fix python 2.6 compliance
2017-10-31 09:25:07 +05:30
nilhase25
1a43038bc2
Pep8 aos login.py ( #32312 )
...
* fix pep8 issue in consul_kv.py
* fix pep8 issue in aos_login.py
2017-10-30 21:56:34 +05:30
paulquack
7f92741c3d
Remove references to provider in documentation, update license ( #32242 )
2017-10-30 12:34:29 +05:30
Tim Rupp
2a5f6c28cf
Adds bigip_asm_policy module ( #32281 )
...
This module can be used to import asm policies from file or existing
template. Supported file types are xml, compact xml, and binary
2017-10-27 22:31:52 -07:00
Tim Rupp
a16db95ddb
Adds the bigip_ssl_key module ( #32270 )
...
This module's purpose is to specifically manage the ssl keys. It
is essentially the key component of the bigip_ssl_certificate module.
The modules were separated and the key portion deprecated from
bigip_ssl_certificate in favor of this module.
2017-10-27 12:52:52 -07:00
Kedar K
7d5dccefe5
- Fix logging module issue where facility is being deleted along with host ( #32234 )
...
- Remove default facility, as facility is not standard on remote syslog server
2017-10-27 15:31:17 +05:30
Trishna Guha
a5f6c726f0
Add vyos_vlan DI module ( #32072 )
...
* Add vyos_vlan DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add integration tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Improve logic and add more test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update boilerplate
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-10-27 15:21:37 +05:30
Ricardo Carrillo Cruz
80c8b99a62
Handle ip name-server lines containing multiple nameservers ( #32235 )
...
In CSR, multiple nameservers are defined in one line, whereas on IOS
it's on multiple ones.
This change handles both.
2017-10-27 10:55:52 +02:00
Dave Thelen
602a618e60
eos_user: sends user secret first on user creation fixes #31680 ( #32162 )
...
* fix command order
* add integration test
* test cleanup
* remove redudant commands
2017-10-26 12:40:58 +05:30
Tim Rupp
23a81af4f1
Adds name fact when retrieving nodes ( #32165 )
2017-10-25 13:31:20 -07:00
Tim Rupp
cc4bbb2929
Various bigip_pool fixes ( #32161 )
...
* corrects copyrights and mocks in unit tests
* fixes module code to include code to cleanup tokens
2017-10-25 12:57:21 -07:00
Patrick Ogenstad
69cf5f9486
Fix documentation bug for asa_config ( #32007 )
...
The documentation mentioned the "commit" and "update" parameters which
didn't exist.
2017-10-24 09:24:37 +05:30
Kedar K
e2bed36d12
- Adds iosxr_netconf module to configure netconf service on IOSXR ( #31715 )
...
* - Adds iosxr_netconf module to configure netcong service on Cisco
IOS-XR devices
* - Adds Integration test for module
- Handles diff return from load_config
* - Adds unit test for iosxr_netconf module
2017-10-24 08:49:23 +05:30
Kedar K
465fe5802b
-Fixes JSON parsing(use JSON object instead of string) for facts modules. ( #31818 )
2017-10-23 17:48:52 +05:30
Trishna Guha
529b7a7b78
fix nxos_igmp_snooping ( #31688 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-10-23 09:40:07 +05:30
Tim Rupp
965e4151df
Adds the bigip_policy module ( #31915 )
...
this module allows one to manage policies and re-order their
corresponding rules
2017-10-20 18:05:55 -07:00
Tim Rupp
8085c38e05
Refactors the bigip_gtm_facts module ( #31917 )
...
Includes pep fixes and inlining code with current conventions
2017-10-20 18:05:45 -07:00
Tim Rupp
f94d337ef6
Adds new module allowing you to wait for a bigip ( #31846 )
...
Module allows you to wait for a bigip device to be
"ready" for configuration. This module will wait for things like
the device coming online as well as the REST API and MCPD being
ready.
If all of the above is not online and ready, then no configuration
will be able to be made.
2017-10-18 18:05:43 +01:00
John R Barker
598084fbc8
Document backup_path ( #31844 )
...
Fix a few consistency issues at the same time
2017-10-18 14:07:28 +01:00
paulquack
5a6ee054c0
Network command module for Brocade IronWare routers ( #31429 )
2017-10-17 13:54:32 +01:00
Brian Coca
c0fc797a06
fix html formatting
2017-10-16 14:27:46 -04:00
Trishna Guha
f94ef03625
Fixes #30529 nxos_facts ipv6 interface ( #31286 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-10-16 18:19:44 +05:30
Tim Rupp
6e6a6ff36b
Fixes an fqdn error ( #31745 )
...
the pool module was not correctly interpreting the partitions
in the monitors list vs the partition at the task level. This patch
fixes that.
2017-10-14 15:39:18 -07:00
Tim Rupp
02cd881697
Refactors bigip_selfip ( #31732 )
...
In this refactor we moved to the most recent coding standards for
both F5 and Ansible. Many bugs were fixed and some features were
also added (such as ipv6 support).
2017-10-13 23:31:32 -07:00
Tim Rupp
0610f09dab
Adds various provision fixes ( #31731 )
...
* vcmp provisioning support
* documentation fixes
* fixes for python3 causing an exception
2017-10-13 22:19:46 -07:00
Tim Rupp
53445ded84
Fixes documentation related bugs ( #31730 )
...
New conventions for ansible warrant fixes to accomodate those
in bigip_partition.
This patch also includes an import fix that can raise an error when
Ansible unit tests run
2017-10-13 22:06:19 -07:00
Tim Rupp
a969a529ab
Fixes various gtm pool issues ( #31728 )
...
Various formatting related fixes. Also fixed an idempotency problem
with the 'disabled' state
2017-10-13 21:51:28 -07:00
Kenny Gillen
1234a79349
Fix gender pronouns and the odd typo ( #31709 )
2017-10-13 13:52:38 -04:00
Tim Rupp
ecee475a3a
This patch fixes a number of outstanding bugs and code convention problems. ( #31618 )
...
* documentation was not inline with other Ansible modules
* Python 3 specific imports were missing
* monitor_type is no longer required when creating a new pool; it is now the default.
* A new monitor_type choice of "single" was added for a more intuitive way to specify "a single monitor". It uses "and_list" underneath, but provides additional checks to ensure that you are specifying only a single monitor.
* host and port arguments have been deprecated for now. Please use bigip_pool_member instead.
* 'partition' field was missing from documentation.
* A note that "python 2.7 or greater is required" has been added for those who were not aware that this applies for ALL F5 modules.
* Unit tests were fixed to support the above module
2017-10-13 09:47:49 -07:00
rahushen
046d430a26
Fixes #31056 ( #31057 )
2017-10-13 10:38:44 +05:30
Tim Rupp
381b18fd80
Adds a refactored bigip_monitor_http module. ( #30998 )
...
This patch refactors the bigip_monitor_http module to use REST
instead of SOAP. It additionally adds unit tests and current F5
code conventions.
Integration tests can be found here
* https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_monitor_http.yaml
* https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_monitor_http/tasks
2017-10-12 17:02:05 -07:00
James Mighion
50052b3d70
Adding a cli transport option for the bigip_command module. ( #30391 )
...
* Adding a cli transport option for the bigip_command module.
* Fixing keyerror when using other f5 modules. Adding version_added for new option in bigip_command.
* Removing local connection check because the F5 tasks can be delegated to any host that has the libraries for REST.
* Using the network_common load_provider.
* Adding unit test to cover cli transport and updating previous unit test to ensure cli was not called.
2017-10-12 15:07:15 -07:00
Anil Kumar Muraleedharan
de53e280f1
Adding enos/__init__.py ( #31580 )
...
##### SUMMARY
Creating the modules for enos from Lenovo.
##### ISSUE TYPE
- New Module Pull Request
##### COMPONENT NAME
<!--- Name of the module/plugin/module/task -->
lib/ansible/modules/network/enos/__init__.py
##### ANSIBLE VERSION
ansible 2.5.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location =
/usr/local/lib/python2.7/dist-packages/ansible-2.5.0-py2.7.egg/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]
##### ADDITIONAL INFORMATION
This is an effort to create modules for enos based switches from Lenovo.
2017-10-12 13:34:36 +01:00
Trishna Guha
c002b47a79
fix nxos_vlan unexpected deprecation warning ( #31624 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-10-12 12:00:35 +05:30
voipmeister
865a38bb8d
Changed src_intf and dst_intf to list type ( #31479 )
2017-10-11 14:21:02 +01:00
rahushen
025386c56b
Fix nxos_banner removal idempotence issue in N1 images ( #31259 )
...
* Fix nxos_banner removal idempotence issue in N1 images
* handle pep8 error
2017-10-11 16:26:17 +05:30
Ganesh Nalawade
88da95bb77
Fix rollback in junos_config ( #31424 )
...
* Fix rollback in junos_config
Fixes #30778
* Call `load_configuration` with rollback id in case
the id is given as input
* Pass rollback id to `get_diff()` to fetch diff from device
* Fix unit test
2017-10-11 10:25:56 +05:30
Toshio Kuratomi
2f8831c787
Fix get_exception and wildcard imports for nxos modules
2017-10-09 21:41:02 -07:00
Tim Rupp
75c5d0fedc
Adds the bigip_remote_syslog module
...
This patchs add a remote-syslog module that can be used by people
to manage their (basic, not HSL) syslog configuration
2017-10-09 13:21:16 -07:00
rahushen
48f4643a66
nxos_snmp_* fixes : Fixes #30997 , #30999 ( #31000 )
...
* add codeblock to handle 5K platform for nxos_snmp_host
* fix get_snmp_traps for 5K platform
* Make shippable happy
2017-10-06 18:21:59 +05:30
rahushen
0218fdcd80
Fixes #30846 ( #30862 )
2017-10-06 17:10:03 +05:30
rahushen
266c2f5831
fixes #31080 ( #31081 )
2017-10-05 14:33:59 +05:30
Trishna Guha
9f72b32c5d
nxos_config intended_config docfix ( #31337 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-10-05 14:25:50 +05:30
Tim Rupp
f3f0ba87ce
Corrects Copyrights and License headers ( #31324 )
...
The format has changed for these in the dev_guide. This corrects
them for the F5 modules
2017-10-04 20:16:17 +01:00
Tim Rupp
3717ff64cf
Adds the bigip_monitor_https module ( #31205 )
...
This patch adds the https_monitor module which allows people
to create and manage HTTPS monitors.
2017-10-04 17:18:59 +01:00
rahushen
1378861fe7
Fixes nxos_igmp_interface idempotence issue for N1 images ( #31220 )
2017-10-04 12:53:44 +05:30
rahushen
a12a05c219
Fixes #30769 - nxos_vtp_version errors out on N1 images. ( #30770 )
...
* Fixes #30769
* add the same fix for 2 more vtp modules
2017-10-03 17:24:14 +05:30
Kedar K
916e6be888
- Fix to return error message back to the module. ( #31035 )
2017-09-29 17:06:30 +05:30
Ganesh Nalawade
879ea24a74
Fix documentation issue for nxos_snmp_user module ( #31029 )
...
* Change auth to authentication in module document
to be in sync with module params
2017-09-28 13:04:20 +05:30
Kedar K
4c21563ac6
- Adds sub-interface support for nxos_interface and nxos_ip_interface ( #30830 )
...
- Support dot1 encapsulation on routed sub-interface
2017-09-26 21:34:51 +05:30
Ganesh Nalawade
c86b945a7c
Remove check_args for vyos modules ( #30739 )
...
* With addition of provider sub option validation check_args()
is no longer required.
2017-09-22 15:56:23 +05:30
Ganesh Nalawade
d72eb08902
Fix nxos provider transport warning issue ( #30610 )
...
* Fix nxos provider transport warning issue
* Add default value of transport arg in provider spec
* Remove default value if transport arg in top level spec
This ensure deprecation warning is seen only in case transport
is given as a top level arg in task
* Refactor nxos modules to reference transport value from provider
spec
* Fix unit test
* Remove transport arg assignment in nxos action plugin
* As assigning transport value is handled in provider spec
top level task arg assignment is no longer required
2017-09-22 10:32:25 +05:30
Tim Rupp
0eb0d96286
Adds module which allows users to manage partitions on a BIG-IP ( #30577 )
2017-09-21 14:48:51 +01:00
dteach
ca56a248d8
junos_facts: Add Hardware facts. ( #30304 )
...
* Add Routing Engine Facts
- Map routing engine output information to routing_engines facts dict.
- Add fact 'has_2RE', which is a quick way to determine how many REs
the chassis has.
* Fix a typo
* Fix more typos
* Add slot number to routing_engine dict
* Add facts about the installed chassis modules
* Fix typo
* Fixed another typo
* Fix Path
* Change path again.
* More Typos
* Add some deubgging
* Add additional information for hardware components.
- Return information about the Routing Engines.
- Return a fact to easily determine if the device
has two routing engines.
- Return information about the hardware modules.
* Addressed pep8 stardard failures.
* Add unit test fixtures.
* Rename fixture.
* Fix unit test failures.
- Rename the fixture file to what the unit test expects.
- Strip out junos namespace attributes.
Rename file to match what the unit test expects.
* Scrubbed the routing engine serial numbers.
* Add unit test facts for new tests.
- Add unit test for ansible_net_routing_engines fact
- Add unit test for ansible_net_modules fact
- Add unit test for ansible_net_has_2RE
* Fixed spacing.
2017-09-20 12:43:07 +05:30
David Mahler
d395166ae0
Vyos correction ( #30605 )
2017-09-20 11:57:18 +05:30
Trishna Guha
ae044f507f
fix nxos_reboot command format ( #30549 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-20 10:06:57 +05:30
Trishna Guha
e308176f3e
fix write_on_file nxos_snapshot ( #30545 )
...
* fix write_on_file nxos_snapshot
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* some more logic
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-20 10:06:38 +05:30
Matt Clay
7714dcd04e
Enable more pylint rules and fix reported issues. ( #30539 )
...
* Enable pylint unreachable test.
* Enable pylint suppressed-message test.
* Enable pylint redundant-unittest-assert test.
* Enable pylint bad-open-mode test.
* Enable pylint signature-differs test.
* Enable pylint unnecessary-pass test.
* Enable pylint unnecessary-lambda test.
* Enable pylint raising-bad-type test.
* Enable pylint logging-not-lazy test.
* Enable pylint logging-format-interpolation test.
* Enable pylint useless-else-on-loop test.
2017-09-18 23:20:32 -07:00
Toshio Kuratomi
c82cf791dd
Add a code-smell test for smart quotes and remove smart quotes from all files
2017-09-18 16:49:16 -07:00
Nathaniel Case
7dc60c3f24
nxos_install_os install_state fix
2017-09-15 15:34:32 -04:00
Kedar K
ff84fc969c
Fixes nxos_pim_rp_address module idempotence ( #29620 )
...
* Fixes nxos_pim_rp_address module idempotence
* * Adds a note in header comment to indicate no support for absent state
2017-09-15 14:21:34 -04:00
Mike Wiebe
9af6dc4751
Fix nxos_snmp_community idempotence issue ( #30388 )
...
* Fix nxos_snmp_community idempotence issue
* Use passed in name to filter
* Test updates and remove unused method
2017-09-15 07:45:51 -07:00
Mike Wiebe
173c41aefe
Rel240/fix nxos pim interface ( #29885 )
...
* fix nxos_pim_interface
* Add integration test coverage and fix unit test
* Add clarifying comments
* Make ansibot happy
2017-09-14 13:36:32 -07:00
Ganesh B. Nalawade
8c3bf20a13
Use safe_load to load yaml
...
Replad `yaml.load` with `yaml.safe_load`
2017-09-14 11:19:00 -07:00
Mike Wiebe
3faba93a2b
Fix nxos_interface error for nxapi and idempotence problem ( #29136 )
...
* Fix nxos_interface nxapi error and idempotence
* Make shippable happy
2017-09-14 10:25:35 -07:00
rahushen
37f68bffc0
fixes #27177 - nxos_aaa_server_host multiple issues ( #29103 )
2017-09-14 09:29:53 -07:00
John R Barker
4c9ad00c50
Specify default delay (DOCUMENTATION only change) ( #30344 )
...
* Specify default delay
Also clarify that tx_rate is in bps
* aggregates -> aggregate
2017-09-14 11:42:20 +01:00
Ganesh Nalawade
3ff527b1d2
Fixes #30281 eos_banner integration test failure ( #30283 )
...
* Fixes #30281 Configure login prompt for eos_banner
* Fix unit test
* Fix pep8 issue
2017-09-14 13:56:32 +05:30
saichint
4e32c92166
nxos_udld_interface: improve interface detection ( #28682 )
...
* fix for nxos_udld_interface
* Tested Note added back
2017-09-13 11:06:56 -07:00
Nathaniel Case
8c03609e54
nxos_snmp cleanup ( #28922 )
...
* Clean up nxos_snmp_contact & nxos_snmp_location
* Bring nxos_snmp_community in line
* Bring nxos_snmp_host in line
* And I would have gotten away with it too,
if it weren't for those meddling sanity tests
* Bring nxos_snmp_traps & nxos_snmp_user in line
* Appease Shippable
2017-09-13 08:23:36 -07:00
rahushen
1a266e29a7
Fixes #28793 , #27484 ( #29745 )
2017-09-13 08:08:22 -07:00
rahushen
169fbc4c94
Fixes #28493 ( #29061 )
2017-09-13 08:00:13 -07:00
rahushen
5537218c94
fixes #27066 - nxos_acl errors when there are 0 or 1 access lists configured ( #29076 )
...
* fixes #27066
* replace type() with isinstance()
2017-09-13 18:07:06 +05:30
rahushen
f1cc5a928c
Fixes #27336 - nxos_gir_profile_management issue while creating profile ( #29151 )
...
* Fixes #27336
* Correct documentation errors
2017-09-13 17:54:35 +05:30
Mike Wiebe
7292dd20ed
Fix nxos_overlay_global networking modules ( #28943 )
2017-09-13 17:33:06 +05:30
rahushen
bc6e015a86
Fixes #27138 ( #29064 )
2017-09-13 17:11:00 +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
Ganesh Nalawade
d8371cec91
Fix ios_system lookup enable issue ( #30263 )
...
Fixes #29974
Add `None` check while comparing module parameter values (want) with the actual
configuration present on device (have).
2017-09-13 15:19:09 +05:30
Matt Clay
442af3744e
Miscellaneous pylint fixes.
...
The following rules are no longer disabled:
- bad-format-string
- duplicate-key
- lost-exception
- trailing-newlines
- unexpected-keyword-arg
- useless-suppression
- using-constant-test
2017-09-13 01:53:08 -07:00
Mike Wiebe
cef7ed0310
Fix nxos_mtu nxapi failure ( #30153 )
2017-09-13 10:51:46 +05:30
Jacob McGill
2489eeece0
ACI EPG TO DOMAIN: Add vm_provider docstring and add support for micr… ( #29114 )
...
* ACI EPG TO DOMAIN: Add vm_provider docstring and add support for microsoft and openstack
* Fix typo
* Fix whitespace
2017-09-12 22:53:17 +01:00
Mike Wiebe
f973f93963
Fix nxos_smu error ( #30157 )
2017-09-12 22:17:07 +01:00
Trishna Guha
5b1c91bf19
nxos_system parse name_servers fix ( #29944 )
...
* nxos_system parse name_servers fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_system tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-12 13:25:01 +05:30
Matt Clay
68aeaa58a8
Fix dangerous default args. ( #29839 )
2017-09-12 00:11:13 -07:00
Ganesh Nalawade
5caa47feb9
Add port and host check for neighbor args in junos_interface ( #29941 )
2017-09-12 11:16:20 +05:30
Tim Rupp
74ace093b8
Renames the bigip_configsync_actions module ( #29747 )
...
Retains the old name by making a symlink. We can remove it in a later
release.
2017-09-12 05:53:44 +01:00
Tim Rupp
a36ebd979d
Adds missing docs and downstream fixes ( #29664 )
...
Partition docs are not a documentation fragment, so they need to
be added
2017-09-11 23:30:34 +01:00
Jonathan Karras
e5d247fdc0
Fixes #20443 - Adjust version checking regex to account fo no comma in IOS-XE ( #29157 )
...
* Adjust version checking regex to account fo no comma in IOS-XE
* Adjusted regex to include last character of version number
2017-09-11 07:08:12 -07:00
Toshio Kuratomi
6797221107
Romain dartigues fixes ( #29169 )
...
* cloud: azure: fix typo introduced in commit 16d23e9
The commit "Add reference to VNET resource group (#26052 )"
removed an used variable.
* network: aos: error hint never shown
2017-09-09 16:20:53 -07:00
Trishna Guha
588bddbc35
nxos_banner CI fix ( #29134 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-08 19:33:41 +05:30
Ganesh Nalawade
772dab55c6
Add check for port and host in ios_interface ( #29119 )
...
Fixes #29118
2017-09-08 09:10:38 +05:30
Ganesh Nalawade
0b2619ff2b
Add lldp neighbor intent argument for vyos_interface ( #29092 )
...
* Add lldp neighbor intent argument for vyos_interface
* Add version_added info for neighbor argument
* Fix CI issue
2017-09-08 08:28:43 +05:30
Ricardo Carrillo Cruz
f9f0472ba5
Ignore routes that are not static manually added ( #29094 )
...
Fixes #28841
2017-09-07 17:56:09 +02:00
Ganesh Nalawade
49658f9437
Add lldp nighbors intent arg support for junos_interface ( #29057 )
...
* Add lldp neighbor state arg for junos_interfaces
* minor change
2017-09-07 12:01:40 +05:30
Nathaniel Case
f84ff216b6
Generalize nxos_bgp event-history detection ( #28890 )
...
* More general handling of event-history
* Update unit tests
2017-09-06 17:37:44 -04:00
Ganesh Nalawade
3b6b004570
Add support for neighbor argument in ios_interface ( #29035 )
...
Add missing support for lldp neighbor argument in ios_interface
2017-09-06 10:15:02 +05:30
marinus81
d69c803353
Fixed typo in resolution_immediacy values dict
2017-09-05 09:10:45 -07:00
Dag Wieers
a200ecf966
aci_rest: Accept YAML input and validate content input
...
This PR includes:
- Accept inline YAML, YAML string, inline JSON, JSON string input and
XML string input
- Validate YAML, JSON and XML input
2017-09-05 00:59:15 -07:00
Dag Wieers
a796391c9b
aci_rest: Implement idempotency
...
This PR includes:
- A new function to modify query strings in URLs
- Add rsp-subtree=modified to post/delete requests
- Test the ACI response for changes and report back
- Return the used URL back to the user
- Remove check-mode support (as it was non-functional anyway)
- Fix a bug related to method=delete and not having content set
This fixes datacenter/aci-ansible#111
2017-09-05 00:17:35 -07:00
Ganesh Nalawade
cc9ed352dd
Ensure proper conversion while backing up of junos config ( #28958 )
...
* Ensure proper conversion while backing up of junos config
* Minor changes
* Fix review comment
* Open config backup file in binary mode
2017-09-04 20:12:11 +05:30
Jacob McGill
6e79dfb5f3
ACI_BD_*: Fix missing default for state parameter
2017-09-01 21:59:34 +02:00
Nathaniel Case
8bfdbd0f73
nxos_bgp_neighbor: Fix regex &report warnings ( #28888 )
...
* Fix over-detection of log-neighbor-as
* Report nxos warnings
* Update nxos_bgp_neighbor unit tests to test remove-private-as
2017-09-01 15:17:42 -04:00
Mike Wiebe
fb1aa54341
Rel240/fix nxos interface ospf ( #28898 )
...
* Fixes 28897 nxos_interface_ospf idempotence
* Handle all characters upper or lower with tests
2017-09-01 11:07:18 -04:00
Nathaniel Case
ae6d27fa29
Revert "Bring nxos_snmp_host in line"
...
This reverts commit 43247c8dfe
.
Revert "Bring nxos_snmp_community in line"
This reverts commit 0df77408d7
.
Revert "Clean up nxos_snmp_contact & nxos_snmp_location"
This reverts commit 9e4cdd2fce
.
I should probably not be up this early
2017-09-01 08:00:00 -04:00
Nathaniel Case
43247c8dfe
Bring nxos_snmp_host in line
2017-09-01 07:43:05 -04:00
Nathaniel Case
0df77408d7
Bring nxos_snmp_community in line
2017-09-01 07:15:24 -04:00
Nathaniel Case
9e4cdd2fce
Clean up nxos_snmp_contact & nxos_snmp_location
2017-09-01 07:12:49 -04:00
Trishna Guha
252efcebf5
module should fail if eos_user is added without configured_password or nopassword or sshkey ( #28780 )
...
* module should fail if eos_user is added without configured_password or nopassword or sshkey
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix eos_user unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix eos_user integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-31 15:29:57 -04:00
rahushen
07c1d7e1ca
update nxos_facts to handle n3k power table ( #28891 )
...
* handle power table for n3k
2017-08-31 14:59:14 -04:00
Nathaniel Case
74daf2381b
Fix nxos_config `save` parameter ( #28838 )
...
Also fix saving in general
2017-08-31 10:01:19 -04:00
Ganesh Nalawade
a6af204cee
Fix junos_user purge option failures ( #28867 )
...
* Fix junos_user pruge option failures
Fixes #25989
Add seperate handling for purge option which
fetches configured users on remote device
and delete the one not present in aggregate
list.
* Minor changes
2017-08-31 17:46:13 +05:30
Jacob McGill
8ffb842963
ACI Config Rollback: Add new module to support config rollbacks in ACI ( #28811 )
...
* ACI Config Rollback: Add new module to support config rollbacks in ACI
* Fix EXAMPLES
* Fix whitespace
2017-08-30 07:26:17 +02:00
Jacob McGill
42db02c249
aci_config_snapshot: Module to manage ACI config snapshots ( #28784 )
...
* ACI Config Snapshot: Add module to support managing config snapshots on the APIC.
* add comma back
* Fix docstring errors
* Fix typo
* add quotes for notes section
2017-08-30 06:31:14 +02:00
Mike Wiebe
d9fc3def94
Fixes #28779 eth_mode key error ( #28782 )
...
* Fixes #28779 eth_mode key error
* Remove unused get_config references
* Addressed PR comment
2017-08-29 17:07:46 -04:00
Nathaniel Case
64dac346c9
Fix nxos_pim_interface dr-priority handling ( #28472 )
...
* Fix nxos_pim_interface dr-priority handling
* Prefer execute_show over `| json`
* Mock get_config
* Fix sparse-mode detection
2017-08-29 14:42:09 -04:00
Jacob McGill
e3b66a8016
ACI Rest: Fix issue with XML response ( #28785 )
2017-08-29 20:41:17 +02:00
Jacob McGill
6aaa0c3252
Net Ping: Add new action plugin for *_ping network modules ( #28558 )
2017-08-29 13:28:58 -04:00
René Moser
c97f4653be
fix typos in various modules and docsite ( #28747 )
2017-08-29 17:59:41 +02:00
rahushen
2cf836772d
Add passive_interface property to nxos_ospf_vrf module ( #28288 )
...
* add passive_interface property to nxos_ospf_vrf module
* Add version_added for
2017-08-29 11:31:11 -04:00
Jacob McGill
1c4fe510d0
IOS Ping: Add new module to support ping tests from IOS devices ( #28557 )
...
* IOS Ping: Add new module to support ping tests from IOS devices
* Add tests
* Add fixtures for ios_ping
2017-08-29 11:21:49 -04:00
Nathaniel Case
40907d7db2
Fix detection of associate-vrf parameter ( #28725 )
2017-08-29 09:47:27 -04:00
Nathaniel Case
862cde5e82
[WIP] Fix nxos_banner ( #28607 )
...
* Fix `'state': 'absent'`
* Replace idempotence tests with references
* Fix issues with nxos_banner
2017-08-28 17:09:54 -04:00
Trishna Guha
0a8ec4ddef
fix nxos_igmp_interface output ( #28735 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-28 17:06:30 -04:00
Brayneded
335e804c0c
Add junos_vrf vrf-table-label support ( #28727 )
...
* Added VRF Table Label Support
* Added table_label docs and set as default=true
2017-08-29 00:44:51 +05:30
Mike Wiebe
3d46258cff
Refactor/fix nxos_nxapi to use show run ( #28675 )
...
* Refactor/fix nxos_nxapi to use show run
* Fix unit tests
* Python 3 compatibility
2017-08-28 15:00:56 -04:00
George Nikolopoulos
869eee0762
Deprecate citrix/netscaler module ( #28280 )
...
* Deprecate citrix/netscaler module
* renamed: netscaler.py -> _netscaler.py
* Fix legacy files list
2017-08-25 13:51:15 -04:00
George Nikolopoulos
8d14f9d578
Lowercase enabled, disabled option values ( #27764 )
2017-08-25 13:11:48 -04:00
George Nikolopoulos
c01dd6470c
Add disable operation for netscaler_servicegroup ( #28327 )
2017-08-25 17:03:21 +01:00
George Nikolopoulos
2281a6676b
Add enable, disable operation in netscaler_service ( #28321 )
2017-08-25 16:58:51 +01:00
Nathaniel Case
fbeb3b9ac5
Nxos ping ( #28665 )
...
* Update documentation & results, clean up code
* Change numeric results to int/float
2017-08-25 11:45:46 -04:00
Ivan Bojer
9b8abc8a7f
panos_sag: static address group ( #28041 )
...
* - Create a static address group object in the firewall used for policy rules.
* PEP8 changes
* add function to check for devicegrp name
* fix exception handling
* PEP8 fixes
* update metadata_version
2017-08-25 16:35:35 +01:00
Evgeny Fedoruk
71313ce04d
Module for uploading templates into vDirect server ( #27570 )
...
* Module for uploading templates into vDirect server
Module for uploading configuration and workflow templates
into Radware vDirect server
* Module for uploading templates into vDirect server
Module for uploading configuration and workflow templates
into Radware vDirect server
2017-08-25 16:23:36 +01:00
Peter Sprygada
75293d83ca
configures address-families when vrf is created ( #28615 )
...
* configures address-families when vrf is created
fixes #26725
* fix up unit test cases
2017-08-25 07:51:20 -04:00
Jacob McGill
a03a1cde88
ACI Tenant SPAN Src Grp to Dst Grp: Add new module to support managin… ( #28645 )
...
* ACI Tenant SPAN Src Grp to Dst Grp: Add new module to support managing Tenant SPAN Source Group and Dest Group Bindings
* Fix docstring errors
* Fix Metadata version
* Fix Shippable issues
2017-08-25 11:33:41 +02:00
Jacob McGill
6401478883
ACI Tenant SPAN Src Grp: Add new module to support managing Tenant SP… ( #28644 )
...
* ACI Tenant SPAN Src Grp: Add new module to support managing Tenant SPAN Source Groups
* Fix docstring errors
* Fix Metadata version
* Fix Shippable issue
2017-08-25 11:32:41 +02:00
Jacob McGill
05a17164e3
ACI EPG: Update module to use new URL Method ( #28647 )
2017-08-25 08:37:56 +02:00
Jacob McGill
eaea574e3b
ACI Tenant EP Retention Policy: Add new module to support managing En… ( #28642 )
...
* ACI Tenant EP Retention Policy: Add new module to support managing End Point Retention Policies
* Fix docstring errors
* Fix Metadata version
2017-08-25 08:37:28 +02:00
Jacob McGill
bac617acef
ACI Taboo Contract: Update module to use new URL Method ( #28639 )
2017-08-25 08:37:12 +02:00
Jacob McGill
8b641688e9
ACI Tenant Action Rule Profile: Update module to use new URL Method ( #28641 )
2017-08-25 08:36:51 +02:00
Jacob McGill
a12ff4468d
ACI SPAN Dest Group: Update module to use new URL Method ( #28643 )
2017-08-25 08:36:34 +02:00
Jacob McGill
8a966a48c8
ACI VRF: Update module to use new URL Method ( #28646 )
2017-08-25 08:35:45 +02:00
Jacob McGill
f7a466cbb4
ACI Intf Policy Port Security: Update module to use new URL Method ( #28638 )
2017-08-25 08:35:26 +02:00
Jacob McGill
f9036133bb
ACI Tenant: Update module to use new URL Method ( #28640 )
2017-08-25 08:35:00 +02:00
Jacob McGill
9c564de765
ACI L3Out Route Tag: Update module to use new URL Method ( #28637 )
2017-08-25 08:34:35 +02:00
Jacob McGill
a6614a132d
ACI Intf Policy Port Channel: Update module to use new URL Method; add support for ctrl ( #28636 )
2017-08-25 08:33:57 +02:00
Jacob McGill
1bec0e5753
ACI BD: Update module to use new URL Method ( #28625 )
...
* ACI BD: Update module to use new URL Method
* fix docstring errors
2017-08-25 08:33:27 +02:00
Jacob McGill
2e61760659
ACI Contract Subject: Add new module to support managing Contract Sub… ( #28620 )
...
* ACI Contract Subject: Add new module to support managing Contract Subjects in ACI
* Fix Metadata
* Fix Metadata version
2017-08-25 08:33:00 +02:00
Jacob McGill
e434c291ca
ACI Intf Policy MCP: Update module to use new URL Method ( #28635 )
2017-08-25 04:21:08 +02:00
Jacob McGill
fa6da960db
ACI Intf Policy LLDP: Update module to use new URL Method ( #28634 )
2017-08-25 03:57:03 +02:00
Jacob McGill
6109a6c093
ACI Filter: Update module to use new URL Method ( #28630 )
2017-08-25 03:56:18 +02:00
Jacob McGill
f5f2a2fac2
ACI Intf Policy L2: Update module to use new URL Method ( #28633 )
2017-08-25 03:55:45 +02:00
Jacob McGill
25d1ef3493
ACI Intf Policy FC: Update module to use new URL Method ( #28632 )
2017-08-25 03:55:27 +02:00
Jacob McGill
85ca2234fd
ACI Filter Entry: Update module to use new URL Method ( #28631 )
2017-08-25 03:51:21 +02:00
Jacob McGill
0577bf688c
ACI EPG to Contract: Update module to use new URL Method ( #28628 )
2017-08-25 03:45:32 +02:00
Jacob McGill
a4087841a8
ACI EPG to Domain: Update module to use new URL Method ( #28629 )
2017-08-25 03:45:12 +02:00
Jacob McGill
d186c9eda2
ACI EPG Mon Policy: Update module to use new URL Method ( #28627 )
2017-08-25 03:43:10 +02:00
Jacob McGill
9582e7e549
Ap ( #28626 )
...
* ACI Ap: Update module to use new URL Method
* ACI Ap: Update module to use new URL Method
2017-08-25 03:21:10 +02:00
Jacob McGill
0b1ea2be9b
ACI BD Subnet: Update module to use new URL Method ( #28624 )
2017-08-25 03:17:01 +02:00
Jacob McGill
dc232737ba
ACI BD to L3Out: Update module to use new URL Method ( #28623 )
2017-08-25 03:16:17 +02:00
Jacob McGill
28f76166d0
ACI Contract: Update module to use new URL Method ( #28622 )
2017-08-25 03:15:23 +02:00
Jacob McGill
037ef743c3
ACI Contract Subject to Filter: Update module to use new URL Method ( #28621 )
2017-08-25 03:14:36 +02:00
Jacob McGill
061fe51e9a
ACI AEP: Update module to use new URL Method ( #28619 )
...
* ACI AEP: Update module to use new URL Method
* ACI AEP: Update module to use new URL Method
* ACI AEP: Update module to use new URL Method
2017-08-25 02:46:09 +02:00
Peter Sprygada
b34cfd03b3
implements missing code to handle before and after arguments ( #28612 )
...
fixes #21683
2017-08-24 16:00:54 -04:00
Nathaniel Case
07cd4fda0e
Remove module_utils.shell ( #28560 )
...
* Get rid of module_utils.shell
* There is no way this actually raises ShellError
2017-08-24 14:55:03 -04:00
CsilLAB
8d3546af60
Update eos_config documentation. ( #28512 )
...
Added note to documentation about Jinja2 file used as src.
2017-08-24 21:40:36 +05:30
Ganesh Nalawade
55fa4d54aa
Add tested against junos version for junos modules ( #28598 )
...
* Add tested against junos version for junos modules
2017-08-24 10:31:47 -04:00
Trishna Guha
10467efaba
Tested against VYOS version ( #28562 )
...
* Tested againset VYOS version
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix duplicate dict key error vyos_command
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-24 19:08:05 +05:30
Nathaniel Case
ada7f248c0
Add 'Tested on' string to NX-OS modules ( #28531 )
2017-08-24 08:27:39 -04:00
Trishna Guha
cfc6d9f904
Tested against IOS XR version ( #28563 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 22:55:21 +05:30
Trishna Guha
4070a22c5b
Tested against IOS version ( #28559 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 21:03:09 +05:30
Trishna Guha
340f52ae96
tested against eos version ( #28556 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 20:39:31 +05:30
Trishna Guha
4271f6e5e6
fix aggregate doc example ( #28528 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 02:16:45 +05:30
Trishna Guha
c2e41bf1ef
remove net_command ( #28525 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 02:07:39 +05:30
Nathaniel Case
e1def05ba2
fix networking *_command check_mode ( #28407 )
...
* Fix check_mode in nxos_command
* Fix check_mode for ios_command
* fix check_mode for iosxr_command
* Fix check_mode in vyos_command
* Fix check_mode in eos_command
* Fix check_mode in junos_config
2017-08-22 14:02:55 -04:00
Nathaniel Case
96abfde189
Fix idempotence for nxos_vrf_af ( #28419 )
2017-08-22 14:02:01 -04:00
Mike Wiebe
ec11cd2696
nxos_bgp_neighbor_af fix problem with advertise-map properties ( #28413 )
...
* Fix problem with advertise-map properties
* Change limit_to back to run all tests
* Fix unit tests
* Move advertise_map out of get_custom_value
2017-08-21 15:28:02 -04:00
David Kretch
beed59f303
Fix trailing space in ec2_vol example, fix 'the the' typos ( #28440 )
...
* Fix 'the the' typos, fix 'pahting' filename typo
* Change 'the the' typos to a single 'the'.
* Change `playbook_pahting.rst` to `playbook_pathing.rst`.
* Delete trailing space in ec2_vol example
Delete the trailing space in `instance: "{{ item.id }} "`, which makes the
example fail when run because it looks for instance "i-xxxx ".
2017-08-19 23:00:51 +02:00
Nathaniel Case
33f342435a
Attempt to detect and abort when 'fex-fabric' is present ( #28342 )
2017-08-18 16:13:12 -04:00
Ganesh Nalawade
4f54d6cea1
eos aggregate spec validation and doc changes ( #28414 )
...
* Add aggregate validation for eos DI modules
* Doc change to add aggregate examples
2017-08-19 01:41:20 +05:30
Ganesh Nalawade
c4b9dfe542
Remove default description in network DI modules ( #28411 )
2017-08-19 00:09:01 +05:30
Chris Alfonso
bd56e6c9ce
Removing deprecated openswitch modules ( #28397 )
2017-08-18 08:58:45 -06:00
Nathaniel Case
db5d799122
Fix nxos_pim idempotence ( #28348 )
2017-08-18 09:47:41 -04:00
Ganesh Nalawade
9ab9945cf3
iosxr modules aggregate check and other minor refactor ( #28360 )
...
* iosxr aggregate validation
* vyos_user, junos_user minor changes
* Aggregated documentation
2017-08-18 09:50:35 +05:30
Ganesh Nalawade
ceef4f97ed
Use merge operation for load configuration in junos modules ( #28369 )
...
* Change load configuration operation from replace to merge
2017-08-18 09:50:02 +05:30
Dag Wieers
e801187899
Bugfix and assorted fixes ( #28352 )
...
These are updates from aci-ansible.
2017-08-17 21:00:23 +02:00
David Newswanger
b818e986b6
Change network *_user modules to use configured_password to set a users password ( #28187 )
...
* WIP, update eos_user args
* refactor password for ios_user
* add eos tests, fix ios tests
* fixed password check
* refactor iosxr_user password
* fixed password arg for nxos
* [WIP] fix vyos_user password
* fix vyos tests
* update docs for net_user
* fix typo
* fix eos tests
* add warning when attempting to use password arg
* fix sanity/unit tests
* fix eos unit tests
* fix vyos_user aggregate
* fix typo in eos documentation string
* re add configured_password to vyos tests after rebase
2017-08-17 19:06:44 +05:30
Peter Sprygada
b1d297d144
fixes asa_acl module to work with persistent connections ( #28320 )
...
* updates module_utils/asa.py to add missing common argument 'passwords'
* fixes asa_acl.py module to work with persistent connections
2017-08-17 07:48:35 -04:00