- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 08:20 AM
I am trying to use the Genie API get_boot_variables(). It has a model specific function for cat3k, but the API is not detecting cat3k devices from my testbed file. I am guessing it uses the testbed.devices.device.type field. Does anyone have an explanation of how the API determines specific model?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 04:24 PM
Hello, I have discovered the answer. The platform field in device testbed must match one of the Unicorn supported platforms.
https://pubhub.devnetcloud.com/media/unicon/docs/user_guide/supported_platforms.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 04:02 PM
Hello @neteng1,
Would you please provide some background on how you're using the API?
For example, are you connecting to each device and then calling the API?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 04:24 PM
Hello, I have discovered the answer. The platform field in device testbed must match one of the Unicorn supported platforms.
https://pubhub.devnetcloud.com/media/unicon/docs/user_guide/supported_platforms.html
