Commit 5a3976e3 by amir

adding cisco cdp

parent d613f1d7
This diff could not be displayed because it is too large.
CISCO CDP:
[SITE]
https://developer.cisco.com/site/smartconnected-communities/index.gsp
choose smart+connected digital platform
- active "Reserve" and wait for the mail to ipg.test
[INSTALL VPN ]
http://www.humans-enabled.com/2011/06/how-to-connect-ubuntu-linux-to-cisco.html
- connect to vpn with the user/pass you've got in mail
- After connect to login ( with params from mail) :
http://10.10.20.6/apigw/devnetlabtokenapi/login
{
"scope": "default",
"token_type": "bearer",
"app_access_token": "b746d143ba4f9fae868b1e7efa533161",
"app_refresh_token": "57de744cb5f932dc480887f426b63a0",
"app_expires_in": 3600,
"api_access_token": "LuGy7w5FvQTRULXEEtCgWFnXZjPl",
"api_expires_in": 3599
}
* All api's from here require the Headers"
WSO2-Authorization: [app_access_token]
Authorization: [api_access_token]
- Run Get User Details to retrieve UserKey (id) and SensorCustomerKey (parent id)
- Add to devices api the query params: ?UserKey=[id]&SensorCustomerKey=[parent id]AppKey=CDP-App
- enjoy ;-)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment