I tried IOSv with python code running in linux. It worked perfectly..just a simple topology like this below
1. At first, enable SSH login into the router..Because I'll use a python package to ssh into router and run show commands.
2. After that, you have to install python in linux . Also need another python package called netmiko to establish the connection..There are several other way to connect router using python..but I found this package very easy to use and configure..
3. Confirm the connectivity is working between router and linux vm( check ssh login into router from linux )
Sample Python code:
just ran a show command and print that output into my linux console..
Hope this helps
Have you verified basic connectivity?
Run ifconfig on your Linux box and verify is ip is configured and connected to same network as configured on iOS router
On a side note, you should try using Network Automation appliance of GNS3 which has inbuilt netmiko and paramiko installed. No need to use big Linux image.