@ornncompute/cli 1.0.367 → 1.0.369

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.367",
3
+ "version": "1.0.369",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -729,6 +729,12 @@ function deleteReservationSshKey(request, reservationId, keyId) {
729
729
  return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/ssh-keys/${encodeURIComponent(keyId)}`, { method: "DELETE" });
730
730
  }
731
731
  var reservationEventsPath = "/v1/orchestrator/reservations/ws";
732
+ function getReservationAccess(request, reservationId, signal) {
733
+ return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/access`, {
734
+ method: "GET",
735
+ ...signal ? { signal } : {}
736
+ });
737
+ }
732
738
 
733
739
  // ../../packages/api-client/dist/orchestrator/node-sanitize.js
734
740
  function sanitizePath(nodeId, jobId) {
@@ -795,6 +801,13 @@ function nodeResourcePath(id) {
795
801
  function markNodeClean(request, id, body) {
796
802
  return request(`${nodeResourcePath(id)}/mark-clean`, { method: "POST", body });
797
803
  }
804
+ function changeManagedNodeFirewall(request, nodeId, body, signal) {
805
+ return request(`${nodeResourcePath(nodeId)}/managed-firewall`, {
806
+ method: "POST",
807
+ body,
808
+ ...signal ? { signal } : {}
809
+ });
810
+ }
798
811
  function getNode(request, id, signal) {
799
812
  return request(nodeResourcePath(id), {
800
813
  method: "GET",
@@ -1208,6 +1221,7 @@ export {
1208
1221
  assignNode,
1209
1222
  cancelDriveUpload,
1210
1223
  cancelEnrollmentRun,
1224
+ changeManagedNodeFirewall,
1211
1225
  checkExternalVmStatus,
1212
1226
  clearDriveContents,
1213
1227
  closeDirectVmPort,
@@ -1286,6 +1300,7 @@ export {
1286
1300
  getNodeVirtualMachineCapacity,
1287
1301
  getOrganizationStorageUsage,
1288
1302
  getRegistryUsage,
1303
+ getReservationAccess,
1289
1304
  getReservationAccessSwitch,
1290
1305
  getReservationVirtualMachine,
1291
1306
  getSoftwareCatalog,