Version 8 (modified by 12 years ago) (diff) | ,
---|
Table of Contents
Using GENI-in-a-Box
This page describes how to install and use GENI-in-a-Box on your computer.
Installing GENI-in-a-Box
Please make sure you have VirtualBox Version 4.1.16 or later installed on your computer.
- Start up VirtualBox and from the VirtualBox "File" menu, select "Import Appliance...".
- The VirtualBox Appliance Wizard will start up and guide you through the import of the GENI-in-a-Box virtual machine image you downloaded. Please accept the default VM settings during the import.
- When the import is done, and entry for GENI-in-a-Box will appear in the Oracle VM VirtualBox Manager window. Select this entry and click the green arrow labeled Start at the top of this window. A new window will open up and you will see Linux boot up in this window. You will automatically be logged into this Linux virtual machine when it is booted.
Getting Started
- You will be automatically logged into the GENI-in-a-Box virtual machine when it starts up. Open up a terminal window by clicking on the icon for a terminal on top of the screen.
- In the terminal window, use Omni to list the aggregates available to you using the command 'omni.py listaggregates'. You should see something like this in your terminal window:
$ omni.py listaggregates INFO:omni:Loading config file /home/gibuser/.gcf/omni_config INFO:omni:Using control framework gib_ch INFO:omni:Listing 1 aggregates... INFO:omni: Aggregate 1: urn:publicid:IDN+geni:gpo:gcf:am1+authority+am http://geni-in-a-box.net:8001 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listaggregates: Options as run: framework: gib_ch getversionCacheName: /home/gibuser/.gcf/get_version_cache.json Args: listaggregates Result Summary: Found 1 aggregate. URN: urn:publicid:IDN+geni:gpo:gcf:am1+authority+am; URL: http://geni-in-a-box.net:8001 INFO:omni: ============================================================ $
- In the terminal window, cd to the directory geni-in-a-box in your home directory and list the contents of that directory. You will see a number of
$ cd geni-in-a-box $ ls click-example.rspec four-nodes.rspec islands.rspec README.txt two-nodes.rspec example-scripts install-example.rspec log.test three-nodes-lan.rspec
- List the contents of the directory (ls). You will see a number of example request rspec files you can use to get started. We'll walk you through an experiment using one of these rspecs in section sampleExperiment.
- Before you try running an experiment verify everything is set up right. Use the http://trac.gpolab.bbn.com/gcf/wiki/Omni omni] experiment tool to list the aggregates available to you: omni.py listaggregates. This command lists the aggregates registered with the slice authority that ships with GENI-in-a-Box. You should see one aggregate listed:
- Check the version of the GENI AM API implemented by this aggregate: omni.py --