Quantcast
Channel: VIRL
Viewing all 1811 articles
Browse latest View live

Problem when trying to install xrv9000 image

$
0
0

@phphasuk wrote:

Hi Expert,

I am trying to install xrv9000 image on "Cisco VM image upgrades" page on VIRL software Admin page however I always got the error logs as below. Do you have any suggestion?

{
    "local": {
        "glance_|-iosxrv 9000_|-IOS XRv 9000_|-image_present": {
            "comment": "An exception occurred in this state: Traceback (most recent call last):\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 1594, in call\n    **cdata['kwargs'])\n  File \"/usr/lib/python2.7/dist-packages/salt/loader.py\", line 1491, in wrapper\n    return f(*args, **kwargs)\n  File \"/var/cache/salt/minion/extmods/states/glance.py\", line 90, in image_present\n    ret['changes'] = __salt__['glance.image_create'](**non_null_arguments)\n  File \"/var/cache/salt/minion/extmods/modules/glance.py\", line 139, in image_create\n    img_path = __salt__['cp.cache_file'](copy_from)\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/cp.py\", line 365, in cache_file\n    result = __context__['cp.fileclient'].cache_file(path, saltenv)\n  File \"/usr/lib/python2.7/dist-packages/salt/fileclient.py\", line 158, in cache_file\n    return self.get_url(path, '', True, saltenv)\n  File \"/usr/lib/python2.7/dist-packages/salt/fileclient.py\", line 543, in get_url\n    return self.get_file(url, dest, makedirs, saltenv)\n  File \"/usr/lib/python2.7/dist-packages/salt/fileclient.py\", line 1066, in get_file\n    data = self.channel.send(load)\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/async.py\", line 73, in wrap\n    ret = self._block_future(ret)\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/async.py\", line 83, in _block_future\n    return future.result()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py\", line 232, in result\n    raise_exc_info(self._exc_info)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/gen.py\", line 1014, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py\", line 231, in send\n    ret = yield self._crypted_transfer(load, tries=tries, timeout=timeout)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/gen.py\", line 1008, in run\n    value = future.result()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py\", line 232, in result\n    raise_exc_info(self._exc_info)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/gen.py\", line 1014, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py\", line 199, in _crypted_transfer\n    ret = yield _do_transfer()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/gen.py\", line 1008, in run\n    value = future.result()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py\", line 232, in result\n    raise_exc_info(self._exc_info)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/gen.py\", line 1014, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py\", line 185, in _do_transfer\n    tries=tries,\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/gen.py\", line 1008, in run\n    value = future.result()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py\", line 232, in result\n    raise_exc_info(self._exc_info)\n  File \"<string>\", line 3, in raise_exc_info\nSaltReqTimeoutError: Message timed out\n", 
            "name": "IOS XRv 9000", 
            "start_time": "12:02:32.684489", 
            "result": false, 
            "duration": 2148951.12, 
            "__run_num__": 2, 
            "changes": {}
        }, 
        "module_|-sync modules_|-saltutil.sync_modules_|-run": {
            "comment": "onlyif execution failed", 
            "result": true, 
            "duration": 11.945, 
            "__run_num__": 0, 
            "start_time": "12:02:32.663349", 
            "skip_watch": true, 
            "changes": {}, 
            "name": "saltutil.sync_modules"
        }, 
        "module_|-sync states_|-saltutil.sync_states_|-run": {
            "comment": "onlyif execution failed", 
            "result": true, 
            "duration": 6.615, 
            "__run_num__": 1, 
            "start_time": "12:02:32.676631", 
            "skip_watch": true, 
            "changes": {}, 
            "name": "saltutil.sync_states"
        }, 
        "module_|-iosxrv 9000 flavor create_|-nova.flavor_create_|-run": {
            "comment": "One or more requisite failed: virl.routervms.iosxrv9000.iosxrv 9000 flavor delete, virl.routervms.iosxrv9000.iosxrv 9000", 
            "__run_num__": 4, 
            "__sls__": "virl.routervms.iosxrv9000", 
            "changes": {}, 
            "result": false
        }, 
        "cmd_|-iosxrv 9000 flavor delete_|-source /usr/local/bin/virl-openrc.sh ;nova flavor-delete \"IOS XRv 9000\"_|-run": {
            "comment": "One or more requisite failed: virl.routervms.iosxrv9000.iosxrv 9000", 
            "__run_num__": 3, 
            "__sls__": "virl.routervms.iosxrv9000", 
            "changes": {}, 
            "result": false
        }
    }
}

