[[PageOutline(1-4, Table of Contents)]] = Key GENI Concepts = This page introduces: 1. GENI concepts and terms you will need to know before you use GENI, and 2. the GENI experimenter workflow that ties together these concepts and terms. == Project == A ''project'' organizes research in GENI, containing both people and their experiments. A project is created and led by a single responsible individual: the ''Project Lead''. A project may have many experimenters as its members and an experimenter may be a member of many projects. The Project Lead is ultimately accountable for all actions by project members in the context of the project. GENI experimenters must have Project Lead privileges to create projects. Only faculty and senior members of an organization can be project leads (e.g. students ''cannot'' be project leads). The following figure illustrates a situation where a professor is the Lead for two GENI projects, one that he uses for his research project Hactar and the other for the networking class CS404 he is teaching . Members of the project Hactar are the professor's research assistant and his post-doc. Members of the project CS404 are the teaching assistant for CS404 and all the students in the class. The professor gives his teaching assistant administrative privileges to Project CS404 so the assistant is able to add students to the project or remove them. [[Image(GeniNewcomersWelcome/figures:ProjectGraphic.png, 40%)]] == Slice == GENI is a shared testbed i.e. multiple experimenters may be running multiple experiments at the same time. This is possible because of the concept of a ''slice''. A GENI slice is: * The unit of isolation for experiments. A GENI experiment lives in a slice. Only experimenters who are members of a slice can make changes to experiments in that slice. * A container for resources used in an experiment. GENI experimenters add GENI resources (compute resources, network links, etc.) to slices and run experiments that use these resources. An experiment can only use resources in its slice. * A unit of access control. The experimenter that creates a slice can determine which project members have access to the slice i.e. are members of the slice. The Project Lead is automatically a member of all slices created in a project. The following figure shows two slices created by the research assistant in Project Hactar. She has added to Slice 1 three compute resources connected by three network links. She has also added the post-doc associated with her project as a member of her slice. Her professor was automatically added to her slice as he is the Project Lead. Slice 2 has two compute resources connected by a link. She has not added the post-doc as a member of this slice and so he cannot perform any actions on this slice or even view the resources in this slice. An experiment in Slice 1 can only use resources in Slice 1 and likewise an experiment in Slice 2 can only use resources in Slice 2. [[Image(GeniNewcomersWelcome/figures:SliceGraphic.png, 45%)]] == GENI Aggregates == A GENI ''aggregate'' provides resources to GENI experimenters. For example, a [wiki:GENIRacksHome GENI Rack] at a university is an aggregate; GENI experimenters may request resources from this aggregate and add them to their slice. Different aggregates provide different kinds of resources. Some aggregates provide compute resources: Virtual Machines or "bare machines" or both. Some aggregates provide networking resources that experimenters can use to connect compute resources from multiple aggregates. The figure below shows a GENI slice with resources from multiple aggregates. [[Image(GeniNewcomersWelcome/figures:SliceAndAggregates.png, 45%)]] == The GENI AM API and GENI RSpecs == Experimenters request resources from aggregates using a standard API called the ''[wiki:GeniApi GENI Aggregate Manager API]'' or ''GENI AM API''. The AM API allows experimenters to, among other things: * List the resources available at an aggregate, * Request specific resources from the aggregate be allocated to their slices, * Find the status of resources from the aggregate that are allocated to their slices, and * Delete resources from their slices. The AM API uses resource specification documents, commonly referred to as ''GENI RSpecs'', to describe resources. RSpecs are just XML documents in a [wiki:GeniRspec prescribed format]. Experimenters send to aggregates a ''request RSpec'' that describes the resources they want and get back from the aggregates a ''manifest RSpec'' that describes the resources they got. The manifest includes information the experimenters will need to use these resources such as the names and IP addresses of compute resources (e.g. virtual machines), user accounts created on the resources and VLAN tags assigned to network links. Most experimenters will not need to learn details of the AM API or read/write RSpec files; GENI experimenter tools hide much of this complexity. There is a third type of RSpec called an ''advertisement RSpec''. This is the RSpec returned by an aggregate when an experimenter lists the resources available at the aggregate. It describes all the resources available at the aggregate. The figure below shows an experimenter adding resources from two different aggregates to her slice using the Allocate call of the GENI AM API. [[Image(GeniNewcomersWelcome/figures:AMAPI.png, 45%)]] = Tying this all together: The GENI Experimenter Workflow = The following is the workflow for a typical GENI experiment. The objective here is to show how the concepts described above tie together; this is not intended to be a complete description of the GENI experimenter workflow. The experimenter in this workflow uses the [https://portal.geni.net ''GENI Portal''], a web-based tool for experimenters to create accounts, projects and slices and to manage project and slice memberships. 1. Requests an account at the GENI Portal. 2. Joins an existing [wiki:GENIConcepts#Project project] on the portal or creates a new project. Only faculty and senior technical staff with project-lead privileges can create projects. 3. Creates a [wiki:GENIConcepts#Slice slice]. 4. Decides what resources she needs and the [wiki:GENIConcepts#AggregatesandResources aggregates] from which she will get these resources. 5. Crafts an [wiki:GENIConcepts#TheGENIAMAPIandGENIRSpecs RSpec] that describes the resources she needs. She will typically use a GENI experimenter tool to craft this RSpec. 6. Invokes the appropriate [wiki:GENIConcepts#TheGENIAMAPIandGENIRSpecs GENI AM API] calls on the aggregates she wants to use; the request RSpec is sent to the aggregates using these AM API calls. 7. Receives from the aggregates a [wiki:GENIConcepts#TheGENIAMAPIandGENIRSpecs manifest RSpec] that includes information she will need to use the resources allocated to her slice. 8. Uses the resources she got to run her experiment. She may log into the compute resources she got, install software and send traffic on the network links. 9. Deletes the resources from her slice when her experiment is done. = The GENI Glossary = For a glossary of GENI terms, see [https://portal.geni.net/secure/glossary.html].