Revision 7312b33d scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
447 | 447 |
# Iterate over the instances and do: |
448 | 448 |
# * Populate the specs with default value |
449 | 449 |
# * Validate the instance specs |
450 |
for (name, specs) in instance_data.iteritems(): |
|
450 |
i_names = utils.NiceSort(instance_data.keys()) |
|
451 |
for name in i_names: |
|
452 |
specs = instance_data[name] |
|
451 | 453 |
specs = _PopulateWithDefaults(specs) |
452 | 454 |
_Validate(specs) |
453 | 455 |
|
Also available in: Unified diff