README.slap.rst 1.22 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1 2 3 4 5 6
slap
====

Simple Language for Accounting and Provisioning python library.

How it works
7
------------
Łukasz Nowak's avatar
Łukasz Nowak committed
8 9 10

The SLAP main server which is in charge of service coordination receives from participating servers the number of computer paritions which are available, the type of resource which a party is ready provide, and request from parties for resources which are needed.

Marco Mariani's avatar
Marco Mariani committed
11
Each participating server is identified by a unique ID and runs a slap-server daemon. This daemon collects from the main server the installation tasks and does the installation of resources, then notifies the main server of completion whenever a resource is configured, installed and available.
Łukasz Nowak's avatar
Łukasz Nowak committed
12 13 14

The data structure on the main server is the following:

15 16 17 18 19 20 21
 * A - Action: an action which can happen to provide a resource or account its usage
 * CP - Computer Partition: provides a URL to Access a Cloud Resource
 * RI - Resource Item: describes a resource
 * CI - Contract Item: describes the contract to attach the DL to (This is unclear still)
 * R - Resource: describes a type of cloud resource (ex. MySQL Table) is published on slapgrid.org
 * DL - Delivery Line: Describes an action happening on a resource item on a computer partition
 * D - Delivery: groups multiple Delivery Lines