Revision af9cef96 lib/objects.py

b/lib/objects.py
506 506

  
507 507
class NIC(ConfigObject):
508 508
  """Config object representing a network card."""
509
  __slots__ = ["name", "mac", "ip", "network", "nicparams", "netinfo"] + _UUID
509
  __slots__ = ["name", "pci", "mac", "ip", "network", "nicparams", "netinfo"] + _UUID
510 510

  
511 511
  @classmethod
512 512
  def CheckParameterSyntax(cls, nicparams):
......
529 529

  
530 530
class Disk(ConfigObject):
531 531
  """Config object representing a block device."""
532
  __slots__ = ["name", "dev_type", "logical_id", "physical_id",
532
  __slots__ = ["name", "pci", "dev_type", "logical_id", "physical_id",
533 533
               "children", "iv_name", "size", "mode", "params"] + _UUID
534 534

  
535 535
  def CreateOnSecondary(self):
......
1013 1013
    "hvparams",
1014 1014
    "beparams",
1015 1015
    "osparams",
1016
    "dev_idxs",
1016 1017
    "admin_state",
1017 1018
    "nics",
1018 1019
    "disks",

Also available in: Unified diff