My management interface is in the mgmt vrf. I have writtel a very simple python script, where I have defined
switch = Server(“https://test:email@example.com/command-api”)
When trying to run my script from Bash, it stucks and after awhile I get connection timeout:
socket.error: [Errno 110] Connection timed out
I suspect that the script cannot reach the mgmt vrf, because from Bash I cannot ping the Management IP. If this is the reason, is there a way to insert the vrf into the switch declaration?