Change in vdsm[master]: vm: adding xpath property to device Base class

mmirecki at redhat.com mmirecki at redhat.com
Wed Dec 2 08:52:03 UTC 2015


Marcin Mirecki has uploaded a new change for review.

Change subject: vm: adding xpath property to device Base class
......................................................................

vm: adding xpath property to device Base class

Change-Id: I29a7989cde44da0f756d48ae139fba47e524a40b
Bug-Url: https://bugzilla.redhat.com/1134256
Signed-off-by: Marcin Mirecki <mmirecki at redhat.com>
---
M vdsm/virt/vmdevices/core.py
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/54/49554/1

diff --git a/vdsm/virt/vmdevices/core.py b/vdsm/virt/vmdevices/core.py
index 7402947..3bca823 100644
--- a/vdsm/virt/vmdevices/core.py
+++ b/vdsm/virt/vmdevices/core.py
@@ -60,6 +60,11 @@
         raise NotImplementedError(
             "%s does not implement is_attached_to", self.__class__.__name__)
 
+    @property
+    def _xpath(self):
+        raise NotImplementedError(
+            "%s does not implement _xpath", self.__class__.__name__)
+
 
 class Generic(Base):
 


-- 
To view, visit https://gerrit.ovirt.org/49554
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I29a7989cde44da0f756d48ae139fba47e524a40b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Marcin Mirecki <mmirecki at redhat.com>


More information about the vdsm-patches mailing list