This wrapper is designed to provide a unique interface to interact with ISE and FMC api.
Project description
CiscoSecurityDevice
This is a wrapper which provides a unique interface to the Cisco's FMC and Cisco's ISE Rest API, to intereract in a common way. This wrapper uses :
- Python Library : ISE : to interact with ISE Rest API
- Python Library : fireREST : to interact with FMC Rest API
Intallation
This wrapper can be installed by executing following command:
pip install CiscoSecurityDevice
Usage
To use the above wrapper:
- Initiialize the object with Device Detail and Device Type
# For Interacting with ISE
device = CiscoSecurityDevice('192.168.10.10', 'admin', 'C1sc0123', 'ise')
ise = device.get_device_access()
print(ise.get_identity_group(group='Employee')['response'])
# For Interacting with FMC
device = CiscoSecurityDevice('192.168.10.11', 'admin', 'C1sc0123', 'fmc')
fmc = device.get_device_access()
print(fmc.object.network.get())
Note: Currently wrapper can server for ISE and FMC only
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
Built Distribution
Close
Hashes for CiscoSecurityDevice-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f8cf27b16d82ae8477359bce1335c261f94efbc8c30ae6afafff184b480d72 |
|
MD5 | 063cf0d57aeeb2d0e16f27e7ee650f24 |
|
BLAKE2b-256 | 84735ce0b928b1aa509fe8efc9b30886bbf022b250d73b0ad4922665866b8c3f |
Close
Hashes for CiscoSecurityDevice-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87edef0186eadc4bbccce465abacdb3ca9ed867f97eca4a33a39e990a19e4c31 |
|
MD5 | 1f5e632a8ce187f940fb85d2ac3694d2 |
|
BLAKE2b-256 | d4d7fea983a29836957359e52d0b3270fb7a5997b726b4eb9b2ef036f339caf6 |