aleph-im / aleph-client

Lightweight Python Client library for the Aleph.im network
MIT License
11 stars 12 forks source link

Feature: Operator command for instance #225

Closed 1yam closed 9 hours ago

1yam commented 3 weeks ago

Note: This pull request depends on the following PR and should not be merged before it: https://github.com/aleph-im/aleph-sdk-python/pull/124

Summary

This PR introduces new commands for managing virtual machine instances. These commands provide users with enhanced control over their VMs.

New Commands

The following commands have been added:

  1. Notify Instance:

    aleph instance notify {vm_id} {domain}

    Sends a notification to the specified VM instance within the given domain.

  2. Stop Instance:

    aleph instance stop {vm_id} {domain}

    Stops the specified VM instance within the given domain.

  3. Reboot Instance:

    aleph instance reboot {vm_id} {domain}

    Reboots the specified VM instance within the given domain.

  4. Erase Instance:

    aleph instance erase {vm_id} {domain}

    Erases the specified VM instance within the given domain, securely deleting all data.

  5. Expire Instance:

    aleph instance expire {vm_id} {domain}
github-actions[bot] commented 3 weeks ago

Failed to retrieve llama text: POST 504:

504 Gateway Time-out

The server didn't respond in time.

olethanh commented 10 hours ago

I think you can just point the sdk dep to the rc2 release and it should work