Code Monkey home page Code Monkey logo

ecmcli's Introduction

ecmcli

CLI for Cradlepoint ECM

Maturity License Change Log Build Status Version

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

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)

ecmcli's People

Contributors

mayfield avatar zvickery avatar

Watchers

 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.