Revision 0fd5547a
b/lib/cmdlib.py | ||
---|---|---|
1276 | 1276 |
@param old_ipolicy: The current (still in-place) ipolicy |
1277 | 1277 |
@param new_ipolicy: The new (to become) ipolicy |
1278 | 1278 |
@param instances: List of instances to verify |
1279 |
@return: A list of instances which violates the new ipolicy but did not before |
|
1279 |
@return: A list of instances which violates the new ipolicy but |
|
1280 |
did not before |
|
1280 | 1281 |
|
1281 | 1282 |
""" |
1282 |
return (_ComputeViolatingInstances(old_ipolicy, instances) -
|
|
1283 |
_ComputeViolatingInstances(new_ipolicy, instances))
|
|
1283 |
return (_ComputeViolatingInstances(new_ipolicy, instances) -
|
|
1284 |
_ComputeViolatingInstances(old_ipolicy, instances))
|
|
1284 | 1285 |
|
1285 | 1286 |
|
1286 | 1287 |
def _ExpandItemName(fn, name, kind): |
Also available in: Unified diff