Trishna Guha
98269888a9
iosxr_banner Implementation module ( #25744 )
...
* Add iosxr_banner implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Integration test for iosxr_banner
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Unit test for iosxr_banner
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove blank line pep8
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Trishna Guha
44687bb917
Add iosxr_user implementation module ( #25615 )
...
* Add iosxr_user implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_user Integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_user Unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Modify integration test with idempotent case
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Trishna Guha
b3c22a96bd
Add vyos_user implementation module ( #25677 )
...
* Add vyos_user implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Integration test for vyos_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Make state absent work
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Unit test for vyos_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Standardize user names
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Modify integration test with idempotent case
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add role as alias to level
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Trishna Guha
9c6ee8d0bb
Add nxos_banner implementation module ( #25695 )
...
* Add nxos_banner implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_banner integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_banner unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* doc update
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Brian Coca
342a85d33f
fixed again
8 years ago
Brian Coca
83703e3137
skip f5 tests when f5 lib not installed
8 years ago
Tim Rupp
8e3ef4b052
Adds virtual_address module ( #25728 )
...
This module lets users manage a number of different config options
for Virtual Addresses on a BIG-IP.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_virtual_address.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_virtual_address/tasks
8 years ago
Tim Rupp
b85785bf07
Refactors irule module to conform to recent standards ( #25709 )
...
Also includes unit tests for the code
8 years ago
Tim Rupp
ba12ce64b0
Adds the bigip_snmp module ( #25668 )
...
This patch adds a module for managing several snmp related settings
on a BIG-IP that are required when configuring the range of SNMP
settings on a device.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_snmp.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_snmp/tasks
8 years ago
Tim Rupp
478d364f4d
Adds bigip_iapp_template module ( #25630 )
...
This module can be used to upload and manage TCL iApps on a BIG-IP.
iApps can be added, removed and updated in place as needed. iApp
files should be provided to the module via Ansible lookups.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_iapp_template.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_iapp_template/tasks
8 years ago
Tim Rupp
0c68e200d5
Adds the bigip_provision module to Ansible ( #25558 )
...
This module allows an administrator to provision new module functionality
on a BIG-IP. BIG-IP modules provide enhanced ADC and security features that
are commonly used by customers such as GTM, ASM, and AFM.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_provision.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_provision/tasks
8 years ago
Nathaniel Case
4344132a7d
nxos_vpc updates ( #25452 )
...
* Add nxos_vpc tests
* Split execute-show between get_config and run_commands
8 years ago
Tim Rupp
61684f7313
Updates gtm wide ip module to be feature complete ( #25502 )
...
This module is used to manage GTM wide ips on a bigip.
Previously, this module only included a small subset of functionality
primarily related to editing a wide ip that already existed. Additionally
it used the SOAP api for its communication. this patch completes the
feature set of wide ips and refactors the code to use the F5 python SDK
and the REST API.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_gtm_wide_ip.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_gtm_wide_ip/tasks
8 years ago
Trishna Guha
91e5fce90f
Add ios_user implementation module ( #25413 )
...
* Add ios_user module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Integration test for ios_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add unit test for ios_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
George Nikolopoulos
a00089c341
New module: manage Citrix Netscaler service configuration (network/netscaler/netscaler_service) ( #25129 )
...
* netscaler_service initial implementation
* Changes as requested by reviewers
* Skip some tests if under python2.6 and importing requests library
* Change option "operation" to "state"
* Remove print statements from netscaler module utils
* Catch all exceptions during login
* Fix fail message
* Add common option save_config
8 years ago
Brian Coca
745f72916f
bigip tests now skipped if missing lib
8 years ago
Tim Rupp
6f2c543a33
Updates and refactors the bigip pool module to use REST ( #25234 )
...
This patch updates the bigip_pool module to use F5's REST API
as well as includes unit tests.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_pool.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_pool/tasks
8 years ago
Tim Rupp
855fd98be6
Adds the bigip_config module to Ansible ( #25191 )
...
This patch adds the bigip_config module to Ansible to support
merging SCF files, saving running configs, resetting config
and validating SCF configs
8 years ago
Nathaniel Case
f52dcef7ba
Actually check for equality on empty commands array ( #25308 )
8 years ago
Tim Rupp
0133a5a763
Adds the bigip_gtm_pool module ( #25275 )
...
This module is used to manage GTM(DNS) pools in a BIG-IP.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_gtm_pool.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_gtm_pool/tasks
8 years ago
Trishna Guha
343b83041e
nxos_feature fix and unit test ( #25200 )
...
* nxos_feature fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_feature unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove from pep8/legacy-file
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Trishna Guha
fb87680046
fix state present nxos_evpn_vni ( #25212 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Nathaniel Case
53837c2ab0
Assorted nxos_bgp_* fixes ( #25080 )
...
* Simplify apply_key_map
* Fix nxapi
* Clean up get_value
* Fix missing non-values
* Add test for existing bgp_af case
* Fix small issues with bgp_neighbor_af
8 years ago
Dag Wieers
4efec414e7
test/: PEP8 compliancy ( #24803 )
...
* test/: PEP8 compliancy
- Make PEP8 compliant
* Python3 chokes on casting int to bytes (#24952 )
But if we tell the formatter that the var is a number, it works
8 years ago
Trishna Guha
31c59ad5f9
nxos_portchannel fix and unit test ( #25019 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Nathaniel Case
8985f7c930
nxos_static_route updates ( #24992 )
...
* Add static_route tests
* Add VRF tests
8 years ago
Trishna Guha
6a3ce18e4b
add more testcases for nxos_evpn_vni ( #24996 )
8 years ago
Tim Rupp
6ef022b034
Adds the bigip_snmp_trap module to Ansible ( #24848 )
...
This patch adds the bigip_snmp_trap module to Ansible to support managing
SNMP trap destinations on an F5 BIG-IP.
8 years ago
Nathaniel Case
dd4a79d7d3
Clean up nxos_bgp_neighbor_af ( #24890 )
...
* Fix pep8 in bgp_neighbor_af
* Remove WARNINGS
* Rewrite command detection
* Add bgp_neighbor_af test
* Finally kill invoke
8 years ago
Tim Rupp
4fc40304d5
Adds the bigip_command module to Ansible ( #24850 )
...
This patch adds the bigip_command module to Ansible to support arbitrary
tmsh command to a F5 BIG-IP.
8 years ago
Ricardo Carrillo Cruz
b12beca3ed
Refactos nxos_ip_interface module ( #24885 )
8 years ago
Trishna Guha
1e5a0982b9
Fix nxos_hsrp and add unit test ( #24770 )
...
* nxos_hsrp fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* unit test nxos_hsrp
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* ansibot told me to do this
* revert apply_key_map and simplify method
8 years ago
Tim Rupp
22e096f911
Changes skip test for bigip user ( #24799 )
...
All of the F5 Ansible modules will come to require the same major
dependencies over time. This mentions that.
8 years ago
Trishna Guha
998305a493
nxos_ospf_vrf fix and unittest ( #24495 )
8 years ago
Tim Rupp
c1397626fc
Adds the bigip_user module to Ansible ( #24753 )
...
The patch adds the bigip_user module to Ansible to support managing
users on an F5 BIG-IP.
Unit tests are provided. Integration tests can be found here
* https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_user.yaml
* https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_user/tasks
8 years ago
Trishna Guha
8937246f8f
Fix nxos ospf and Unit test ( #24613 )
...
* nxos_ospf fixes refactor
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* unit test nxos_ospf
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Ganesh Nalawade
f5d865a208
Fixes #24251 save config only if it is changed ( #24345 )
...
* Fixes #24251 save config only if it is changed
Save to startup configuration only when it is different
from running configuration.
* Fix unit test issue
8 years ago
Nathaniel Case
f240ba6b60
nxos_bgp_neighbor cleanup ( #24446 )
8 years ago
Trishna Guha
b2a2f69a6e
nxos_vrf_af fix and unit test ( #24399 )
...
* nxos_vrf_af fix and unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* ansibot told me to do this
* use sorted() as the test list elements differ in order for python2.x and 3.x
8 years ago
Trishna Guha
62eafa8837
fixes nxos_evpn_vni and unittest ( #24372 )
...
* fixes nxos_evpn_vni
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fixes pep8 issue and syntax error
* ansibot tole me to do this
* Unit test
8 years ago
Nathaniel Case
09b2964dee
nxos_bgp_af updates ( #24171 )
...
* update docs
* clean up nxos-bgp_af
* Remove useless params from bgp_af
* Add bgp_af tests
8 years ago
Nathaniel Case
830f19d444
nxos_bgp updates ( #24270 )
...
* Remove invoke from nxos_bgp
* Try to simplify get_existing
* Streamline state_present
* More testing, squash & compact get_value & get_custom_value
* Streamline main
* nxapi has problems reading CustomNetworkConfig directly
8 years ago
Trishna Guha
ad0a01ffb5
nxos_vrf refactor ( #24280 )
...
* nxos_vrf refactor
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Unit test for nxos_vrf
Remove unnecessary keys() method
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Ganesh Nalawade
0e756a1cf9
Add junos unit test case ( #24249 )
...
* Add junos modules unit test case
* Fix CI issues
8 years ago
Ricardo Carrillo Cruz
7195c31753
Refactor openvswitch_port module ( #24205 )
...
Use current patterns from other network modules for better
maintainability.
8 years ago
Ricardo Carrillo Cruz
467a9bdd4e
Refactor openvswitch_bridge ( #24014 )
...
Use common patterns from other network modules for better
maintainability.
8 years ago
Trishna Guha
2741907cba
Refactor nxos_interface and add unit test ( #24008 )
...
* [WIP] Refactor nxos_interface
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Modification in refactor
Unittest for nxos_interface
8 years ago
Nathaniel Case
fc0bf87c20
Run `save` inside config mode. ( #23977 )
...
* Run `save` before exiting config mode.
* Fix unit tests for `save`
* Allow `save` to be on its own again and introspect success
* Introspecting `compare running` makes this a lot harder.
Move `save` tests to integration tests
8 years ago
Ganesh Nalawade
9c4daded94
Add junos_config unit test ( #24005 )
8 years ago
Ricardo Carrillo Cruz
2716fad38f
Return commands instead of command ( #24061 )
...
Ok, so for openvswitch_db in particular we just return one command
but in the sake of consistency and code re-use, let's return a list
of "commands", even if it's just one.
8 years ago