fog / fog-openstack

Fog for OpenStack Platform
MIT License
68 stars 130 forks source link

Create/list/delete server groups and assign VMs into them #49

Open plribeiro3000 opened 8 years ago

plribeiro3000 commented 8 years ago

Hello,

Does somebody know whether OpenStack provider implments creation/deletion/listing of server groups as well as asignment of VMs into them. Basically I am interested in creation of virtual machine in a certain server group:

nova boot  --image ubuntu --flavor m1.small --hint group=aa8a69f4-2567-47c6-a28c-2934a8c7959c vm1

Thanks

Original issue opened by @pdilung at fog/fog#3656

plribeiro3000 commented 8 years ago

cc/ @pdilung @TerryHowe

danleyden commented 8 years ago

setting the server group when creating a VM works (when calling servers.create pass in os_scheduler_hints: { group: server_group_id })

creating, listing and deleting of server groups is not yet supported, but I have a patch that adds such (no tests or examples yet - see 7acbef0286c386493ad6db566a5ccca82745a259 - but proven out locally)

plribeiro3000 commented 8 years ago

@danleyden Would you open a PR with your changes?

danleyden commented 8 years ago

PR was opened 2 weeks ago, no comments thus far

plribeiro3000 commented 8 years ago

@danleyden could you link the PR here please? Thanks

danleyden commented 8 years ago

https://github.com/fog/fog-openstack/pull/161