Skip to content

Commit 24b4799

Browse files
author
Adisorn Ermongkonchai
committed
added support for ansible-galaxy
1 parent ec40c7a commit 24b4799

File tree

2 files changed

+48
-8
lines changed

2 files changed

+48
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,17 @@ implementing Ansible modules, one needs to be aware of their limitation.
7878
continue to grow as more definitions are added and would be a preferred
7979
method for accessing IOS-XR.
8080

81-
# Ansible Test Setup
81+
# Dependencies
8282

83-
- **Prerequisite**
84-
* Create 2 XRV9K (Sunstone) VM's with k9sec security package
85-
* 1 Linux server
86-
* Create network connection between XRV9K and Linux server
83+
- k9sec security package is required on IOS-XR.
8784

88-
- Pull YDK from the github into the Linux server
85+
- Pull YDK from the github onto a Linux server
8986
* git clone https://github.com/CiscoDevNet/ydk-py
9087

91-
- Pull Ansible Core modules
88+
- Pull Ansible Core modules onto a Linux server
9289
* git clone git://github.com/ansible/ansible.git --recursive
9390

94-
Addition read on Ansible installation is here
91+
Additional read on Ansible installation is here
9592
* http://docs.ansible.com/ansible/intro_installation.html#getting-ansible
9693

9794
# Directories structure
@@ -299,3 +296,10 @@ NOTE: Some of these instruction may require root access for setting IOS-XR.
299296
- ASR9K (classic 32-bit QNX IOS-XR)
300297
- NCS1K (rosco)
301298
- NCS5500 (fretta)
299+
300+
# Ansible Test Setup
301+
302+
* 1 or more IOS-XR device(s)
303+
* 1 Linux server (ubuntu 15.10)
304+
* Create network connection between XRV9K and Linux server
305+

meta/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
galaxy_info:
3+
author: 'Adisorn Ermongkonchai'
4+
description: 'IOS-XR device automation tool'
5+
company: 'Cisco Systems, Inc.'
6+
license: 'GPLv3'
7+
min_ansible_version: '2.1.0'
8+
9+
galaxy_tags:
10+
- networking
11+
12+
platforms:
13+
- name: Ubuntu
14+
versions:
15+
- 15.10
16+
- name: ASR9K
17+
versions:
18+
- any
19+
- name: XRV9K
20+
versions:
21+
- 6.0.2
22+
- name: NCS1K
23+
versions:
24+
- 6.0.2
25+
- name: NCS5K
26+
versions:
27+
- 6.0.2
28+
- name: NCS5500
29+
versions:
30+
- 6.0.2
31+
32+
dependencies: []
33+
# List your role dependencies here, one per line. Only
34+
# dependencies available via galaxy should be listed here.
35+
# Be sure to remove the '[]' above if you add dependencies
36+
# to this list.

0 commit comments

Comments
 (0)