PyDME is a tool to provide a simple Python abstraction over DME REST API, and managed objects. Full documentation is available here
This tool is in pre EFT/Beta stage.
Configuration and event subscription examples can be found in examples directory.
- Download Dockerfile located here
- Change directory to the location where the above file is downloaded.
docker build -t pydme .
- Once the docker image is ready, run
docker images
and get the IMAGE ID docker run -it <IMAGE ID> /bin/bash
- Once inside the container, run
export PYDME_HOME=/localws/pydme
- Change directory to
/localws/pydme/examples
- Edit simpleBgpExample.py to add host, username, password of the device
- run
python simpleBgpExample.py
Note: It could take a while for the docker to be installed.