Revision 8e1c6109 lib/objects.py

b/lib/objects.py
489 489

  
490 490
class NIC(ConfigObject):
491 491
  """Config object representing a network card."""
492
  __slots__ = ["name", "mac", "ip", "network", "nicparams", "netinfo"] + _UUID
492
  __slots__ = ["name", "mac", "ip", "network",
493
               "nicparams", "netinfo", "pci"] + _UUID
493 494

  
494 495
  @classmethod
495 496
  def CheckParameterSyntax(cls, nicparams):
......
513 514
class Disk(ConfigObject):
514 515
  """Config object representing a block device."""
515 516
  __slots__ = ["name", "dev_type", "logical_id", "physical_id",
516
               "children", "iv_name", "size", "mode", "params"] + _UUID
517
               "children", "iv_name", "size", "mode", "params", "pci"] + _UUID
517 518

  
518 519
  def CreateOnSecondary(self):
519 520
    """Test if this device needs to be created on a secondary node."""

Also available in: Unified diff