Skip to content

UI based network automation platform built on node-red

Notifications You must be signed in to change notification settings

tbotnz/netpalm-flow

Repository files navigation

netpalm-flow

summary

A netpalm wrapper for Node-RED. Provides a simple way to secure Node-RED and interface with netpalm.

  • Drag and Drop workflow automation
  • 1000s of pre-built integrations into databases, applications and services
  • Built in nodes for interfacing with netpalm

installing

git clone https://github.com/tbotnz/netpalm-flow.git
cd netpalm-flow
sudo docker build --tag netpalm-flow .
sudo docker run --name netpalm-flow -p 80:80 netpalm-flow

sample flow

[{"id":"7675e715.964ba8","type":"tab","label":"netpalm demo","disabled":false,"info":""},{"id":"35b924d7.851c2c","type":"inject","z":"7675e715.964ba8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":60,"wires":[["3d7ec6fe.26cada"]]},{"id":"3d7ec6fe.26cada","type":"function","z":"7675e715.964ba8","name":"create payload","func":"msg.payload = {\n    \"library\": \"napalm\",\n    \"connection_args\":{\n    \t\"device_type\":\"cisco_ios\", \"host\":\"10.0.2.30\", \"username\":\"admin\", \"password\":\"admin\"\n    },\n    \"command\": \"show run | i hostname\"\n};\nreturn msg;","outputs":1,"noerr":0,"x":400,"y":140,"wires":[["61f18e6d.c4126"]]},{"id":"ccefce67.de10e8","type":"debug","z":"7675e715.964ba8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1110,"y":220,"wires":[]},{"id":"73a65e59.167508","type":"checktask","z":"7675e715.964ba8","name":"","x":900,"y":180,"wires":[["ccefce67.de10e8"]]},{"id":"61f18e6d.c4126","type":"getconfig","z":"7675e715.964ba8","name":"","returnconfig":"","x":660,"y":220,"wires":[["73a65e59.167508"]]}]

demo

netpalm demo

configuring

configure the config.json with the params for your netpalm server

{
    "netpalm_server": {
        "transport":"http",
        "ip":"127.0.0.1",
        "port":9000,
        "key":"2a84465a-cf38-46b2-9d86-b84Q7d57f288"
    }
}

important note

project is currently more of a POC level implementation, no active development currently being done. Feel free to PR as needed

About

UI based network automation platform built on node-red

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages