Adam Litke has uploaded a new change for review.

Change subject: mom: Add mom package version to vdsCapabilities
......................................................................

mom: Add mom package version to vdsCapabilities

Change-Id: I764e48f6df33d6e46f89ca8b7324b0e5e8d146f6
Signed-off-by: Adam Litke <[email protected]>
---
M vdsm/caps.py
M vdsm_api/vdsmapi-schema.json
2 files changed, 6 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/86/9286/1

diff --git a/vdsm/caps.py b/vdsm/caps.py
index cfe4caf..9fe360f 100644
--- a/vdsm/caps.py
+++ b/vdsm/caps.py
@@ -331,7 +331,7 @@
 
     if getos() in (OSName.RHEVH, OSName.OVIRT, OSName.FEDORA, OSName.RHEL):
         KEY_PACKAGES = ['qemu-kvm', 'qemu-img',
-                        'vdsm', 'spice-server', 'libvirt']
+                        'vdsm', 'spice-server', 'libvirt', 'mom']
 
         try:
             ts = rpm.TransactionSet()
@@ -353,7 +353,7 @@
     elif getos() == OSName.DEBIAN and python_apt:
         KEY_PACKAGES = {'qemu-kvm': 'qemu-kvm', 'qemu-img': 'qemu-utils',
                         'vdsm': 'vdsmd', 'spice-server': 'libspice-server1',
-                        'libvirt': 'libvirt0'}
+                        'libvirt': 'libvirt0', 'mom': 'nom'}
 
         cache = apt.Cache()
 
diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json
index cf6ca1f..6591410 100644
--- a/vdsm_api/vdsmapi-schema.json
+++ b/vdsm_api/vdsmapi-schema.json
@@ -706,10 +706,13 @@
 #
 # @libvirt:       Low level virtualization API
 #
+# @mom:           Dynamically manage system resources on virtualization hosts
+#
 # Since: 4.10.0
 ##
 {'enum': 'SoftwarePackage',
- 'data': ['kernel', 'qemu-kvm', 'qemu-img', 'vdsm', 'spice-server', 'libvirt']}
+ 'data': ['kernel', 'qemu-kvm', 'qemu-img', 'vdsm', 'spice-server', 'libvirt',
+          'mom']}
 
 ##
 # @SoftwarePackageInfo:


--
To view, visit http://gerrit.ovirt.org/9286
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I764e48f6df33d6e46f89ca8b7324b0e5e8d146f6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to