GithubHelp home page GithubHelp logo

stackstorm-aruba-fc's Introduction

stackstorm-arista-cvp

ARISTA Integration Pack

This pack allows you to integrate with Arista EOSr.

Configuration

Copy the example configuration in arista-eos.yaml.example to /opt/stackstorm/configs/arista-eos.yaml and edit as required.

It must contain:

ipaddress - Your Arista EOS appliance IP address
username - Arista EOS Username
password - Arista EOS Password

You can also use dynamic values from the datastore. See the docs for more info.

Example configuration:

---
  ipaddress: "10.10.10.10"
  username: "admin"
  password: "admin"

You can also run st2 pack config arista-cvp and answer the prompts

Note : When modifying the configuration in /opt/stackstorm/configs/ please remember to tell StackStorm to load these new values by running st2ctl reload --register-configs

Actions

Actions are defined in two groups:

Individual actions: GET, POST, PUT with under bar will precede each individual action

  • get_alarms
  • get_interfaces
  • get_inventory

Orquestra Workflows: will not

  • sendsnow
  • get-arista-eos-2-snow
  • set-vlans

This application uses the mongo db installed by StackStorm. Since the DB is secured you will need to log into the StackStorm mongo DB as a StackStorm admin and create a separate DB

CVP to get mongengine to work with StackStorm mongo DB

log in to stackstorm database with admin first

mongo -u admin -p UkIbDILcNbMhkh3KtN6xfr9h admin (passwd in /etc/st2/st2.config)

Then create a new user

db.createUser({user: "appUser",pwd: "passwordForAppUser",roles: [ { role: "readWrite", db: "app_db" } ]})

If you want to look at the mongo collections via the mongo client do this:

mongo -u appUser -p passwordForAppUser admin
show dbs
use <db>
show collections

stackstorm-aruba-fc's People

Contributors

classicvalues avatar mend-bolt-for-github[bot] avatar xod442 avatar

Stargazers

 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.