Simple REST-client for Cisco Nexus Dashboard
Project description
simple_nexus_dashboard is a simplified REST Client for the Cisco Nexus Dashboard
Features
- simple_nexus_dashboard has following features:
manage login
CRUD interface for all possible API URLs via .get, .post, .put
list_all function for getting all paged results
Installation
Install simple_nexus_dashboard by running:
pip3 install simple_nexus_dashboard
Examples
Get all Advisories for a specific Site Group
import getpass
from simple_nexus_dashboard import NexusDashboardClient
from pprint import pprint
nd=NexusDashboardClient("https://" + input("Nexus Dashboard IP:") , ssl_verify=False)
nd.login(input("Username:"),getpass.getpass("Password:"))
nd.nir.params["insightsGroupName"]=input("Site Groupname:")
nd.nir.params["aggr"]="mnemonicTitle"
for item in nd.nir.telemetry.advisories.details.list_all().get("entries",[]):
pprint(item)
Contribute
Issue Tracker: https://github.com/jinjamator/simple_nexus_dashboard/issues
Source Code: https://github.com/jinjamator/simple_nexus_dashboard
Roadmap
- Selected Roadmap items:
add more documentation
add some more examples
For documentation please refer to https://simple_nexus_dashboard.readthedocs.io/en/latest/
License
This project is licensed under the Apache License Version 2.0
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_nexus_dashboard-0.1-py3-none-any.whl.
File metadata
- Download URL: simple_nexus_dashboard-0.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4289be1ebb98a98b7efe0e7d7fda643b7dfb2b7a77c2371cbdb5337b4e145333
|
|
| MD5 |
c88b2f1e68ad2e7794cc49cff2fbe34e
|
|
| BLAKE2b-256 |
691fec560814b1c499439568ab66b65cde57254ccc4a72708fa5acdf15954ff7
|