• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..13-Oct-2021-

.github/workflows/H13-Oct-2021-3427

changelogs/H13-Oct-2021-215194

docs/H13-Oct-2021-15992

meta/H13-Oct-2021-98

playbooks/clos_fabric_ebgp/H13-Oct-2021-523487

plugins/H13-Oct-2021-1,6601,286

roles/H13-Oct-2021-25,58122,006

tests/H13-Oct-2021-2,5872,224

.ansible-lintH A D16-Feb-202121 32

.gitignoreH A D16-Feb-20216.5 KiB388290

COPYINGH A D16-Feb-202134.3 KiB676553

FILES.jsonH A D16-Feb-2021100.6 KiB3,9533,953

LICENSEH A D16-Feb-202134.3 KiB675553

MANIFEST.jsonH A D16-Feb-20211 KiB3737

README.mdH A D16-Feb-20212.7 KiB9761

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