-
Notifications
You must be signed in to change notification settings - Fork 11
Reservation system using a google calendar
The Reservation System (RS) is the module responsible of managing different reservations of the nodes coming from different users to avoid conflicting reservations. It is possible to configure the RS to use a shared google calendar, so that reservations are shown on the calendar and the user can thus choose a suitable time interval to run his experiments. To setup this feature you simply need a google account with access to the google calendar service. An example configuration file is shown here
config.port = 8889
config.rsnames = gcaltestbed
gcaltestbed.type = singleurnprefix
gcaltestbed.snaaendpointurl = http://name_of_your_server:8890/snaa
gcaltestbed.sessionmanagementendpointurl = http://name_of_your_server:8888/sessions
gcaltestbed.persistence = gcal
gcaltestbed.persistence.gcal.username = [email protected]
gcaltestbed.persistence.gcal.password = your_gmail_account_password
gcaltestbed.urnprefix = urn:wisebed:testbedname:
gcaltestbed.path = /rs
This code must be written in the file https://github.com/itm/testbed-runtime/blob/master/doc/quick-start-simple/tr.rs-testbed.properties replacing the default content. After you replaced this content, you simply start the RS by typing the command ./tr.rs-linux-x86-32 (or ./tr.rs-linux-x86-64 if you are working on a 64 bit linux machine or ./tr.rs-macosx-universal-64 if you are working on a mac) and the RS will start. Please note that if you are building up a complex testbed (i.e. 1 server and N gateways) the RS must be ran ONLY on the main server.