From 24b4799497122b056395a18e9df6f66c945f0582 Mon Sep 17 00:00:00 2001 From: Adisorn Ermongkonchai Date: Fri, 3 Jun 2016 00:39:24 -0400 Subject: [PATCH] added support for ansible-galaxy --- README.md | 20 ++++++++++++-------- meta/main.yml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 meta/main.yml diff --git a/README.md b/README.md index 4108743..bf79131 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 + diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..4752982 --- /dev/null +++ b/meta/main.yml @@ -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.