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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f95f02d7fec412539abd20bb1f037773c8c365eac7481b3405468195d65334e5 |
|
MD5 | 2238e072bdc013187decaac0c306619d |
|
BLAKE2b-256 | a687839996a66bdf736501485f53ed093060cbb08b0cf52082f365f3eb9ec6d5 |
Close
Hashes for CiscoSecurityDevice-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a18eba06ecf1d39b427ff71eb0d62ec834848646261e10a763116384740723b |
|
MD5 | e2116a3f9ac0614e77ab3b9f83673b20 |
|
BLAKE2b-256 | 6ee69571b4a5cd111d97066499514b97b45e69734e9e0676a30fc00bdb11f0bc |