| 1 | [[PageOutline]] |
| 2 | |
| 3 | = Description of Test Cases for GEMINI Functionality = |
| 4 | |
| 5 | == Rspecs == |
| 6 | === ExoGENI === |
| 7 | ==== Compatible AMs ==== |
| 8 | === InstaGENI === |
| 9 | ==== Compatible AMs ==== |
| 10 | |
| 11 | = Basic Passive Measurement Use Case = |
| 12 | |
| 13 | == Step 1: Create GEMINI slice == |
| 14 | |
| 15 | '''Pre-conditions:''' None |
| 16 | |
| 17 | Using one of the Rspecs listed above, create a slice using omni, FLACK, or the GENI portal and add resources at one of the compatible aggregate managers. |
| 18 | Note that the GEMINI extensions have already been added to the rspec. |
| 19 | |
| 20 | '''Expected Result:''' |
| 21 | 1. A sliver with the following topology is created at one of the aggregate managers. |
| 22 | <insert image here> |
| 23 | 2. All nodes are in a ready state. |
| 24 | |
| 25 | === Step 2: Log in to GENI Desktop === |
| 26 | |
| 27 | '''Pre-conditions:''' |
| 28 | - You have an account at an InCommon institution or the GENI IdP |
| 29 | - You are a member of at least one project in the GENI CH. |
| 30 | |
| 31 | Go to the URL https://genidesktop.netlab.uky.edu/ and log in with a GENI Portal user account. |
| 32 | |
| 33 | If you are a member of more than one project, you will be prompted to select a project. |
| 34 | |
| 35 | TODO: Image here |
| 36 | |
| 37 | '''Expected Result:''' |
| 38 | You are successfully logged in to GENI Desktop and your username appears in the upper right corner of the page. |
| 39 | The slices in the project of which you are a member are listed in the slice table. |
| 40 | The slice that you created in Step 1 is listed in the table with a status of "Has Resources". |
| 41 | |
| 42 | TODO: Image here |
| 43 | |
| 44 | == Step 3: Initialize your slice == |
| 45 | |
| 46 | '''Pre-conditions:''' |
| 47 | You are logged in to GENI Desktop. |
| 48 | Your slice has a status of "Has Resources". |
| 49 | |
| 50 | 1. Click on Initialize button in the far right column for your slice |
| 51 | |
| 52 | TODO: Image here |
| 53 | |
| 54 | OR click on the checkbox for your slice and select Initialize from the "Action" drop-down menu. |
| 55 | |
| 56 | TODO: Image here |
| 57 | |
| 58 | '''Expected Result:''' |
| 59 | - The slice has a status of "Initialized" |
| 60 | |
| 61 | == Step 4: Instrumentize your slice == |
| 62 | |
| 63 | '''Pre-conditions:''' |
| 64 | You are logged in to GENI Desktop. |
| 65 | Your slice has a status of "Initialized" |
| 66 | |
| 67 | 1. Click on Initialize button in the far right column for your slice |
| 68 | |
| 69 | TODO: Image here |
| 70 | |
| 71 | OR click on the checkbox for your slice and select Initialize from the "Action" drop-down menu. |
| 72 | |
| 73 | TODO: Image here |
| 74 | |
| 75 | '''Expected Result:''' |
| 76 | - Your slice has a status of "Instrumentized". |
| 77 | |
| 78 | == Step 5: Go to the GENI Desktop == |
| 79 | |
| 80 | '''Pre-conditions:''' |
| 81 | The step1_pingall experiment script has been loaded into the Prepare window, edited as needed, and saved. |
| 82 | |
| 83 | '''Expected Result:''' |
| 84 | |
| 85 | === A. Drag script from Prepare to Execute panel === |
| 86 | |
| 87 | 1. Drag the step1_pingall script's icon from the Prepare pane to the Execute pane and drop in the Execute pane. |
| 88 | |
| 89 | === B. Fill out the form === |
| 90 | |
| 91 | 1. Enter a name for the experiment in the Name: box. |
| 92 | 2. Select the project in which you created your slice from the Project drop-down. |
| 93 | 3. Select the context you created from the Experiment drop-down. |
| 94 | 4. Select your slice from the Slice drop-down. |
| 95 | 5. Make sure the values in the source1-source5 boxes match the node names in your slice. |
| 96 | |
| 97 | === C. Start experiment === |
| 98 | |
| 99 | 1. Click on the 'Start Experiment' button. |
| 100 | |
| 101 | '''Expected Result:''' |
| 102 | 1. You see entries in the |
| 103 | 2. You see a graph similar to this one: |
| 104 | |
| 105 | == Step 6: Dump Results to iRODS == |
| 106 | |
| 107 | '''Pre-conditions:''' |
| 108 | Your step1-ping_all experiment has completed successfully. |
| 109 | You have created an iRODS account via the GENI Portal. |
| 110 | |
| 111 | 1. Click on the 'Dump' button at the top of the Execute pane. |
| 112 | 2. Log in to http://www.irods.org/web and enter the following: |
| 113 | 3. Traverse to /geniRenci/home/gimiadmin/<project>/<context>/... to find the data that was dumped. |
| 114 | |
| 115 | '''Expected Result:''' |
| 116 | - An SQL file has been placed at the location /geniRenci/home/gimiadmin/<project>/<context> |
| 117 | |
| 118 | |
| 119 | = Basic Active Measurement Use Case = |