Thanks,
Phithakkit

Posts: 2

Participants: 2

Read full topic


Unable to form BGP neighbor

$
0
0

@anderscai wrote:

Hi,

I am having issue with my BGP lab, when I try to setup bgp and there is a error with below:

***Mar 5 06:06:52.794: %BGP-5-NBR_RESET: Neighbor 1.1.0.6 active reset (Peer closed the session)**
***Mar 5 06:06:52.798: %BGP_SESSION-5-ADJCHANGE: neighbor 1.1.0.6 IPv4 Unicast topology base removed from session Peer closed t Transport(tcp) path-mtu-discovery is enabled**

Is there anything I can do to fix this?

Regards
Amders

Posts: 2

Participants: 1

Read full topic

Cant activate VIRL

$
0
0

@ihatelogin wrote:

This is the first time I have installed virl. Let me know if u want me to run any debugs/checks.

Salt status
× Failed to collect current salt contact status: Cisco contact was not established. This may be temporary. Please make sure the VIRL server is connected to the Internet and capable of reaching the configured Cisco master. Also make sure that the minion key provided to you matches your minion ID and domain, and remains valid. Current status is: Minion rejected by master.. Last call home check result was: The minion public key was rejected; please contact support.
 Reset keys and ID  Check status now
Current status
Status check is failing. It may be temporary and resolve itself after a few minutes, or else should be fixed by resetting the configuration.

Host: us-1.virl.info

DNS
Ping
Port 4505
Port 4506
Connect

Posts: 2

Participants: 2

Read full topic

Retaining Saved image in ASV flash

$
0
0

@amorakinyo wrote:

I need some help please. Can any one in the community please help?

I know there should be a cleaver way of saving images in the ASAV flash, say for example, asdm-741.bin or anyconnect-win-4.2.02075-k9.pkg and still load the topology in another day and still find it in the flash or Disk0.

I don't mind reloading anytime l reload my tpology but l know its not a smart way of working.

I will appreciate your advise.

Thanks

Posts: 3

Participants: 3

Read full topic

VIRL - interface delay

$
0
0

@xyznetworks wrote:

Hi guys. I am working through some simple labs and in one case I have tried to alter the interface delay to manipulate the end result of an EIGRP feasible distance. From the config line I can indeed alter the delay, but the subsequent bandwidth and delay calculation does not change to reflect the change I made. Should I be able to do this in VIRL or is it a limitation?

Dean

Posts: 1

Participants: 1

Read full topic

Using telnet or ssh in windows 10 issue

$
0
0

@camelion wrote:

setup is as from

but still unable to apply ssh or telnet
getting an error - "telnet command must be an executable program"

using virl 1.2.4 on vmware 12 workstation

has anyone had this issue

Posts: 9

Participants: 4

Read full topic

WEb UI broken on Chrome after latest upgrade

Error during building the server after using terraform apply

$
0
0

@mehdisol23 wrote:

I ll get this error halfway through spinning up the server .any helpful comment appreciated .

Error applying plan:
1 error(s) occurred:
* Error running command 'sftp -o 'IdentityFile=~/.ssh/id_rsa' -o 'StrictHostKeyChecking=no' root@147.75.192.63:/var/local/virl/client.ovpn client.ovpn': exit status 255. Output: Warning: Permanently added '147.75.192.63' (ECDSA) to the list of known hosts. no such identity: /root/.ssh/id_rsa: No such file or directory Permission denied (publickey). Couldn't read packet: Connection reset by peer
Terraform does not automatically rollback in the face of errors. Instead, your Terraform state file has been partially updated with any resources that successfully completed. Please address the error above and apply again to incrementally change your infrastructure. 
root@virl:~/virl_packet#

Posts: 3

Participants: 3

Read full topic


VIRL on AWS

$
0
0

@jbiggs1357 wrote:

Question for the VIRL experts...So I have a WIN10 PC with i7 and 24Gig Ram. I want to increase my capabilities but not at a large expense and don't want to buy a server. Can I deploy VIRL into a service like AWS that I could reach from anywhere. Would appreciate your input.

