07-18-2019 11:25 AM - edited 07-18-2019 01:24 PM
Hi Guys,
I'm working with my teammates in a RESTAPI of CSR1000v.
So we enable the RestAPI configuration on the router, and the token authentication is working fine.
So right now our mission is get informations about the DOMAIN configs using RestAPI, for example..
--------------------------------------------------------------------------------
HQ-MC#sh domain iwan master exits
BR address: 172.31.0.1 | Name: Tunnel100 | type: external | Path: MPLS | path-id: 1 | PLR TCs: 0
Egress capacity: 100000 Kbps | Egress BW: 1 Kbps | Ideal:1 Kbps | under: 0 Kbps | Egress Utilization: 0 %
BR address: 172.31.0.2 | Name: Tunnel200 | type: external | Path: INET | path-id: 2 | PLR TCs: 0
Egress capacity: 20000 Kbps | Egress BW: 1 Kbps | Ideal:0 Kbps | over: 1 Kbps | Egress Utilization: 0 %
--------------------------------------------------------------------------------
We need to get principally the Egress capacity information and the Egress Utilization.
So, do you have any doccument or specifc comments to RestAPI for domain to this router (CSR1000v)?
Maybe a Rest API library of IOS-XE or CSR1000v can help us.
We are trying to get something like this, but we don't getting anything that can helps.
Regards,
BN.
07-19-2019 12:08 AM
Hi
Looks like the info you are looking for is not available via the REST API.
May be available via RESTCONF using YANG models.
https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/16101/Cisco-IOS-XE-bridge-domain.yang
07-19-2019 08:38 AM
Hi Omz,
So we are trying to get api information about PFR3(Performance Routing) for iWan Project.
When I'm talk about domain, I'm talking about domain of iWan "BR(Border Router) + MC(Master Controller) not bridge domain.
Regards,
Brendon Neves.
07-19-2019 08:39 AM
08-07-2019 12:32 AM
Hi Brendon
Have you found anything helpful?
The links were not specific to BD.. they were more of direction to the sites .. I should have made them specific ..
Looking at the API doc there is nothing exposed related to iWAN. I cant see if you can get the required info from the API.
https://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/restapi/restapi/RESTAPIintro.html
There are iWAN yang models .. not sure if they are helpful in your case.
https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/16101/Cisco-IOS-XE-iwanfabric.yang
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide