On 1/17/13 8:35 AM, "Nik Martin" <nik.mar...@nfinausa.com> wrote:
>On 01/17/2013 07:57 AM, Ioan Eugen Stan wrote: >> Hello, >> >> Saliaja: I'm afraid not. jclouds support for CloudStack API is at >> version 2.x+ and for what it does, it works great and it's clean. >> >> Nik: Not an option. It will be a mess mixing Java with JavaScript. You >> would not wish to maintain such a software. >> >Went and checked out your site a bit, so now I'm curious. Why are you >using jclouds at all? Do you need to interface to multiple cloud APIs? > Interfacing directly with CS's API is trivial. > >> It seems that the expunge time vary greatly. My query heuristics is >> also not that reliable so for now the only choice I have is to do the >> best I can in most situations and accepts the fact that we may leak >> resources. >Expunge time is a scheduled event, so depending on when you call delete >vm, you could be one second into the expunge schedule, or only have one >second left, so worst case is expunge.time - 1, best case is >expunge.time - expunge.time + 1 > >> >> Thanks for the support. >> >> Cheers, >> > > >-- > >Regards, > >Nik > >Nik Martin >nfina Technologies, Inc. >+1.251.243.0043 x1003 >http://nfinausa.com >Relentless Reliability > Above and beyond vm expunge times is the network.gc.* global params. This will run a cleanup process when no vm's are using this network. Have you experimented with the delete network api[1]? [1] https://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/deleteN etwork.html -- Æ