Changes between Version 37 and Version 38 of NewTestbedAPISpec
- Timestamp:
- Jul 25, 2015 7:21:18 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewTestbedAPISpec
v37 v38 1626 1626 A realization is a binding of an Experiment and a Circle to Resources. Intuitively, it is an experiment in progress. A researcher manipulates a realization using the Realizations service. 1627 1627 1628 There are two bindings that are part of a realization, the containment hierarchy that shows how resources are bound to other resources and a topology mapping that maps topology elements to resources. 1629 1630 In addition a realization has a status, indicating the state of the experiment instance as a whole. 1631 1628 1632 === Viewing Realizations === 1629 1633 … … 1634 1638 * '''Input Parameters:''' 1635 1639 * Userid - a string, if given return all experiments this user can see 1636 * Circle - a string, the name of a circle. Only experiments realized in that circle will be returned1637 1640 * Regex - a string containing a regular expression matched against experiment names 1638 1641 * '''Return Values:''' 1639 1642 * One or more structures with the following fields 1640 1643 * Name - a string containing the realization name (scoped by owner name) 1641 * Owner - a string containing the owner's userid1644 * Experiment - a string containing the realized experiment 1642 1645 * Circle - the circle that the experiment is realized in 1643 * State - one of: 1644 * initializing 1645 * changing 1646 * active 1647 * terminating 1646 * Status - one of: 1647 * Empty 1648 * Allocated 1649 * Initializing 1650 * Active 1651 * Terminating 1652 * Containment - a list of structures of the format 1653 * Outer resource name - the name of the containing resource 1654 * Inner resource name - the name of the contained resource 1648 1655 * Mapping - a list of structures of the format 1649 1656 * Element name - the name of the element from the experiment's layout aspect … … 1651 1658 1652 1659 1653 === Creating ARealization ===1654 1655 A researcher creates a realization - starts an experiment - using the realizeExperiment operation .1660 === Creating and Deleting a Realization === 1661 1662 A researcher creates a realization - starts an experiment - using the realizeExperiment operation on an experiment. 1656 1663 1657 1664 * '''Service:''' Realizations … … 1666 1673 * Success or failure 1667 1674 1668 Though none are yet specified, constraint aspects on the experiment may influence the realization.1669 1670 === Changing a Realization ===1671 1672 * '''Service:''' Realizations1673 * '''Operation:''' changeRealization1674 * '''Input Parameters:'''1675 * RealizationID - the realization to modify1676 * A list of change requests. Each request contains1677 * Element Name - the name of the element to remap1678 * Resource Name - the resource to map the element to1679 * '''Return Values:'''1680 * A list of responses each containing1681 * Name - astring with the name of the field1682 * Success - a flag indicating if the request succeeded1683 * Reason - a string indicating the reason if Success is false1684 1685 1686 This allows a researcher to modify the current mapping of the element to resource mapping of a realization.1687 1688 1675 === Removing A Realization === 1689 1676 1690 A libraryis deleted using:1677 A realization is deleted using: 1691 1678 1692 1679 * '''Service:''' Realizations … … 1698 1685 1699 1686 After {{{removeRealization}}} succeeds, the realization is removed from the testbed and the resources are released. 1687 1688 A user may deallocate the resources from a realization using: 1689 1690 A realization is deleted using: 1691 1692 * '''Service:''' Realizations 1693 * '''Operation:''' relraseRealization 1694 * '''Input Parameters:''' 1695 * Name - a string containing the realization to delete 1696 * '''Return Values:''' 1697 * a boolean, true on success 1698 1699 After {{{removeRealization}}} succeeds, the realization remains in the testbed in the empty state. When future interface changes allow changes to realizations, this will be more useful.