Vinzenz Feenstra has uploaded a new change for review.

Change subject: Update of the guest memory stats schema
......................................................................

Update of the guest memory stats schema

Newer guest agent versions are now additionally reporting swap stats. This
needs to be reflected in the schema.

Change-Id: Ic6326ecac58e459cc73b87274cb18e8a3cf2ab41
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1025845
Signed-off-by: Vinzenz Feenstra <vfeen...@redhat.com>
---
M vdsm_api/vdsmapi-schema.json
1 file changed, 19 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/59/20959/1

diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json
index 72848f8..a6469fb 100644
--- a/vdsm_api/vdsmapi-schema.json
+++ b/vdsm_api/vdsmapi-schema.json
@@ -5265,27 +5265,37 @@
 #
 # Memory statistics as reported by the guest agent.
 #
-# @mem_total:   The total amount of memory available to the OS (in KiB)
+# @mem_total:               The total amount of memory available to the OS
+#                           (in KiB)
 #
-# @mem_unused:  The amount of memory that is completely unused (in KiB)
+# @mem_unused:              The amount of memory that is completely unused
+#                           (in KiB)
 #
-# @mem_free:    The amount of memory available for allocation in KiB (includes
-#               easily reclaimable memory)
+# @mem_free:                The amount of memory available for allocation in
+#                           KiB (includes easily reclaimable memory)
 #
-# @swap_in:     The number of memory pages swapped in since the last collection
+# @swap_in:                 The number of memory pages swapped in since the
+#                           last collection
 #
-# @swap_out:    The number of memory pages swapped out since the last 
collection
+# @swap_out:                The number of memory pages swapped out since the
+#                           last collection
 #
-# @pageflt:     The number of page faults since the last collection
+# @pageflt:                 The number of page faults since the last collection
 #
-# @majflt:      The number of major page faults since the last collection
+# @majflt:                  The number of major page faults since the last
+#                           collection
+#
+# @swap_total: #optional    The total amount of swap space available to the OS
+#                           (in KiB)
+#
+# @swap_usage: #optional    The amount of swap space used by the OS (in KiB)
 #
 # Since: 4.10.0
 ##
 {'type': 'GuestMemoryStats',
  'data': {'mem_total': 'str', 'mem_unused': 'str', 'mem_free': 'str',
           'swap_in': 'uint', 'swap_out': 'uint', 'pageflt': 'uint',
-          'majflt': 'uint'}}
+          'majflt': 'uint', '*swap_total': 'str', '*swap_usage': 'str'}}
 
 ##
 # @BalloonInfo:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6326ecac58e459cc73b87274cb18e8a3cf2ab41
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeen...@redhat.com>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to