-
Notifications
You must be signed in to change notification settings - Fork 3
FAQ
Jeremy Barlow edited this page Sep 22, 2017
·
1 revision
- I am having trouble running the samples, what can I do to debug them?
- I receive a timeout, "
dxlclient.exceptions.WaitTimeoutException: Timeout waiting for response to message", when attempting to use the client library/samples
Q: I am having trouble running the samples, what can I do to debug them?
A: The following steps are generally useful for debugging the client library/samples:
Ensure the prerequisites for the Cisco pxGrid DXL client library have been met.
Switch from
ERRORtoDEBUGlogging in the samples as shown below:# Configure local logger logging.getLogger().setLevel(logging.ERROR)Change to:
# Configure local logger logging.getLogger().setLevel(logging.DEBUG)
A: This exception typically occurs due to the Python client not having permission to perform pxGrid queries or receive pxGrid event notifications.
Please refer to the following page for a detailed description of authorizing the client to perform pxGrid queries:
https://opendxl.github.io/opendxl-pxgrid-client-python/pydoc/pxgridauth.html
Cisco pxGrid DXL Client Library
SDK Modules
Examples
- Basic
- Cisco Adaptive Network Control (ANC)
- Apply Endpoint Policy by IP Address
- Apply Endpoint Policy by MAC Address
- Apply Endpoint Policy Notification
- Clear Endpoint Policy by IP Address
- Clear Endpoint Policy by MAC Address
- Clear Endpoint Policy Notification
- Get Endpoint Policy by IP Address
- Get Endpoint Policy by MAC Address
- Retrieve All Policies
- Retrieve Policy by Name
- Create Policy Notification
- Update Policy Notification
- Delete Policy Notification
- Cisco Endpoint Protection Service (EPS)
- Session Notification
- Cisco Adaptive Network Control (ANC)