[Planetlab-devel] [Fwd: disable slice creation mechanism]

Tony Mack tmack at CS.Princeton.EDU
Thu Jun 14 13:47:37 EDT 2007


Most of this functionality exist in the api already. I just had to 
update AddSlice to prevent disabled sites from creating new slices.

Stephen Soltesz wrote:
> This probably belongs on the devel mailing list.
>
> ------------------------------------------------------------------------
>
> Subject:
> [pupadm] disable slice creation mechanism
> From:
> Stephen Soltesz <soltesz at CS.Princeton.EDU>
> Date:
> Wed, 13 Jun 2007 15:42:39 -0400
> To:
> PU PlanetLab Admin List <pupadm at lists.cs.princeton.edu>
>
> To:
> PU PlanetLab Admin List <pupadm at lists.cs.princeton.edu>
>
>
> Looking at the existing monitor code, and the (evidently new) policy 
> of assigning sites a different number of max_slices, there is a 
> mis-match.
>
> Monitor currently disables slice creation by setting the max_slices to 
> zero.  However, upon re-enabling a site, there is no way to 
> differentiate a site (that I see) as being in the max_slices==2 group 
> (or any other group we may define in the future) or the max_slices==10 
> group.
>
> This suggests at least two options: 1) have a site attribute that 
> distinguishes the member class of a site (and hence it's max_slices 
> value), or 2) provide an 'enable/disable' flag for slice creation at a 
> site.
>
> Faiyaz and Tony felt that 2) would not be too hard.  Other thoughts?
>
> Stephen.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/devel
>   



More information about the Devel mailing list