cloudmesh / cloudmesh-cloud

Multicloud Cloudmesh Plugins for cloudmesh cmd5 CMD
https://cloudmesh.github.io/cloudmesh-manual
Apache License 2.0
2 stars 27 forks source link

command: cms group #202

Open laszewsk opened 5 years ago

laszewsk commented 5 years ago

There is a proposed cms group command in cloudmesh. This comamnd manages resources and services that can be groupuged under a name. Thus commands applied to this group will be executed on all resources.

let us assume we have vm01-10 than

cms group add vm01-10 --name=mygroup

will add all specified vms to the group

so if i say

cms group --name=mygroup vm start

all vms in the group would be started.

saurabhIU commented 5 years ago

Hello Professor, I am working on AWS and have few queries for this task. 1) Resources here means Ec2 instances or anything else like S3. 2) What are the functions required to be executed on group like start/stop EC2 instances.

laszewsk commented 5 years ago

Right now we focus on ec2,

S# is already covered in cloudmesh-storage by others

On Jun 15, 2019, at 8:38 PM, saurabhIU notifications@github.com wrote:

Hello Professor, I am working on AWS and have few queries for this task.

Resources here means Ec2 instances or anything else like S3. What are the functions required to be executed on group like start/stop EC2 instances. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/cloudmesh-cloud/issues/202?email_source=notifications&email_token=AADHYVL5DMRABGRTEQEO4ETP2WDOZA5CNFSM4HSNKANKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZCTYA#issuecomment-502409696, or mute the thread https://github.com/notifications/unsubscribe-auth/AADHYVLYHM7RPUNCIO3YEXDP2WDOZANCNFSM4HSNKANA.

laszewsk commented 5 years ago

We need to think about this but a group could contain many different resources including storage

So if wh however assume that we do something like

group vm0-10 start

Or group —name my group start

Than we have for VMS

The typical things from the vm command

Ping Check Start Stop resume Suspend Delete Update (status)

Key upload into vm Key update into vm

Secgroup

….

E.g. the full range to manage the vm

On Jun 15, 2019, at 8:38 PM, saurabhIU notifications@github.com wrote:

Hello Professor, I am working on AWS and have few queries for this task.

Resources here means Ec2 instances or anything else like S3. What are the functions required to be executed on group like start/stop EC2 instances. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/cloudmesh-cloud/issues/202?email_source=notifications&email_token=AADHYVL5DMRABGRTEQEO4ETP2WDOZA5CNFSM4HSNKANKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZCTYA#issuecomment-502409696, or mute the thread https://github.com/notifications/unsubscribe-auth/AADHYVLYHM7RPUNCIO3YEXDP2WDOZANCNFSM4HSNKANA.