Revision 3cf06dd4 lib/backend.py
b/lib/backend.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 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 |
... | ... | |
136 | 136 |
|
137 | 137 |
@type instance_name: string |
138 | 138 |
@param instance_name: The name of the instance |
139 |
|
|
140 |
@type trail: list of reasons |
|
141 |
@param trail: reason trail |
|
142 |
|
|
139 | 143 |
@rtype: None |
140 | 144 |
|
141 | 145 |
""" |
... | ... | |
3623 | 3627 |
|
3624 | 3628 |
|
3625 | 3629 |
def ValidateOS(required, osname, checks, osparams): |
3626 |
"""Validate the given OS' parameters.
|
|
3630 |
"""Validate the given OS parameters. |
|
3627 | 3631 |
|
3628 | 3632 |
@type required: boolean |
3629 | 3633 |
@param required: whether absence of the OS should translate into |
Also available in: Unified diff