@ornncompute/cli 1.0.288 → 1.0.290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1098,6 +1098,20 @@ function openVirtualMachinePort(request, nodeId, id, body) {
|
|
|
1098
1098
|
function closeVirtualMachinePort(request, nodeId, id, portId) {
|
|
1099
1099
|
return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines/${encodeURIComponent(id)}/ports/${encodeURIComponent(portId)}`, { method: "DELETE" });
|
|
1100
1100
|
}
|
|
1101
|
+
|
|
1102
|
+
// ../../packages/api-client/dist/orchestrator/node-tags.js
|
|
1103
|
+
function listReservationNodeTags(request, reservationId, signal) {
|
|
1104
|
+
return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/node-tags`, {
|
|
1105
|
+
method: "GET",
|
|
1106
|
+
signal
|
|
1107
|
+
});
|
|
1108
|
+
}
|
|
1109
|
+
function updateReservationNodeTags(request, reservationId, body) {
|
|
1110
|
+
return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/node-tags`, {
|
|
1111
|
+
method: "PATCH",
|
|
1112
|
+
body
|
|
1113
|
+
});
|
|
1114
|
+
}
|
|
1101
1115
|
export {
|
|
1102
1116
|
actOnEnrollmentHost,
|
|
1103
1117
|
addControllerNode,
|
|
@@ -1223,6 +1237,7 @@ export {
|
|
|
1223
1237
|
listRegistryRepositories,
|
|
1224
1238
|
listRegistryTags,
|
|
1225
1239
|
listReservationNodeRollout,
|
|
1240
|
+
listReservationNodeTags,
|
|
1226
1241
|
listReservationSshKeys,
|
|
1227
1242
|
listReservationVirtualMachines,
|
|
1228
1243
|
listServicingRequirements,
|
|
@@ -1284,6 +1299,7 @@ export {
|
|
|
1284
1299
|
updateNode,
|
|
1285
1300
|
updateNodeKeys,
|
|
1286
1301
|
updateNodeSanitize,
|
|
1302
|
+
updateReservationNodeTags,
|
|
1287
1303
|
updateSshBastion,
|
|
1288
1304
|
updateVirtualMachineKeys,
|
|
1289
1305
|
updateVirtualMachineRun,
|
|
@@ -2715,7 +2715,7 @@ var listingAvailabilityCapability = defineCapability({
|
|
|
2715
2715
|
id: "listings.availability",
|
|
2716
2716
|
domain: "listings",
|
|
2717
2717
|
roles: ["user"],
|
|
2718
|
-
description: "Read how much of a capacity listing is free to book over time: windows of startsAt, endsAt, gpus and nodes (the nodes with any
|
|
2718
|
+
description: "Read how much of a capacity listing is free to book over time: windows of startsAt, endsAt, gpus (vCPUs on CPU capacity) and nodes (the nodes with any unit free) from now until the listing ends (for an open-ended listing, 30 days ahead for a Market listing and far enough for any term of a Reserve listing), optionally narrowed by from and to. Use the parent's capacityListingId as listingId.",
|
|
2719
2719
|
mutation: "read",
|
|
2720
2720
|
input: listingAvailabilityInput,
|
|
2721
2721
|
cli: {
|
|
@@ -3127,7 +3127,7 @@ var marketBookCapability = defineCapability({
|
|
|
3127
3127
|
id: "market.book",
|
|
3128
3128
|
domain: "markets",
|
|
3129
3129
|
roles: ["user"],
|
|
3130
|
-
description: "Show one GPU type's depth for a sale type, in one region or across all of them: nodes and order counts at each bid and ask price level (ask levels also count their GPUs).",
|
|
3130
|
+
description: "Show one GPU type's depth for a sale type, in one region or across all of them: nodes and order counts at each bid and ask price level (ask levels also count their GPUs, or vCPUs on the cpu book).",
|
|
3131
3131
|
mutation: "read",
|
|
3132
3132
|
input: marketBookInput,
|
|
3133
3133
|
cli: {
|
|
@@ -3143,7 +3143,7 @@ var marketTradesCapability = defineCapability({
|
|
|
3143
3143
|
id: "market.trades",
|
|
3144
3144
|
domain: "markets",
|
|
3145
3145
|
roles: ["user"],
|
|
3146
|
-
description: "List recent trades for one GPU type and sale type, in one region or all: price, nodes, GPUs, region and time, with no identities.",
|
|
3146
|
+
description: "List recent trades for one GPU type and sale type, in one region or all: price, nodes, GPUs (vCPUs on the cpu book), region and time, with no identities.",
|
|
3147
3147
|
mutation: "read",
|
|
3148
3148
|
input: marketBookInput,
|
|
3149
3149
|
cli: {
|
|
@@ -3192,7 +3192,7 @@ var marketBidCapability = defineCapability({
|
|
|
3192
3192
|
id: "market.bid",
|
|
3193
3193
|
domain: "markets",
|
|
3194
3194
|
roles: ["user"],
|
|
3195
|
-
description: "Buy nodes at market, each the GPUs of one whole machine, as Spot (the default; a scheduled booking that needs the GPUs can stop it) or On-demand (runs until stopped or the listing ends), in one region or any. The bid takes the cheapest nodes for sale now and cancels the rest. What one listing sells becomes a running reservation (a fill), prepaid hourly from Ornn credits first and then the saved card. Book prices are what you pay per GPU-hour, or per vCPU-hour on the cpu book
|
|
3195
|
+
description: "Buy nodes at market, each the GPUs (or vCPUs on the cpu book) of one whole machine, as Spot (the default; a scheduled booking that needs the GPUs can stop it) or On-demand (runs until stopped or the listing ends), in one region or any. The bid takes the cheapest nodes for sale now and cancels the rest. What one listing sells becomes a running reservation (a fill), prepaid hourly from Ornn credits first and then the saved card. Book prices are what you pay per GPU-hour, or per vCPU-hour on the cpu book.",
|
|
3196
3196
|
mutation: "preview-confirm",
|
|
3197
3197
|
input: marketBidInput,
|
|
3198
3198
|
cli: {
|
|
@@ -4137,7 +4137,7 @@ var billingCapabilities = [
|
|
|
4137
4137
|
id: "billing.showback",
|
|
4138
4138
|
domain: "billing",
|
|
4139
4139
|
roles: ["user"],
|
|
4140
|
-
description: "Get a showback report of this tenant's usage for a date range: per-reservation unit-hours, estimated cost, and share of
|
|
4140
|
+
description: "Get a showback report of this tenant's usage for a date range: per-reservation unit-hours, estimated cost, and each row's share of its unit's hours. Each row's unit is a GPU, or a vCPU when its `unit` is `vcpu` (CPU capacity); gpuCount and gpuHours count that unit. totalGpuHours sums GPU rows and totalVcpuHours sums vCPU rows; the two are never added together. Unit-hours are the billable reservation interval that falls inside the inclusive dates, not a whole calendar day. This is an estimate from reservation windows, not a bill. Use billing_summary or billing_invoices for amounts actually charged.",
|
|
4141
4141
|
mutation: "read",
|
|
4142
4142
|
input: z19.object({
|
|
4143
4143
|
start: z19.string().regex(DATE_ONLY, "start must be a date in yyyy-mm-dd format."),
|