StackStorm-Exchange / stackstorm-aoscx

Apache License 2.0
0 stars 3 forks source link

AOS-CX StackStorm Integration Pack

This StackStorm pack includes integration with the AOS-CX switching platform as well as workflows including third-party tools such as Ansible.

Requirements

Installation

To install this pack use the st2 install command specifying Python3:

st2 pack install aoscx --python3

Configuration

The aoscx.yaml.example files is an example configuration file used by the AOS-CX Websocket port_sensor.
This is where you define the AOS-CX device, it's credentials, and the interfaces you want to monitor.
Copy this to /opt/stackstorm/configs/aoscx.yaml.

Credentials Configuration

The pack uses REST-API to connect to the AOS-CX switch. The following format is used to specify the credentials for the device. Each credential must have a username and password that is authorized for REST-API commands:

credentials:
  admin:
    username: admin
    password: admin

Device Configuration

The device configuration requires the IP address of the AOS-CX device, it's credentials, and the list of interfaces to monitor. It is optional to provide PROXY information to use in connecting to the AOS-CX Websocket.

device:
  ip_address: 10.100.206.188
  hostname: 8320-CX-188
  credentials: admin
  interface:
    - 1/1/1
    - 1/1/23
    - 1/1/14
  proxy:
    http: None
    https: None

Actions

Actions in this pack use REST-API to connect to the AOS-CX switch as well as third-party frameworks:

Action Workflows

Action Workflows in this pack use REST-API to connect to the AOS-CX switch as well as third-party frameworks:

Sensors

There is one Sensor currently implemented in this pack:

Rules and Triggers

This pack defines rules for handling syslog or websocket events from AOS-CX devices:

Contribution

At Aruba Networks we're dedicated to ensuring the quality of our products, so if you find any issues at all please open an issue on our Github and we'll be sure to respond promptly!

For more contribution opportunities follow our guidelines outlined in our CONTRIBUTING.md