Thanks

Posts: 6

Participants: 3

Read full topic

Problem NX-OS with Python

$
0
0

@ccw928 wrote:

Hi, I'm tested NX-OS API to making simple Python code.
I used NX-API Developer Sandbox and copied .py script like this,

import requests
import json

"""
Modify these please
"""
url='http://YOURIP/ins'
switchuser='USERID'
switchpassword='PASSWORD'

myheaders={'content-type':'application/json-rpc'}
payload=[
{
"jsonrpc": "2.0",
"method": "cli",
"params": {
"cmd": "conf t",
"version": 1.2
},
"id": 1
}
]
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()

and i tried to run in NX-OS in VIRL, it does't work
that said " ImportError: No module named requests "

Posts: 4

Participants: 3

Read full topic

TCL Pasting Problems

$
0
0

@COVirl wrote:

Continuing the discussion from TCL Script pasting issues:

Continuing the discussion from TCL Script pasting issues:

Hello,

I'm experiencing similar behavior as this. However, one step further, this will not work for me pasting into the console nor does it work when pasting into the Telnet session. Please see output below. Help is always appreciated.

Thanks!

Here is the tcl script I'm attempting to paste:
tclsh
foreach X{
150.1.1.1
150.1.2.2}
{ ping $X }

Here are the results I get when either consoled into a router or via telnet:

R7(tcl)#foreach X{
wrong # args: should be "foreach varList list ?varList list ...? command"
R7(tcl)#150.1.1.1
invalid command name "150.1.1.1" ^
% Invalid input detected at '^' marker.

R7(tcl)#150.1.2.2}
invalid command name "150.1.2.2}" ^
% Invalid input detected at '^' marker.

R7(tcl)#{ ping $X }

Posts: 2

Participants: 2

Read full topic

How to Install VIRL on Packet (Box Cutter)

$
0
0

@alejo wrote:

Summary

This post will guide you with steps needed to deploy a cloud instance of VIRL to packet.net without having VIRL already installed. Make sure you have already followed all the pre-requisite steps needed before you attempt to deploy your cloud instance.
For more information please take a look at our announcement thread!

Why use this method

You may or may not be new to VIRL, but you may be looking to keep the initial cost down. Or you may not have hardware powerful enough to run large real world topologies. This method gives you direct access to a powerful server where you can run VIRL (bare-metal) and test large simulations without the need of a local VIRL instance. If you do not already own a VMWare product to run VIRL, and you rather not purchase another application then this method is for you.

Before we begin

You may need to install a couple of applications, but don't worry these are free of charge

  • You will also need a Git client for the initial download of our files. If you are familiar with Git, just clone from the URL provided. If you are not, then I would recommend to download and install SmartGit.

Getting started

See it done!
Locate or download your VIRL license file and it keep it handy. We will need it during the installation.
Make sure your Vagrant plugin is up to date for your appropriate platform by running the following command

For VirtualBox users:
vagrant plugin install virtualbox

For VMWare AppCatalyst users:
vagrant plugin install vmware_appcatalyst

