CloudVE / cloudbridge

A consistent interface to multiple IaaS clouds; in Python.
https://cloudbridge.cloudve.org
MIT License
113 stars 51 forks source link

GCPInstance start function is missing #308

Open Jegeva opened 1 year ago

Jegeva commented 1 year ago

the right code is already implemented i nreboot but there should be a start function implemented

nuwang commented 1 year ago

A start function would need to be added to the cloudbridge VM Instance interface here and implemented for all providers.

Jegeva commented 1 year ago

The documentation states that there should be one : http://cloudbridge.cloudve.org/en/latest/api_docs/cloud/resources.html#cloudbridge.interfaces.resources.Instance,

the abstract is here already : https://github.com/CloudVE/cloudbridge/blob/7882bda211eacc67c33b013c7906bf5860d0fcf6/cloudbridge/interfaces/resources.py#L587

It's just that the implementation is missing in GCP (maybe in others, i didn't check)

theshashankpal commented 1 year ago

Hi @Jegeva, This issue seems to be a good initiation of my journey towards contribution to FOSS projects. Can you please assign this to me?

nuwang commented 1 year ago

Looks like the start and stop functions have been implemented, but for aws only. The following would need to be done. a. Implement start/stop functions for the remaining providers b. Make sure this test passes for all providers, not just aws: https://github.com/CloudVE/cloudbridge/blob/7882bda211eacc67c33b013c7906bf5860d0fcf6/tests/test_compute_service.py#L419

We are happy to assign this to you @theshashankpal. Feel free to write back with any questions and thanks for volunteering to help.

theshashankpal commented 1 year ago

Thank You!

theshashankpal commented 1 year ago

Hey Nuwan,

Can you just provide me with the link to the different api's that are being used here ? i.e. aws, gcp , azure, openstack.

Thanks

On Sat, Sep 10, 2022 at 1:52 PM Nuwan Goonasekera @.***> wrote:

Assigned #308 https://github.com/CloudVE/cloudbridge/issues/308 to @theshashankpal https://github.com/theshashankpal.

— Reply to this email directly, view it on GitHub https://github.com/CloudVE/cloudbridge/issues/308#event-7360614486, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXKC5H65J6FAVL64SDXAITV5RANHANCNFSM6AAAAAAQIWRPZI . You are receiving this because you were assigned.Message ID: @.***>

nuwang commented 1 year ago

This is the list: aws - https://boto3.amazonaws.com/v1/documentation/api/latest/index.html gcp - https://github.com/googleapis/google-api-python-client azure - https://github.com/Azure/azure-sdk-for-python openstack - https://github.com/openstack/openstacksdk

The specific sdks are listed here: https://github.com/CloudVE/cloudbridge/blob/6428fad40764aa45a776e904b10ca188355fa7a7/setup.py#L33