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.
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
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.
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
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