Attention: Please use notepad (Windows) or TextEdit (Mac) when editing configuration files

  1. Log into your packet.net account
  2. Create an API key
  3. Navigate to your local Git repository
    • example: C:\Users\<username>\Documents\GitHub\virl_boxcutter
  4. Copy your VIRL License file (e.g. xxxxxxxx.virl.info.pem) to virl_boxcutter\salt directory in your local Git repository
  5. Rename the copied license file to minion.pem (Windows users: make sure that your Windows explorer settings are set to show file name extensions)
  6. From the virl_boxcutter directory, make a copy of id.conf.orig and rename it id.conf
  7. Open the newly created id.conf file with a text editor
    • Change the id: field to your license ID (the xxxxxxxx part of xxxxxxxx.virl.info.pem)
    • Change the append_domain: field to the ending of your license file. If your license file has en ending of virl30.info.pem, then you would enter virl30.info in the append_domain field. Save the changes and close the file
  8. From the virl_boxcutter directory, make a copy of settings.tf.orig and rename it settings.tf
  9. Open the newly created settings.tf file with a text editor
  10. Open your terminal application or a command prompt if you are on Windows
  11. Change directory to your local Git repository
    • cd Documents\GitHub\virl_boxcutter
    • type: vagrant up

      be patient while the system downloads the VIRL BoxCutter virtual machine, configures and starts it. This will take a few minutes to complete.

  12. Once completed, type the following command to connect to your BoxCutter virtual machine

    • vagrant ssh
    • Windows Users, you will most likely get an output similar to this:

      C:\Users\<user>\Documents\GitHub\virl_boxcutter> vagrant ssh
      'ssh' executable not found in any directories in the %PATH% variable. Is an
      SSH client installed? Try installing Cygwin, MinGW or Git, all of which
      contain an SSH client. Or use your favorite SSH client with the following
      authentication information shown below:
      Host: 127.0.0.1
      Port: 2222
      Username: vagrant
      Private key: C:/Users/<user>/Documents/GitHub/virl_boxcutter/.vagrant/machines/default/virtualbox/private_key
      `

    • Using the Host and Port information above, open PuTTY or you SSH client and connect to your BoxCutter virtual machine. Username and password; vagrant and vagrant

  13. Once logged in to your BoxCutter virtual machine change directory to virl_packet

    • cd virl_packet
  14. (optional) Edit the file password.tf to adjust the passwords to suit your needs. Just stick to numbers and letters for now please!
  15. Review the Disclaimer.txt file for operating rules.
  16. If this is not your first launch of VIRL on Packet, log into to https://app.packet.net and click Manage. You need to ensure that there are no active projects present.
    • If there are projects listed:
      Click on the name of your project listed
      Select "Settings" tab
      Scroll to the bottom of the page and click on the button to 'Delete This Project'
  17. From virl_packet type the following commands:
    • terraform plan . (don't forget the 'dot')
    • terraform apply . (don't forget the 'dot')
      NOTE: The above command initiates the deployment of your VIRL server on Packet. This process typically takes about 30min to complete. Please be patient and wait for the login credentials.

Connecting to your Packet Server:

(See it done -- link coming soon)
Your new bare-metal server is provisioned securely. In order to access your server you will need to establish an OpenVPN tunnel from your computer to your Packet server.

Take a look at this post for more detail on installing OpenVPN

  1. Install the OpenVPN client appropriate for your system.
  2. You will find the file 'client.ovpn' under /home/vagrant/virl_packet
  3. The client.ovpn file can be copied out to your local box usging this command:
    • cp client.ovpn /vagrant/
  4. Move the client.ovpn file to C:\Program Files\OpenVPN\config directory (Windows)
  5. Launch OpenVPN GUI and start the tunnel to connect
  6. Once the tunnel is connected, open a browser to http://172.16.11.254
    • When using VM Maestro don't forget to change the connection profile to point to your Packet server; http://172.16.11.254
  7. If you do not have VM Maestro client installed, you will need to log into UWM and then navigate to VIRL Server > VIRL Software; then select the appropriate VM Maestro version and click "Start installation"
  8. Once complete, you can download the client from http://172.16.11.254/download/

NOTE: Your uwmadmin and guest passwords are in /home/vagrant/virl_packet/passwords.tf file. You may also recall them by running the command terraform show.


Terminating your Packet server

When you're ready to terminate your Packet VIRL server, run the following command from your BoxCutter VM.

  • terraform destroy .
  • exit (closes SSH session to BoxCutter VM)

Next:

  • Log in to the Packet.net portal
  • Review the 'Manage' tab to confirm that the project and server instance has been deleted.
    • If there are projects or servers still listed:
      Click on the name of the project listed
      Under "Servers" tab if a server is listed, click on the "Select Action" dropdown; select "Delete" and click "Apply"
      Select "Settings" tab
      Scroll to the bottom of the page and click on the button to 'Delete This Project'
  • Review the 'SSH Keys' tab and remove any ssh keys that are registered (If any)

Terminating your BoxCutter virtual machine

To terminate your 'virl_boxcutter' VM type the following command from you local command prompt or terminal:

  • 'vagrant halt`

To start up again, repeat the process starting with step 11 under "Getting Started".

Posts: 1

Participants: 1

Read full topic

How to download and install different IOS on the virl

NX-OSv distribute ports into two interface

$
0
0

@christung wrote:

