summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/network/aos
Commit message (Collapse)AuthorAgeFilesLines
* Nuke all removed_module stubs (#67139)Matt Martz2020-02-0512-180/+0
| | | | | | * Nuke all removed_module stubs * Remove ignores and botmeta entry
* Remove modules which have ended their deprecation cycleToshio Kuratomi2019-04-1212-3273/+56
| | | | | | | | | * Remove code but leave the metadata so that they can be listed as removed in documentation. * Remove removed modules from validate-modules ignore * Remove unittests for the removed nodules * Remove links to removed modules and add list of removed moduels to the 2.9 porting guide
* Update bare exceptions to specify Exception.Toshio Kuratomi2018-12-1611-32/+32
| | | | | This will keep us from accidentally catching program-exiting exceptions like KeyboardInterupt and SystemExit.
* To improve readability, we added a line feed. (#43801)curry99992018-08-083-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modified: google/gcp_compute_backend_bucket.py modified: google/gcp_compute_backend_service.py modified: google/gcp_compute_forwarding_rule.py modified: google/gcp_compute_global_forwarding_rule.py modified: google/gcp_compute_image.py modified: google/gcp_compute_instance.py modified: google/gcp_compute_instance_group.py modified: google/gcp_compute_instance_group_manager.py modified: google/gcp_compute_instance_template.py modified: google/gcp_compute_route.py modified: google/gcp_compute_subnetwork.py modified: google/gcp_compute_target_http_proxy.py modified: google/gcp_compute_target_https_proxy.py modified: google/gcp_compute_target_ssl_proxy.py modified: google/gcp_compute_target_tcp_proxy.py modified: google/gcp_compute_url_map.py modified: google/gcp_container_node_pool.py modified: google/gcp_dns_resource_record_set.py modified: google/gcp_pubsub_subscription.py modified: google/gcp_storage_bucket_access_control.py * modified: lib/ansible/modules/cloud/amazon/aws_ses_identity.py modified: lib/ansible/modules/cloud/amazon/route53_facts.py modified: lib/ansible/modules/cloud/cloudscale/cloudscale_server.py modified: lib/ansible/modules/network/aos/_aos_logical_device.py modified: lib/ansible/modules/network/aos/_aos_rack_type.py modified: lib/ansible/modules/network/aos/_aos_template.py modified: lib/ansible/modules/network/cumulus/nclu.py modified: lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py modified: lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py
* Surround top-level function and class definitions with two blank lines.Joren Vrancken2018-07-319-0/+9
|
* More validate module fixes (#39097)John R Barker2018-04-241-1/+1
| | | * Fix type bool DOCUMENTATION issues
* Depreciate aos (#36029)John R Barker2018-02-1612-12/+60
| | | | | | | | | * Deprecate Apstra's aos_* modules These modules don't work with AOS 2.1 or higher. They will be replaced non-upstreamed modules * Correct list
* Remove deprecated get_exception APIAbhijeet Kasurde2018-02-053-20/+15
| | | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Bulk pep8 fixes - hand crafted (#33690)John R Barker2017-12-078-34/+34
| | | | | | | | | | | | | | * Bulk pep8 fixes - hand crafted Fix by hand the remaining issues that autopep8 couldn't * Next batch of hand crafted pep8 fixes * Ignore W503 https://github.com/PyCQA/pycodestyle/pull/499 * Revert more of W503
* Bulk autopep8 (modules)John Barker2017-12-0711-177/+229
| | | | | | | | | | As agreed in 2017-12-07 Core meeting bulk fix pep8 issues Generated using: autopep8 1.3.3 (pycodestyle: 2.3.1) autopep8 -r --max-line-length 160 --in-place --ignore E305,E402,E722,E741 lib/ansible/modules Manually fix issues that autopep8 has introduced
* Refactor common network shared and platform utils code into package (#33452)Ganesh Nalawade2017-12-0312-12/+12
| | | | | | | | | | | | | | | * 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
* Pep8 aos login.py (#32312)nilhase252017-10-301-0/+2
| | | | | | * fix pep8 issue in consul_kv.py * fix pep8 issue in aos_login.py
* Use safe_load to load yamlGanesh B. Nalawade2017-09-141-1/+1
| | | | Replad `yaml.load` with `yaml.safe_load`
* Romain dartigues fixes (#29169)Toshio Kuratomi2017-09-091-4/+3
| | | | | | | | | * 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
* Fix trailing space in ec2_vol example, fix 'the the' typos (#28440)David Kretch2017-08-191-1/+1
| | | | | | | | | | | | * 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 ".
* Update metadata to 1.1Toshio Kuratomi2017-08-1512-12/+12
|
* Fix undefined variables, basestring usage, and some associated python3 issuesToshio Kuratomi2017-07-251-1/+5
|
* spelling fixes (non-trivial, changing messages) (#25094)Abhijeet Kasurde2017-06-016-9/+9
| | | | | | | | | Multiple spell fixes in single commit. Taking over existing PR as per comment - https://github.com/ansible/ansible/pull/23645#issuecomment-304312275 Original Author: klemens <ka7@github.com> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* aos_login change default port and add version check (#24752)Damien2017-05-261-3/+7
| | | | | | | | | | * Change default port for aos_login and force type to Integer * Add check to make sure aos-pyez is present and has the right version * Update min version requirement in doc * Change default port in documentation as well
* New metadata 1.0 (#22587)Toshio Kuratomi2017-03-1412-36/+48
| | | | | | | | | | | | | | | | 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
* Fix variable name to return to match latest pyez pos version (#21717)Damien2017-02-221-2/+2
|
* network/aos - Fix doc for session information (#21718)Damien2017-02-2110-61/+61
| | | | | | * Fix EXAMPLES to make session variable homogeneous across all modules * Fix parameter name in EXAMPLE, template not design_template
* Add doc link to aos_login module (#21684)Damien2017-02-2011-11/+11
|
* New Module : aos_logical_device_map as part of network/aos (#21277)Damien2017-02-171-0/+274
| | | | | | * Initial version of aos_logical_device_map * Update doc and fix typo
* New Module : aos_logical_device as part of network/aos (#21226)Damien2017-02-171-0/+251
| | | | | | | | | | | | * Add new module aos_logical_device * Add hard stop to documentation * Removed required false from documentation * Add comment before sleep * Replace IP Pool by Logical Device in the doc
* New Module : aos_template as part of network/aos (clean) (#21222)Damien2017-02-171-0/+267
| | | | | | | | | | * Add module aos_template * Add full stop to documentation * Removed required: false in documentation * Add comment for sleep
* New Module : aos_external_router as part of network/aos (clean) (#21221)Damien2017-02-171-0/+331
| | | | | | | | | | * Add module aos_external_router * Add hard stop to documentation * Removed required false from doc * Add documentation for ASN and loopback
* New Module : aos_login as part of network/aos (clean) (#21220)Damien2017-02-171-0/+127
| | | | | | | | | | * Add module aos_login * Cleanup documentation and add hard stop * Add default value in doc for port and remove required: false * Fix typo in doc for check mode
* New Module : aos_asn_pool as part of network/aos (clean) (#21224)Damien2017-02-171-0/+334
| | | | | | | | | | | | | * Add module aos_asn_pool * Add hard stop to documentation * Remove required: false from doc * Add pool name in error message when in_use Change Asn for ASN * Change the documentation for content
* New Module : aos_blueprint as part of network/aos (#21278)Damien2017-02-171-0/+295
| | | | | | | | * Initial release of aos_blueprint * Cleanup documentation based on review comments * Change if else to be python 2.4 compatible
* New Module : aos_device as part of network/aos (#21276)Damien2017-02-171-0/+210
| | | | | | | | | | | | * Initial version of aos_device * Clean up documentation * Move try/except closer to device.approve * Remove non valid characters * Change option approve to type bool and fix some typo
* New Module : aos_blueprint_param as part of network/aos (#21352)Damien2017-02-171-0/+378
| | | | | | | | * Add initial version of aos_blueprint_param * Add a missing hard stop in doc * Remove type: bool from description
* Initial version of Rack Type (#21372)Damien2017-02-171-0/+248
|
* New Module : aos_blueprint_virtnet as part of network/aos (#21432)Damien2017-02-171-0/+215
| | | | | | * Initial version of aos_blueprint_virtnet * Fix indentation in EXAMPLES
* Clean up doc, removed required: false, add hard stop etc .. (#21265)Damien2017-02-101-10/+5
|
* New Module : aos_ip_pool as part of network/aos (#21044)Damien2017-02-092-0/+344
* Initial version of aos_ip_pool module * Add examples for IP Pool * Break down ip_pool into smaller function * Refactor do_load_resource * Add get_display_name_from_file * Add ‘src’ as an option to load ip pool from JSON file * Rename directory network/apstra to network/aos * Remove exception handling temporary * Remove all ‘Exception as XX’ to be python 2.4 compatible * Replace ‘== False’ with ‘is False’ for PEP8 Test * Update documentation to be Yaml compatible * Lisg all method imported from module_utils.aos * Refactor to align with collection.find() changes * Update examples by @gundalow’s recommendations * Update Documentation per @gundalow’s recommendations * Change the license per @gundalow recommendation * Add exception handling for get_aos_session * Change Auth format and add check_aos_version() to check minimum version * Add a check for minimum version * Refactor ‘src’ into ‘content’ to allow more options Remove get_display_name_from_file in aos.py Add content_to_dict in aos.py * Fix variable name in do_load_resource * Add mention of aos.py in module_utilities doc * Add try/except for import yaml * Add try/Except around main block of code and function * Refactor to auto detect content_format, update doc accordingly * Change create_new_ip_pool inputs * Remove unused import * Remove in_use as it’s never used * Fix doc format * Add version number in requirement doc