Version 2 (modified by 10 years ago) (diff) | ,
---|
Description of Test Cases for GIMI Functionality
Rspecs
ExoGENI
Compatible AMs
InstaGENI
Compatible AMs
Experiment Scripts
Basic Ping-All Use Case
Step 1: Create GIMI slice
Pre-conditions: None
Using one of the Rspecs listed above, create a slice using omni or the GENI portal and add resources at one of the compatible aggregate managers.
Expected Result:
- A sliver with the following topology is created at one of the aggregate managers.
<insert image here>
- All nodes are in a ready state.
- OMF RC is running on each node and /var/log/omf_rc.log shows entries similar to this:
insert log messages here
Step 2: Log in to Labwiki
Pre-conditions:
- You have an account at an InCommon institution or the GENI IdP
- You are a member of at least one project in the GENI CH.
Go to the URL http://labwiki.casa.umass.edu:4601/ and log in with a GENI Portal user account.
Expected Result:
You are successfully logged in to Labwiki and your name appears in the upper right corner of the page.
Step 3: Create an Experiment Context
Pre-conditions:
You are logged in to Labwiki.
- Click on "Add Context" in the upper right hand corner of the Labwiki page to create a new experiment context.
- Select a project, enter a name for your experiment, and click on 'Save'.
Expected Result:
- The context saves successfully.
- The context is available in the drop-down box in the Execute pane.
Step 4: Load Experiment Script
Pre-conditions:
You are logged in to Labwiki.
A. Load an existing experiment script
- Place cursor in the search box of the Prepare pane and start typing the name of the existing script.
INSERT GRAPHIC HERE
- Select the step1_pingall script from the narrowed-down list of scripts.
B. Create and save a new experiment script
- Click on the plus (+) sign in the Prepare page.
- Select "Ruby" from the drop-down box, enter a filename, and click on "Create"
- Enter the new filename into the Search box and select the script from the list of scripts.
- Enter the experiment script contents (see step1_pingall in Experiment Scripts above) and click on the Save icon.
Expected Result:
The step1_pingall script has been loaded into the Prepare window, edited as needed, and saved.
Step 5: Execute Experiment Script
Pre-conditions: The step1_pingall experiment script has been loaded into the Prepare window, edited as needed, and saved.
Expected Result:
A. Drag script from Prepare to Execute panel
- Drag the step1_pingall script's icon from the Prepare pane to the Execute pane and drop in the Execute pane.
B. Fill out the form
- Enter a name for the experiment in the Name: box.
- Select the project in which you created your slice from the Project drop-down.
- Select the context you created from the Experiment drop-down.
- Select your slice from the Slice drop-down.
- Make sure the values in the source1-source5 boxes match the node names in your slice.
C. Start experiment
- Click on the 'Start Experiment' button.
Expected Result:
- You see entries in the
- You see a graph similar to this one:
Step 6: Dump Results to iRODS
Pre-conditions:
Your step1-ping_all experiment has completed successfully. You have created an iRODS account via the GENI Portal.
- Click on the 'Dump' button at the top of the Execute pane.
- Log in to http://www.irods.org/web and enter the following:
- Traverse to /geniRenci/home/gimiadmin/<project>/<context>/... to find the data that was dumped.
Expected Result:
- An SQL file has been placed at the location /geniRenci/home/gimiadmin/<project>/<context>