Platform Team/Server Kit/sugar-server: Difference between revisions

No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 21: Line 21:
* {{Code|machine_sn}}, serial number of hardware Sugar user is running on, e.g., serial number of a XO laptop;
* {{Code|machine_sn}}, serial number of hardware Sugar user is running on, e.g., serial number of a XO laptop;
* {{Code|machine_uuid}}, UUID value of hardware Sugar user is running on, e.g., UUID of a XO laptop;
* {{Code|machine_uuid}}, UUID value of hardware Sugar user is running on, e.g., UUID of a XO laptop;
* {{Code|pubkey}}, SSH public key, this is the exact line that needs to be placed as-is to {{Code|~/.ssh/authorized_keys}} file; note that OLPC XS operates with striped version of public keys.
* {{Code|pubkey}}, SSH public key, this is the exact line that needs to be placed as-is to {{Code|~/.ssh/authorized_keys}} file; note that OLPC XS operates with stripped version of public keys.


== Services ==
== Services ==
Line 84: Line 84:
  ''dict'' '''register'''(''str'' machine_sn, ''str'' nickname, ''str'' machine_uuid, ''str'' pubkey)
  ''dict'' '''register'''(''str'' machine_sn, ''str'' nickname, ''str'' machine_uuid, ''str'' pubkey)


To support OLPC's XS clients, RPC function to serve registration requests. The XML-RPM service will be listening to the {{Code|8080}} port on the {{Code|--host}} host.
To support OLPC's XS clients, RPC function to serve registration requests. The XML-RPC service will be listening to the {{Code|8080}} port on the {{Code|--host}} host.


=== backup ===
=== backup ===
Line 219: Line 219:
  sugar-server config
  sugar-server config


See [http://git.sugarlabs.org/server/templates/trees/master/etc/sugar-server sugar-server-templates] sources for an example.
See [http://git.sugarlabs.org/server/templates/trees/master/mace/sugar-server sugar-server-templates] sources for an example.


== Getting involved ==
== Getting involved ==