- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 02:58 AM
Hello,
I am new on REST API.
Now I am working on BGP GET/POST using FDM API Explorer. we don't have FMC.
My https GET request is the following:
/devices/default/routing/virtualrouters/{vrfId}/bgp
I cannot find out what is the correct value of {vrfId} to run this request.
I have only one BGP session, no virtual router. I tried 0 and 1 for this vrfId. The result was failed. This value is required absolutely to run the request.
What is the default value if there is no virtual router?
Thank you very much.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 03:04 AM
Hi there,
I don't have an API to test on, but can you run a GET request on '/devices/default/routing/virtualrouters' and see what that returns? Hopefully the data structure will be indexed by the vrfid value.
cheers,
Seb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2021 01:01 AM
Hello,
Finally I found this vrfId in the Routing part, not in BGP.
Thanks you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 03:04 AM
Hi there,
I don't have an API to test on, but can you run a GET request on '/devices/default/routing/virtualrouters' and see what that returns? Hopefully the data structure will be indexed by the vrfid value.
cheers,
Seb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2021 01:01 AM
Hello,
Finally I found this vrfId in the Routing part, not in BGP.
Thanks you very much.
