Vsphere service encapsulation

71 views
Skip to first unread message

Cindia

unread,
May 5, 2012, 5:01:23 AM5/5/12
to ruby-fog
plan to contribute a suit of fine-grained function to Vsphere cloud
like fine grained vm_clone, disk config, network config, HA_setting,
and Monitoring... I have implemented them under compute by extend
request. When reading fog docs, I feel it is recommend to encapsulat
basic functions into service with related model. Should I divide my
code into different services like disk/network/HA/Monitoring? And want
to communicate more about design purpose of fog, which can work as a
switch and help code sperate with cloud provider. Then it is proper to
extend some infrastructure functions into it like group vms'
deployement/placement...

Thanks for suggestions

geemus (Wesley Beary)

unread,
May 7, 2012, 10:27:11 AM5/7/12
to ruby...@googlegroups.com
Partially it just depends on how the service fog is implementing
appears to users. I think if all of the requests are made via the
same endpoint/API then it is probably fine for all of the fog code to
appear within the same service. For instance on EC2, volumes/disks
are provided by the compute API. I think that is fine and sensible.
The other thing is that it is probably easiest to do this for now, and
we can always update that and move things around later if we find a
better division.
Thanks!
wes

Cindia

unread,
Aug 27, 2012, 7:34:50 AM8/27/12
to ruby...@googlegroups.com
In past months, we have contributed compute/storage/HA service to vSphere cloud provider. Who would like to help make a review and see if it is proper to bring them to new version of fog (if any in plan)? Many thanks.

Cindia

在 2012年5月5日星期六UTC+8下午5时01分23秒,Cindia写道:

Cindia

unread,
Aug 27, 2012, 7:37:49 AM8/27/12
to ruby...@googlegroups.com
link to the vSphere contribution is https://github.com/vmware-serengeti/fog

在 2012年8月27日星期一UTC+8下午7时34分50秒,Cindia写道:

Mick Pollard

unread,
Aug 27, 2012, 7:56:23 AM8/27/12
to ruby...@googlegroups.com
G`Day Cindia !

I found this just today and was wondering if you would contribute it back.
This is great news.

In the next week I will make some time to give this a try.
I am fairly new to coding but slowly starting to understand how the
fog vsphere provider works.

Cheers
Mick Pollard
@aussielunix

geemus (Wesley Beary)

unread,
Aug 27, 2012, 9:06:09 AM8/27/12
to ruby...@googlegroups.com
Sounds good.

Cindia, could you create a pull request from this code to simplify the
review and merge process?

Jeff McCune

unread,
Aug 27, 2012, 11:14:46 AM8/27/12
to ruby...@googlegroups.com
Cindia,

I'm happy to review a pull request containing this change set. Please ping me with @jeffmccune when you file the pull request, ths will help notify me when the time comes.

-Jeff
Reply all
Reply to author
Forward
0 new messages