From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bryan D. Payne" Subject: [PATCH][ACM][UPDATE] python tools and support for resource labeling Date: Wed, 28 Jun 2006 17:28:26 -0400 Message-ID: <44A2F47A.7040205@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070707060308030308000403" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: ewan@xensource.com, sailer@us.ibm.com, bdpayne@us.ibm.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070707060308030308000403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Same as previous patch, except that we no longer use xml marshaling. Signed-off-by: Bryan D. Payne Signed-off-by: Reiner Sailer --------------070707060308030308000403 Content-Type: text/x-patch; name="shype-reslabel-enforce-python-15.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="shype-reslabel-enforce-python-15.diff" --- docs/man/xm.pod.1 | 93 +++++++++++++++++++-- tools/python/xen/util/dictio.py | 50 +++++++++++ tools/python/xen/util/security.py | 98 ++++++++++++++++++++++ tools/python/xen/xend/server/blkif.py | 12 ++ tools/python/xen/xm/addlabel.py | 149 +++++++++++++++++++++++++++------- tools/python/xen/xm/create.py | 59 ++++++++++++- tools/python/xen/xm/dry-run.py | 95 +++++++++++++++++++++ tools/python/xen/xm/getlabel.py | 131 +++++++++++++++++++++++++++++ tools/python/xen/xm/main.py | 28 ++++++ tools/python/xen/xm/resources.py | 61 +++++++++++++ tools/python/xen/xm/rmlabel.py | 130 +++++++++++++++++++++++++++++ 11 files changed, 862 insertions(+), 44 deletions(-) Index: xen-unstable.hg-shype/docs/man/xm.pod.1 =================================================================== --- xen-unstable.hg-shype.orig/docs/man/xm.pod.1 +++ xen-unstable.hg-shype/docs/man/xm.pod.1 @@ -875,14 +875,43 @@ defined in the I. Unless specifi the currently enforced access control policy. The default for I is 'dom'. The labels are arranged in alphabetical order. -=item B I I