Revision 717920a0
b/lib/client/gnt_instance.py | ||
---|---|---|
357 | 357 |
utils.ForceDictType(hvparams, constants.HVS_PARAMETER_TYPES) |
358 | 358 |
|
359 | 359 |
tmp_nics = [] |
360 |
for field in ('ip', 'mac', 'mode', 'link', 'bridge'):
|
|
360 |
for field in constants.INIC_PARAMS:
|
|
361 | 361 |
if field in specs: |
362 | 362 |
if not tmp_nics: |
363 | 363 |
tmp_nics.append({}) |
Also available in: Unified diff