58 | | Each BOINC project exports some configuration items relevant to attaching and creating accounts. This RPC is documented [ProjectConfigRpc here]. |
| 58 | Each BOINC project exports some configuration items relevant to attaching and creating accounts. |
| 59 | = Project configuration web RPC = |
| 60 | |
| 61 | Each BOINC project and account manager exports a few configuration items via a web RPC; namely, it must provide an XML document at the address |
| 62 | {{{ |
| 63 | http://PROJECT_URL/get_project_config.php |
| 64 | }}} |
| 65 | |
| 66 | This file is created by [MakeProject make_project], and in most cases you don't have to change it. |
| 67 | |
| 68 | This document has this structure: |
| 69 | |
| 70 | {{{ |
| 71 | <project_config> |
| 72 | <name>Project name</name> |
| 73 | <master_url>URL</master_url> |
| 74 | [ <local_revision>12345</local_revision> ] |
| 75 | [ <web_stopped>0|1</web_stopped> ] |
| 76 | [ <account_creation_disabled/> ] |
| 77 | [ <client_account_creation_disabled/> ] |
| 78 | [ <min_passwd_length>N</min_passwd_length> ] |
| 79 | [ <account_manager/> ] |
| 80 | [ <uses_username/> ] |
| 81 | [ <rpc_prefix>URL</rpc_prefix> ] |
| 82 | [ <error_num>N</error_num> ] |
| 83 | [ |
| 84 | <platforms> |
| 85 | <platform> |
| 86 | <platform_name>i686-apple-darwin</platform_name> |
| 87 | <user_friendly_name>Mac OS X (Intel)</user_friendly_name> |
| 88 | </platform> |
| 89 | <platform> |
| 90 | <platform_name>i686-pc-linux-gnu</platform_name> |
| 91 | <user_friendly_name>Linux/x86</user_friendly_name> |
| 92 | </platform> |
| 93 | ... |
| 94 | </platforms> |
| 95 | ] |
| 96 | [ |
| 97 | <system_requirements> |
| 98 | [ <p_fpops>N</p_fpops> ] |
| 99 | [ <p_iops>N</p_iops> ] |
| 100 | [ <p_membw>N</p_membw> ] |
| 101 | [ <m_nbytes>N</m_nbytes> ] |
| 102 | [ <m_swap>N</m_swap> ] |
| 103 | [ <d_free>N</d_free> ] |
| 104 | [ <bwup>N</bwup> ] |
| 105 | [ <bwdown>N</bwdown> ] |
| 106 | </system_requirements> |
| 107 | ] |
| 108 | </project_config> |
| 109 | }}} |
| 110 | |
| 111 | The elements are: |
| 112 | |
| 113 | '''name''':: |
| 114 | Project name |
| 115 | '''master_url''':: |
| 116 | Master URL |
| 117 | '''local_revision''' |
| 118 | The SVN changeset number of the project's server software. |
| 119 | '''web_stopped''' |
| 120 | Nonzero if the project's database is down, so data-driven web pages turned off. |
| 121 | '''account_creation_disabled''':: |
| 122 | If present, this project is not allowing creation of new accounts |
| 123 | '''min_passwd_length''':: |
| 124 | Minimum password length (for new account creation) |
| 125 | '''account_manager''':: |
| 126 | If present, this is an account manager, not a BOINC project |
| 127 | '''uses_username''':: |
| 128 | If present, this project uses names (rather than email addresses) as the primary account identifier |
| 129 | '''client_account_creation_disabled''':: |
| 130 | If present, new accounts can be created only via the web (not via the client software). |
| 131 | '''rpc_prefix''':: |
| 132 | Prefix to use for web RPCs, instead of the master URL. |
| 133 | '''error_num''':: |
| 134 | The project is currently down. A BOINC error number is returned. |
| 135 | '''platforms''':: |
| 136 | A list of platforms for which the project has application versions. |
| 137 | '''system_requirements''':: |
| 138 | Hardware requirements for participating in this project. If a computer doesn't meet these requirements it may not get sent any work by the project. All requirements are 'net'; e.g. the CPU requirements are after factors like [ClientSched on-fraction, active-fraction], and resource share have been taken into consideration. NOT IMPLEMENTED YET. |
| 139 | |