X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=db-config.d%2F020-boot_states;h=076ce5334c200bf823cf95a0bbd2805e46fb7a31;hb=6bef7b35eec76ff66332cb20f58eb7703c2116f9;hp=b7a8a5bbb5d5f5bcd8eca86a1c857bfd105a0116;hpb=5afb8089a48433612fb10bed3c609006882b9859;p=plcapi.git diff --git a/db-config.d/020-boot_states b/db-config.d/020-boot_states index b7a8a5b..076ce53 100644 --- a/db-config.d/020-boot_states +++ b/db-config.d/020-boot_states @@ -1,13 +1,12 @@ # -*-python-*- -# $Id: 012-slice_tags -1 $ -# $URL: svn+ssh://thierry@svn.planet-lab.org/svn/MyPLC/trunk/db-config.d/012-slice_tags $ -#################### slice tag types +# slice tag types default_boot_states = [ 'boot', 'failboot', 'safeboot', 'install', 'reinstall', + 'upgrade', 'disabled', ] current_boot_states = GetBootStates() @@ -15,9 +14,8 @@ for state in default_boot_states: if state not in current_boot_states: AddBootState(state) -# TODO: Delete old boot states. -if False:# NOTE: Only set to true if all federating peers have the new default boot states above. +# TODO: Delete old boot states. +if False: # NOTE: Only set to true if all federating peers have the new default boot states above. for state in current_boot_states: if state not in default_boot_states: DeleteBootState(state) -