Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 13-Oct-2021 | - | ||||
.github/workflows/ | H | 13-Oct-2021 | - | 34 | 27 | |
changelogs/ | H | 13-Oct-2021 | - | 215 | 194 | |
docs/ | H | 13-Oct-2021 | - | 159 | 92 | |
meta/ | H | 13-Oct-2021 | - | 9 | 8 | |
playbooks/clos_fabric_ebgp/ | H | 13-Oct-2021 | - | 523 | 487 | |
plugins/ | H | 13-Oct-2021 | - | 1,660 | 1,286 | |
roles/ | H | 13-Oct-2021 | - | 25,581 | 22,006 | |
tests/ | H | 13-Oct-2021 | - | 2,587 | 2,224 | |
.ansible-lint | H A D | 16-Feb-2021 | 21 | 3 | 2 | |
.gitignore | H A D | 16-Feb-2021 | 6.5 KiB | 388 | 290 | |
COPYING | H A D | 16-Feb-2021 | 34.3 KiB | 676 | 553 | |
FILES.json | H A D | 16-Feb-2021 | 100.6 KiB | 3,953 | 3,953 | |
LICENSE | H A D | 16-Feb-2021 | 34.3 KiB | 675 | 553 | |
MANIFEST.json | H A D | 16-Feb-2021 | 1 KiB | 37 | 37 | |
README.md | H A D | 16-Feb-2021 | 2.7 KiB | 97 | 61 |
README.md
1# Ansible Network Collection for Dell EMC OS9 2 3## Collection contents 4 5This collection includes the Ansible modules, plugins and roles needed to provision and manage Dell EMC PowerSwitch platforms running Dell EMC OS9. Sample playbooks and documentation are also included to show how the collection can be used. 6 7### Collection core modules 8 9- **os9_command.py** — Run commands on devices running OS9 10 11- **os9_config.py** — Manage configuration sections on devices running OS9 12 13- **os9_facts.py** — Collect facts from devices running OS9 14 15### Collection roles 16 17These roles facilitate provisioning and administration of devices running Dell EMC OS9. There are over 22 roles available that provide a comprehensive coverage of most OS9 resources, including os9_aaa, os9_bgp and os9_ecmp. The documentation for each role is at [OS9 roles](https://github.com/ansible-collections/dellemc.os9/blob/master/docs/roles.rst). 18 19### Sample use case playbooks 20 21This collection includes the following sample playbooks that illustrate end to end use cases: 22 23- [CLOS Fabric](https://github.com/ansible-collections/dellemc.os9/blob/master/playbooks/clos_fabric_ebgp/README.md) — Example playbook to build a Layer 3 Leaf-Spine fabric 24 25## Installation 26 27Use this command to install the latest version of the OS9 collection from Ansible Galaxy: 28 29``` 30 ansible-galaxy collection install dellemc.os9 31 32``` 33 34To install a specific version, a version range identifier must be specified. For example, to install the most recent version that is greater than or equal to 1.0.0 and less than 2.0.0: 35 36``` 37 ansible-galaxy collection install 'dellemc.os9:>=1.0.0,<2.0.0' 38 39``` 40 41## Version compatibility 42 43* Ansible version 2.10 or higher 44* Python 2.7 or higher and Python 3.5 or higher 45 46> **NOTE**: For Ansible versions lower than 2.10, use the legacy [dellos9 modules](https://ansible-dellos-docs.readthedocs.io/en/latest/modules.html#os9-modules) and [dellos roles](https://ansible-dellos-docs.readthedocs.io/en/latest/roles.html). 47 48 49## Sample playbook 50 51**playbook.yaml** 52 53``` 54- hosts: os9_switches 55 connection: network_cli 56 collections: 57 - dellemc.os9 58 roles: 59 - os9_vlan 60``` 61 62**host_vars/os9_sw1.yaml** 63 64``` 65hostname: os9_sw1 66# Parameters for connection type network_cli 67ansible_ssh_user: xxxx 68ansible_ssh_pass: xxxx 69ansible_network_os: dellemc.os9.os9 70 71# Create vlan100 and delete vlan888 72os9_vlan: 73 vlan 100: 74 description: "Blue" 75 state: present 76 vlan 888: 77 state: absent 78 79``` 80 81**inventory.yaml** 82 83``` 84[os9_sw1] 85os9_sw1 ansible_host=100.104.28.119 86 87[os9_sw2] 88os9_sw2 ansible_host=100.104.28.118 89 90[os9_switches:children] 91os9_sw1 92os9_sw2 93 94``` 95 96(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. 97