cisco-open / ansible-collection-catalystwan Goto Github PK
View Code? Open in Web Editor NEWThis repository contains the necessary ansible modules which uses catalystwan SDK
License: GNU General Public License v3.0
This repository contains the necessary ansible modules which uses catalystwan SDK
License: GNU General Public License v3.0
Module plugins/modules/software_upgrade.py
is doing upgrades which can take quite long time (from minutes to hours).
Currently we do not have any progress bar or stdout information about progress of the upgrade.
Verify if it is possible to incorporate progress bar or any other STDOUT mechanism for notifying users about progress of software upgrades.
No response
check_version_id_exists_in_repository
in plugins/modules/software_repository.py
should be deprecated.
notes from previous repository:
# TODO enhance checks based on some requirements, because it seems that we have too many options to define version
# TODO - move to filter
No response
N/A
None
Example in file plugins/module_utils/vmanage_module.py
:
result.response = [task.dict() for task in task_result.sub_tasks_data]
Our result should provide task status, not id
No response
N/a
None
Ansible Module utils do not provide any mechanism for controlling STDOUT prints for custom written modules. We can scrap verbosity level (from -vvv flags), so we can enhance our custom developers logger now.
But for printing, we have no access to Ansible class Display from utils for Ansible Core. Guess there were reasons why they didn't provide it for the custom modules - but don't know yet why. And don't know how to overcome it easily.
Enable printing STDOUT (like some waiting time, retries etc.)
No response
Add listed below features.
No response
Example module should look like:
- name: Send raw request to vManage
cisco.catalystwan.request:
endpoint: "desired endponit"
payload: "Any dict provided by user, or json, or whatever"
...
That requires rethink of handling get/put/post/delete operations, and also payload fetching
No response
Validate variables with schema.
Can be applied to all inputs that are for modules.
No response
Now we are adding devices in a loop, type after type. It can be slow for too many devices.
This FR would be considered done if our modules would handle list of devices that will be passed to modules, and it would add them in parallel.
No response
All of the modules will produce 2 log files: ansible_catalystwan_module.log and catalystwan.log.
Currently base dir destination of these log files will be current working directory of playbooks.
Allow external configuration of log paths within ansible.cfg or other .cfg file.
Define when log error/info/debug, define message schema, output etc.
That needs to be perfected in order to let users have meaningful understanding of the modules.
Update logger config and let -vvv flags and ansible verbosity to control these levels
# verbosity = module.module._verbosity
Currently when uploading software images we can pass only one image.
software_repository
modules, in parameter image_path
or image
accepts list of images to upload (and upload will happen in parallel)
No response
Currently in plugins/modules/administration_settings.py
under certificates
we support only cisco
.
Enhance certificates operations with digicert
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.