Revision 355d1f32
b/lib/cmdlib/node.py | ||
---|---|---|
126 | 126 |
if not ovs and (ovs_name or ovs_link): |
127 | 127 |
raise errors.OpPrereqError("OpenvSwitch name or link were given, but" |
128 | 128 |
" OpenvSwitch is not enabled. Please enable" |
129 |
" OpenvSwitch with --ovs", errors.ECODE_INVAL) |
|
129 |
" OpenvSwitch with --ovs", |
|
130 |
errors.ECODE_INVAL) |
|
130 | 131 |
|
131 | 132 |
def BuildHooksEnv(self): |
132 | 133 |
"""Build hooks env. |
Also available in: Unified diff