Changes

Jump to navigation Jump to search
no edit summary
Line 19: Line 19:     
* {{Code|uid}}, user's identity got after registration on a server;
 
* {{Code|uid}}, user's identity got after registration on a server;
* {{Code|machine-serial}}, 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 striped version of public keys.
Line 51: Line 51:     
* {{Code|nickname}}, user's Sugar nick name;
 
* {{Code|nickname}}, user's Sugar nick name;
* {{Code|machine-serial}}, machine's serial number, makes special sense only for XO anti-thief support and [[#Hardware_based_model|hardware based]] identity model,
+
* {{Code|machine-sn}}, machine's serial number, makes special sense only for XO anti-thief support and [[#Hardware_based_model|hardware based]] identity model,
 
* {{Code|machine-uuid}}, machine's UUID value, makes special sense only for XO anti-thief support,
 
* {{Code|machine-uuid}}, machine's UUID value, makes special sense only for XO anti-thief support,
 
* {{Code|pubkey}}, SSH public key passed as-is.
 
* {{Code|pubkey}}, SSH public key passed as-is.
Line 81: Line 81:  
Backward compatibility:
 
Backward compatibility:
   −
  ''dict'' '''register'''(''str'' machine-serial, ''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 {{Code|8080}} port on the {{Code|--host}} host.
 
To support OLPC's XS clients, RPC function to serve registration requests. The XML-RPM service will be listening {{Code|8080}} port on the {{Code|--host}} host.
Line 113: Line 113:  
Interface:
 
Interface:
   −
  GET '''/client/lease'''?machine-serial=''MACHINE_SERIAL''
+
  GET '''/client/lease'''?machine-sn=''MACHINE_SN''
    
Get OLPC anti-thief lease for specified XO's serial number.
 
Get OLPC anti-thief lease for specified XO's serial number.

Navigation menu