aleph-im / aleph-client

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

Feature: Instances operator commands #214

Closed 1yam closed 3 weeks ago

1yam commented 1 month 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 1 month ago

Failed to retrieve llama text: POST 504:

504 Gateway Time-out

The server didn't respond in time.

Psycojoker commented 3 weeks ago

@1yam when you have some time, can you rebase this PR? It conflics with master

hoh commented 3 weeks ago

Not sure what happened, but the history of this branch seems messed up (some commits from main reappear in the history), and I see many conflicts. What is the plan regarding that ? Squash everything or cleanup ?

1yam commented 3 weeks ago

Gonna fix conflicts and gonna squash those commit

1yam commented 3 weeks ago

well was more simple to just re open new one: PR