NetSpyGlass CLI
Project description
NetSpyGlass Command Line Tools
this package installs Python module nsgcli
and two command line scripts: nsgcli
and nsgql
that
use it
Use script tools/build.sh
to build and tools/upload.sh
to push to pypi
Example of API call made by nsgcli
to nsg-api service:
-
System status
curl -H "X-NSG-Auth-API-Token:$NSG_API_TOKEN" $NSG_SERVICE_URL/v2/nsg/cluster/net/1/status
-
NSGQL
curl -d '{"targets": [{"format":"table", "nsgql":"select count(key) from alerts"}]}' -X POST -H "X-NSG-Auth-API-Token:$NSG_API_TOKEN" $NSG_SERVICE_URL/v2/query/net/1/data/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nsgcli-1.1.4.tar.gz
(28.6 kB
view hashes)
Built Distribution
nsgcli-1.1.4-py2-none-any.whl
(41.4 kB
view hashes)