X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf7e30873ef4b92cc8ec099b2bb344391a070e93..55aafbb07904ca24390dd47ea960eae7cb2b909a:/doc/api/methods/nodes.html.textile.liquid diff --git a/doc/api/methods/nodes.html.textile.liquid b/doc/api/methods/nodes.html.textile.liquid index f02d50c660..1b51f01c63 100644 --- a/doc/api/methods/nodes.html.textile.liquid +++ b/doc/api/methods/nodes.html.textile.liquid @@ -5,45 +5,54 @@ navmenu: API Methods title: "nodes" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} +API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/nodes@ -Required arguments are displayed in %{background:#ccffcc}green%. +Object type: @7ekkf@ +Example UUID: @zzzzz-7ekkf-0123456789abcde@ -h2. create +h2. Resource -Create a new Node. +Node resources list compute nodes on which Crunch may schedule work. -Arguments: +Each Node has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|node|object||query|| - -h2. delete +|_. Attribute|_. Type|_. Description|_. Example| +|slot_number|integer||| +|hostname|string||| +|domain|string||| +|ip_address|string||| +|job_uuid|string|The UUID of the job that this node is assigned to work on. If you do not have permission to read the job, this will be null.|| +|first_ping_at|datetime||| +|last_ping_at|datetime||| +|info|hash||| -Delete an existing Node. +h2. Methods -Arguments: +See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@. -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string|The UUID of the Node in question.|path|| +Required arguments are displayed in %{background:#ccffcc}green%. -h2. destroy +h3. create -destroy nodes +Create a new Node. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string||path|| +{background:#ccffcc}.|node|object||query|| -h2. get +h3. delete -Gets a Node's metadata by UUID. +Delete an existing Node. Arguments: @@ -51,34 +60,25 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Node in question.|path|| -h2. index +h3. get -index nodes +Gets a Node's metadata by UUID. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -|order|string||query|| -|where|object||query|| +{background:#ccffcc}.|uuid|string|The UUID of the Node in question.|path|| -h2. list +h3. list List nodes. -Arguments: - -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|limit|integer (default 100)|Maximum number of nodes to return.|query|| -|order|string|Order in which to return matching nodes.|query|| -|pageToken|string|Page token.|query|| -|q|string|Query string for searching nodes.|query|| -|where|object|Conditions for filtering nodes.|query|| +See "common resource list method.":{{site.baseurl}}/api/methods.html#index -h2. ping +h3. ping -ping nodes +Process a ping from a compute node. Arguments: @@ -87,17 +87,7 @@ table(table table-bordered table-condensed). {background:#ccffcc}.|ping_secret|string||query|| {background:#ccffcc}.|uuid|string||path|| -h2. show - -show nodes - -Arguments: - -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string||path|| - -h2. update +h3. update Update attributes of an existing Node. @@ -107,3 +97,5 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Node in question.|path|| |node|object||query|| + +To remove a node's job assignment, update the node object's @job_uuid@ to null.