« Previous | Next » 

Revision 5c44da6a


Added by Guido Trotter over 15 years ago

LUSetInstanceParams: Fix nic handling

Use constants.VALUE_NONE rather than hardcoding the string "none"
If we're adding a nic fill the nic_dict with default values
Check if the mac is syntactically valid, if we have one
Don't allow the mac to be 'auto' when modifying a nic

Check that bridge and mac if present in the dict are not None
(before this wasn't handled at all)
Generate the nic mac address here if demanded

Do not generate nics and macs

Reviewed-by: iustin


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences