09-27-2019 03:01 AM
Hi DevNet,
I am having problem to connect on this issue below.
How would i know if the IP is correct?
I just follow the this link https://blogs.cisco.com/developer/virl-up-netdevops-network-simulation.
Can you advise me what is the issue?
$ virl up virlfiles/2-ios-router
Pulling from virlfiles/2-ios-router
Saved topology as topology.virl
Creating default environment from topology.virl
Exception raised while running your command
Please open an issue and provide this info:
HTTPConnectionPool(host='10.194.141.30', port=19399): Max retries exceeded with url: /openstack/rest/networks (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1044b9cf8>: Failed to establish a new connection: [Errno 51] Network is unreachable',))
09-27-2019 09:06 AM - edited 09-27-2019 09:22 AM
I was not able to replicate this, i would advise to cancel the reservation and create a new one. There appeared to be an issue with the reservation for you sadly.
[developer@devbox ~]$virl ls --all
Running Simulations
╒═══════════════════════════╤══════════╤════════════════════════════╤═══════════╕
│ Simulation │ Status │ Launched │ Expires │
╞═══════════════════════════╪══════════╪════════════════════════════╪═══════════╡
│ ~jumphost │ ACTIVE │ 2019-09-04T17:11:58.109088 │ │
├───────────────────────────┼──────────┼────────────────────────────┼───────────┤
│ datacenter_default_c2yiQY │ ACTIVE │ 2019-09-04T17:11:56.117686 │ │
╘═══════════════════════════╧══════════╧════════════════════════════╧═══════════╛
[developer@devbox ~]$virl down --sim-name datacenter_default_c2yiQY
Removing ./.virl/default
Could not remove ./.virl/default
Shutting Down Simulation datacenter_default_c2yiQY.....
SUCCESS
[developer@devbox ~]$
[developer@devbox ~]$
[developer@devbox ~]$pwd
/home/developer
[developer@devbox ~]$virl search ios Displaying 1 Results For ios ╒════════════════════════╤═════════╤══════════════════════╕ │ Name │ Stars │ Description │ ╞════════════════════════╪═════════╪══════════════════════╡ │ virlfiles/2-ios-router │ 0 │ hello world virlfile │ ╘════════════════════════╧═════════╧══════════════════════╛ [developer@devbox ~]$ [developer@devbox ~]$virl up virlfiles/2-ios-router Pulling from virlfiles/2-ios-router Saved topology as topology.virl Creating default environment from topology.virl Localizing {{ dns_server }} with: 4.2.2.3 Localizing {{ gateway }} with: 172.16.30.254 Localizing rsa modulus 768 with: rsa modulus 1024 [developer@devbox ~]$virl ls Running Simulations ╒══════════════════════════╤══════════╤════════════════════════════╤═══════════╕ │ Simulation │ Status │ Launched │ Expires │ ╞══════════════════════════╪══════════╪════════════════════════════╪═══════════╡ │ developer_default_BmIV6g │ ACTIVE │ 2019-09-27T16:19:37.463759 │ │ ╘══════════════════════════╧══════════╧════════════════════════════╧═══════════╛ [developer@devbox ~]$virl nodes Here is a list of all the running nodes ╒═════════╤════════╤══════════╤═════════════╤════════════╤══════════════════════╤════════════════════╕ │ Node │ Type │ State │ Reachable │ Protocol │ Management Address │ External Address │ ╞═════════╪════════╪══════════╪═════════════╪════════════╪══════════════════════╪════════════════════╡ │ router2 │ IOSv │ BUILDING │ N/A │ N/A │ N/A │ N/A │ ├─────────┼────────┼──────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤ │ router1 │ IOSv │ BUILDING │ N/A │ N/A │ N/A │ N/A │ ╘═════════╧════════╧══════════╧═════════════╧════════════╧══════════════════════╧════════════════════╛
10-01-2019 08:02 PM
Hi,
May i know what should be the VIRL HOST for the .virlrc?
Also, can i use the user and password as guest?
VIRL_HOST=
VIRL_USERNAME=guest
VIRL_PASSWORD=guest
Thanks!
Regards,
Jomar
10-02-2019 04:19 AM
10-02-2019 07:06 PM
Hi,
I am still unable to access the lab.
Is anyone can assist what is the issue?
(venv) News-Air:~ jomartolentino$ virl ls --all
Exception raised while running your command
Please open an issue and provide this info:
HTTPConnectionPool(host='10.10.20.160', port=19399): Max retries exceeded with url: /simengine/rest/list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x104c3ac18>: Failed to establish a new connection: [Errno 51] Network is unreachable',))
(venv) News-Air:~ jomartolentino$ virl search
Displaying 13 Results
╒══════════════════════════════╤═════════╤═════════════════════════════════════════════════════════════════════════════════════════╕
│ Name │ Stars │ Description │
╞══════════════════════════════╪═════════╪═════════════════════════════════════════════════════════════════════════════════════════╡
│ virlfiles/2-ios-router │ 0 │ hello world virlfile │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/9_router_mesh │ 1 │ Simple 9 router mesh with link level config │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/datacenter │ 0 │ A classic data center design with core/distribution/access layer │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/genie_learning_lab │ 2 │ Topology used for Genie learning labs │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/devbox │ 1 │ │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/core-dist-access │ 3 │ Basic Core (IOS XE) - Distribution (NX-OS) - Access (NX-OS) 5 node topology. │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/spine-leaf │ 1 │ Spine-Leaf topology using Nexus 9000 Switches │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/5_router_mesh │ 2 │ Simple 5 IOS Router Mesh │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/ccnx_study │ 1 │ Basic topology for CCNA and CCNP studies. │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/xe-xr-nx │ 1 │ A simple topology consisting of one each IOS-XE, IOS-XR, and NX-OS running OSPF and BGP │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/extranet │ 1 │ │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/3nx │ 0 │ │
├──────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────┤
│ virlfiles/sdwan │ 1 │ Example Enterprise SDWAN deployment with single HQ and two remote sites. │
╘══════════════════════════════╧═════════╧═════════════════════════════════════════════════════════════════════════════════════════╛
(venv) News-Air:~ jomartolentino$ virl up virlfiles/2-ios-router
Creating default environment from topology.virl
Exception raised while running your command
Please open an issue and provide this info:
HTTPConnectionPool(host='10.10.20.160', port=19399): Max retries exceeded with url: /openstack/rest/networks (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x109b82cc0>: Failed to establish a new connection: [Errno 51] Network is unreachable',))
(venv) News-Air:~ jomartolentino$ pwd
/Users/newowner
(venv) News-Air:~ jomartolentino$ ls -la | grep virlrc
-rw-r--r-- 1 jomartolentino staff 63 Oct 3 09:58 .virlrc
(venv) News-Air:~ jomartolentino$ sudo virl up virlfiles/2-ios-router
Password:
Creating default environment from topology.virl
Exception raised while running your command
Please open an issue and provide this info:
HTTPConnectionPool(host='10.10.20.160', port=19399): Max retries exceeded with url: /openstack/rest/networks (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x110fb9c18>: Failed to establish a new connection: [Errno 51] Network is unreachable',))
(venv) News-Air:~ jomartolentino$ cat ~/.virlrc
VIRL_HOST=10.10.20.160
VIRL_USERNAME=guest
VIRL_PASSWORD=guest
(venv) News-Air:~ jomartolentino$
Thanks!
Regards,
Jomar
10-03-2019 12:24 AM
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