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

Line 59: Line 59:


Backward compatibility, with OLPC's XS, RPC function to serve registration requests. The resulting data is the same as for RESTfull registration interface. The XML-RPM service will be listening {{Code|8080}} port on the {{Code|--host}} host.
Backward compatibility, with OLPC's XS, RPC function to serve registration requests. The resulting data is the same as for RESTfull registration interface. The XML-RPM service will be listening {{Code|8080}} port on the {{Code|--host}} host.
Requirements:
* Current Sugar Shell code calls only XML-RPC method suing hard coded {{Code|http://schoolserver:8080/}} url. This restriction can be avoided using [[Sugar_Server_Kit/sugar-client|sugar-client]].


=== backup ===
=== backup ===
Line 75: Line 79:


* {{Code|accepted}}, if {{Code|True}}, clients can start backup process.
* {{Code|accepted}}, if {{Code|True}}, clients can start backup process.
Requirements:
* The {{Code|root}} configuration option should point to the home directory of system user that starts sugar-server process. That needs because clients will SSH to this user to do Rsync backups.


=== activation ===
=== activation ===
Line 95: Line 103:
* lease content found for serial number;
* lease content found for serial number;
* {{Code|UNKNOWN}} for errors.
* {{Code|UNKNOWN}} for errors.
Requirements:
* Current XO's bootstrap code uses TCP interface with having the following numbers hard coded:
** {{Code|host}} needs to be {{Code|172.18.0.1}},
** {{Code|activation-port}} needs to be {{Code|191}},
** XOs use {{Code|172.18.96.1}} as a gateway while connecting to {{Code|172.18.0.1}}.


=== keyring ===
=== keyring ===