Coder Social home page Coder Social logo

ansible-cnos's Introduction

Sample Playbooks and Roles for support of Lenovo's CNOS and ENOS based networking devices in Ansible

Overview

  • Modules provide the basis for supporting basic switch management functions.
  • Module Playbooks and Roles are samples showing how to use each of the Modules and must be tailored by the user to their environment.
  • The values of variables used in the sample roles and playbooks are typical to the lab test enviroment. These must be tailored by the user to their environment.

Requirements

  • Ansible 2.6 installed. Ansible Installation Instructions
  • Lenovo CNOS network device version 10.2.1.0 or later
  • Lenovo switches running ENOS version 8.4.1.0 or later
  • SSH enabled on the device

How to Run it?

  • Ansible 2.6 has to be installed first.
  • Clone the ansible-cnos github to an appropriate location.(https://github.com/lenovo/ansible-cnos.git)
  • Copy the necessary playbooks and roles to <ansible-install-directory >/test/integration
  • The roles has to be in the "roles" folder not in the "targets" folder.
  • The host file (/etc/ansible/hosts) has to be updated typically as given in sample host files.
  • Edit the hosts file based on IP address/ Username / Password of their environment
  • Please refer to README.md of individual roles for customizations typical to them.
  • Exceute the playbooks from <ansible-install-directory>/test/integration using command
    ansible-playbook <Your Sample Playbook.yml > -vvvv

Documentation

Lenovo documentation can be found here: Lenovo Ansible Documentation

License

  • GPLv3
  • Copyright (C) 2017 Lenovo, Inc.

ansible-cnos's People

Contributors

dkasberg avatar irobu1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.