ecmcli
CLI for Cradlepoint ECM
About
Installation provides a command line utility (ecm) which can be used to interact with Cradlepoint’s ECM service. Commands are subtasks of the ECM utility. The full list of subtasks are visible by running ‘ecm –help’.
Walkthrough Video
Requirements
syndicate Python Library
shellish Python Library
humanize Python Library
ECM Login
Installation
python3 ./setup.py build python3 ./setup.py install
Compatibility
Python 3.4+
Mac OSX Notes
I feel compelled to make a note about OSX as I’ve decided to only support Python 3.4+ for this tool. In my experience, using Python 3 as installed by Homebrew and setuptools as installed by pip, a usable PATH is not provided and/or symlinking behavior for python3 setuptools scripts is not handled.
To work around this I’m simply adding the ‘bin’ directory used for the Python 3 framework to my PATH variable, a la..
PATH=$PATH:/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/bin
I welcome someone explaining to me a better solution.
Example Usage
Viewing Device Logs
$ ecm logs
Monitoring WAN Rates
$ ecm wanrate
Home 2100(24400): [device is offline], Home Router(138927): 68.1 KiB, Home 1400(669): 0 Bytes
Home 2100(24400): [device is offline], Home Router(138927): 43.6 KiB, Home 1400(669): 0 Bytes
Home 2100(24400): [device is offline], Home Router(138927): 40.6 KiB, Home 1400(669): 0 Bytes
Home 2100(24400): [device is offline], Home Router(138927): 49.7 KiB, Home 1400(669): 0 Bytes
Rebooting a specific router
$ ecm reboot --routers 669
Rebooting:
Home 1400 (669)
Metadata
Release files for ecmcli 3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ecmcli-3.tar.gz | 379.5 kB | Details |
Release files / ecmcli-3.tar.gz
| Download URL | ecmcli-3.tar.gz |
|---|---|
| Size | 379.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ad3de1c6833c5b3b4cbff09bd58a0785e5e95f6cd0daa90504248e5a7f7d6ae
|
|
BLAKE2b-256 checksum How to use checksums |
6474806793f49debd47242c0bf8038ac15d575fc7e715b504b1f845817770ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |