Revision 57fb6fcb lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
13053 | 13053 |
raise errors.OpPrereqError("Cannot set the NIC IP address to None" |
13054 | 13054 |
" on a routed NIC", errors.ECODE_INVAL) |
13055 | 13055 |
|
13056 |
elif new_mode == constants.NIC_MODE_OVS: |
|
13057 |
# TODO: check OVS link |
|
13058 |
self.LogInfo("OVS links are currently not checked for correctness") |
|
13059 |
|
|
13056 | 13060 |
if constants.INIC_MAC in params: |
13057 | 13061 |
mac = params[constants.INIC_MAC] |
13058 | 13062 |
if mac is None: |
Also available in: Unified diff