The Ansible Ciena MDSO collection includes a variety of Ansible content to help automate the management of Ciena MDSO Orchestration system.
This collection has been tested against MDSO 20.06
This collection has been tested against following Ansible versions: >=2.9.10,<2.11.
NOTE: for Python3+ use ansible>=2.10.0
Name | Description |
---|---|
[ciena.mdso.domains] | orchestration domains |
[ciena.mdso.domain_types] | orchestration domain_types |
[ciena.mdso.products] | orchestration products |
[ciena.mdso.resources] | orchestration resources |
[ciena.mdso.resource_types] | orchestration resource_types |
[ciena.mdso.relationships] | orchestration relationships |
Install the Ciena MDSO collection with the Ansible Galaxy CLI:
ansible-galaxy collection install ciena.mdso
You can also include it in a requirements.yml
file and install it with ansible-galaxy collection install -r requirements.yml
, using the format:
---
collections:
- name: ciena.mdso
You can call modules by their Fully Qualified Collection Namespace (FQCN), such as ciena.mdso.resources
.
---
- hosts:
- localhost
vars:
mdso_creds: &mdso_creds
mdso_hostname: https://10.10.10.10
mdso_username: admin
mdso_password: adminpw
collections:
- ciena.mdso
gather_facts: false
tasks:
- name: get NumberPool products
products:
<<: *mdso_creds
state: get
q: resourceTypeId:tosca.resourceTypes.NumberPool
register: products
- debug:
var: products
More examples available in examples
dir.
We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the Ciena MDSO collection repository.
Release is done automatically use Github Actions as part of merging to master.
- build a roadmap
- Ansible network resources
- Ansible Collection overview
- Ansible User guide
- Ansible Developer guide
- Ansible Community code of conduct
See LICENSE to see the full text.