def VerifyNic(owner, params, callback):
  try:
    objects.NIC.CheckParameterSyntax(params)
  except errors.ConfigurationError, err:
    callback("%s has invalid nicparams: %s" % (owner, err))
Checks if a NIC has correct form.
dataset/ETHPy150Open ganeti/ganeti/lib/config/verify.py/VerifyNic