WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] CA-41171: anyone should be able to access http/get_hos

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] CA-41171: anyone should be able to access http/get_host_rrd
From: Marcus Granado <marcus.granado@xxxxxxxxxx>
Date: Thu, 27 May 2010 12:16:18 +0100
Delivery-date: Thu, 27 May 2010 04:18:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
 ocaml/idl/datamodel.ml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


# HG changeset patch
# User Marcus Granado <marcus.granado@xxxxxxxxxx>
# Date 1274958280 -3600
# Node ID 912974f795717300c85919aa4c623b12c9dd58eb
# Parent  d495a32dab0b50cca663a223904f5c511b30c505
CA-41171: anyone should be able to access http/get_host_rrd

otherwise historical performance data of hosts is only available to pool* 
subjects.

Signed-off-by: Marcus Granado <marcus.granado@xxxxxxxxxxxxx>

diff -r d495a32dab0b -r 912974f79571 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml
+++ b/ocaml/idl/datamodel.ml
@@ -6126,7 +6126,7 @@
                         [String_query_arg "entries"; String_query_arg 
"output"], _R_POOL_OP, []));
   ("get_vm_rrd", (Get, Constants.vm_rrd_uri, true, [String_query_arg "uuid"], 
_R_READ_ONLY, []));
   ("put_rrd", (Put, Constants.rrd_put_uri, false, [], _R_POOL_ADMIN, []));
-  ("get_host_rrd", (Get, Constants.host_rrd_uri, true, [Bool_query_arg 
"json"], _R_POOL_OP, []));
+  ("get_host_rrd", (Get, Constants.host_rrd_uri, true, [Bool_query_arg 
"json"], _R_READ_ONLY, []));
   ("get_rrd_updates", (Get, Constants.rrd_updates, true,
                       [Int64_query_arg "start"; String_query_arg "cf"; 
Int64_query_arg "interval";
                        Bool_query_arg "host"; String_query_arg "uuid"; 
Bool_query_arg "json"], _R_READ_ONLY, []));

Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] CA-41171: anyone should be able to access http/get_host_rrd, Marcus Granado <=