Ansible Collection to manage Nokia SR Linux devices. Documentation is provided at https://learn.srlinux.dev/ansible/collection/
Start with cloning the repo:
git clone git@github.com:nokia/srlinux-ansible-collection.git
cd srlinux-ansible-collection
Deploy the lab to support the tests:
./run.sh deploy-lab
Run the automated suite of tests to make sure nothing is missing. This will also prepare a dev environment (you have to make sure the venv with ansible is activated or ansible-playbook is in your path):
./run.sh test
To validate that the code passes Ansible's sanity check, run:
./run.sh sanity-test
To run an individual test, first make sure that the local code base is used by ansible. This can be done by running:
./run.sh prepare-dev-env
Then either run one of the provided test playbooks (defined in run.sh) or run your own:
./run.sh test-set-leaves
The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.
We are actively accepting new contributors and all types of contributions are very welcome.
Don't know how to start? Refer to the Ansible community guide!
Want to submit code changes? Take a look at the Quick-start development guide.
We also use the following guidelines:
We follow the Ansible Code of Conduct in all our interactions within this project.
If you encounter abusive behavior, please refer to the policy violations section of the Code for information on how to raise a complaint.
Join the Ansible forum:
- Get Help: get help or help others. Please add appropriate tags if you start new discussions.
- Posts tagged with 'srlinux': subscribe to participate in SR Linux Ansible collection/technology-related conversations.
- Social Spaces: gather and interact with fellow enthusiasts.
- News & Announcements: track project-wide announcements including social events. The Bullhorn newsletter, which is used to announce releases and important changes, can also be found here.
BSD 3-Clause License
See LICENSE to see the full text.