I want to distribute the ports into two interface. How can I do that??

I tried creating a new subtype and putting "Max count of data interfaces=28" while "Number of interfaces per LC=10" for example. I'm hoping it will contain 10 ports in eth3/x and another 10 ports in eth4/x. But from VM Maestro, it still put all ports into ethernet 3/x.

is there a way to do that??

Thanks a lot!!

Posts: 1

Participants: 1

Read full topic

Install multiple VIRLs on ESXi

$
0
0

@czhongtafe wrote:

Hi there,

If we provide a ESXi server for multiple students to install and host their VIRLs. How should we configure the virtual networks?

For exmaple, if we create VM networks with the labels Flat, Flat1, SNAT for the first VIRL, the second and other VIRLs will also be mapped to these VM networks

This seems to be a issue, how to solve this? Not sure if the following outputs are associated with this :

Asset "flat-1" has invalid number of interfaces: 1 are required, got 0 instead. Detected at line 11 of VIRL file.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "<string>", line 2, in simengine_launch
  File "/home/jenkins/jenkins/jobs/VIRL_CORE_build/workspace/test-virl-repo/virl/std/implementation.py", line 267, in middleware
  File "<string>", line 2, in simengine_launch

...

Many thanks

Posts: 2

Participants: 2

Read full topic


Install VIRL on KVM

$
0
0

@liamomurchu wrote:

I see that the list of supported hypervisors for VIRL is:

vSphere ESXi 5.1U2 (Build 1483097) or later.
vSphere ESXi 5.5U1 (Build 1623387) or later.
vSphere ESXi 6.0 (Build 2494585) or later.
VMware Fusion® Pro v5.02 or later.
VMware Player® v5.02 or later.
VMware Workstation® v8.02 or later.

Is there support for VIRL being installed on KVM?
(e.g. on ubuntu on KVM)

thanks,

--Liam.

Posts: 3

Participants: 2

Read full topic

How to put the server node in different subnets?

$
0
0

@Prab_Som wrote:

I am new to VIRL. I want to put the server node in different subnets. AK assigns it but it is on the same subnets. I am trying to test inter-vlan using SVI and putting the server host in different subnets. Please point me to the right direction.

Thanks,

Posts: 4

Participants: 2

Read full topic

VIRL IOS L2 duplex mismatch with router

$
0
0

@micahcox wrote:

When an IOS L2 image is connected to a router or indirectly to a router with an unmanaged switch between, the router reports a CDP duplex mismatch. Further, though the switch interface is up, "show interface" indicates that duplex (among other states) is unknown. Switch to Switch doesn't complain about duplex mismatch.

If I change the media-type or remove it, the interface goes into reset state. I'm on the latest switch version as of March 8th 2015.

Any ideas on a workaround and is there a bug tracking this?

Posts: 3

Participants: 2

Read full topic

AutoNetKit Confirmation Prompt

$
0
0

@Orlando_Sanchez wrote:

Can a prompt be added to confirm AutoNetKit should be reran?
I have lost hours of work due to clicking on AutoNetKit by accident twice now.

There is no prompt to confirm or undoing after clicking it.

Posts: 2

Participants: 2

Read full topic

VIRL networking and ESXi

$
0
0

@noneill wrote:

I am keen to have a better understanding of VIRL host networking when running inside an ESXi host.

  1. If I want to give my hosts access to the Internet/outside via the Flat connector is it just a matter of connecting a router (virtual or physical) to the flat network and create a default route on the VIRL hosts pointing at this device?

  2. When I tried the SNAT connector I had some unexpected results. I created a single IOSv connected to the SNAT connector and my host was assigned an internal IP address of 10.254.0.5 and an external address of 172.16.3.54. I added a default route on the IOSv pointing to 10.254.0.1 and I was able to ping this next hop successfully. I was also able to ping 172.16.3.54 and 172.16.3.254 (virl host). I cannot ping the VIRL host on the management interface or ping from the VIRL host to 172.16.3.54. I get host unreachable from 172.16.3.54 when I try to ping the VIRL host management IP from the IOSv.

  3. Are there any good articles/blogs explaining how the VIRL networking works inside of an ESXi environment?

Thanks

Posts: 2

Participants: 2

Read full topic

Viewing all 1811 articles
Browse latest View live