Revision d04c9d45 lib/constants.py
b/lib/constants.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
949 | 949 |
ISPECS_MIN = "min" |
950 | 950 |
ISPECS_MAX = "max" |
951 | 951 |
ISPECS_STD = "std" |
952 |
ISPECS_DTS = "disk_templates"
|
|
952 |
IPOLICY_DTS = "disk_templates"
|
|
953 | 953 |
|
954 | 954 |
IPOLICY_PARAMETERS = frozenset([ |
955 | 955 |
ISPECS_MIN, |
956 | 956 |
ISPECS_MAX, |
957 | 957 |
ISPECS_STD, |
958 | 958 |
]) |
959 |
IPOLICY_ALL_KEYS = IPOLICY_PARAMETERS.union([ISPECS_DTS])
|
|
959 |
IPOLICY_ALL_KEYS = IPOLICY_PARAMETERS.union([IPOLICY_DTS])
|
|
960 | 960 |
|
961 | 961 |
# Node parameter names |
962 | 962 |
ND_OOB_PROGRAM = "oob_program" |
... | ... | |
1906 | 1906 |
ISPEC_DISK_SIZE: 1024, |
1907 | 1907 |
ISPEC_NIC_COUNT: 1, |
1908 | 1908 |
}, |
1909 |
ISPECS_DTS: DISK_TEMPLATES,
|
|
1909 |
IPOLICY_DTS: DISK_TEMPLATES,
|
|
1910 | 1910 |
} |
1911 | 1911 |
|
1912 | 1912 |
MASTER_POOL_SIZE_DEFAULT = 10 |
Also available in: Unified diff