Skip to content

Commit

Permalink
added support for ansible-galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Adisorn Ermongkonchai committed Jun 3, 2016
1 parent ec40c7a commit 24b4799
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,17 @@ implementing Ansible modules, one needs to be aware of their limitation.
continue to grow as more definitions are added and would be a preferred
method for accessing IOS-XR.

# Ansible Test Setup
# Dependencies

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

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

- Pull Ansible Core modules
- Pull Ansible Core modules onto a Linux server
* git clone git://github.com/ansible/ansible.git --recursive

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

# Directories structure
Expand Down Expand Up @@ -299,3 +296,10 @@ NOTE: Some of these instruction may require root access for setting IOS-XR.
- ASR9K (classic 32-bit QNX IOS-XR)
- NCS1K (rosco)
- NCS5500 (fretta)

# Ansible Test Setup

* 1 or more IOS-XR device(s)
* 1 Linux server (ubuntu 15.10)
* Create network connection between XRV9K and Linux server

36 changes: 36 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
galaxy_info:
author: 'Adisorn Ermongkonchai'
description: 'IOS-XR device automation tool'
company: 'Cisco Systems, Inc.'
license: 'GPLv3'
min_ansible_version: '2.1.0'

galaxy_tags:
- networking

platforms:
- name: Ubuntu
versions:
- 15.10
- name: ASR9K
versions:
- any
- name: XRV9K
versions:
- 6.0.2
- name: NCS1K
versions:
- 6.0.2
- name: NCS5K
versions:
- 6.0.2
- name: NCS5500
versions:
- 6.0.2

dependencies: []
# List your role dependencies here, one per line. Only
# dependencies available via galaxy should be listed here.
# Be sure to remove the '[]' above if you add dependencies
# to this list.

0 comments on commit 24b4799

Please sign in to comment.