Stefan Berger
2007-Dec-04 23:23 UTC
[Xen-devel] [PATCH] [Xend/Xm/ACM] [RESEND] [1/2] Implement legacy XML-RPC interface for ACM commands
This time with a gzipp''ed patch attached. This patch implements a (non Xen-API) legacy XML-RPC interface for the ACM commands and funnels the calls into code introduced by the Xen-API support for ACM security management. Since some of the functionality has changed, also the xm applications have changed. In particular the following old commands have been removed along with some tools the have become obsolete now: - loadpolicy (included in: setpolicy) - makepolicy (included in: setpolicy) - cfgbootpolicy (included in: setpolicy) and the following commands been introduced: - setpolicy - getpolicy - resetpolicy All tools have been adapted to work in Xen-API and legacy XML-RPC mode. Both modes support the same functionality. An update to the documentation will follow as well as new test cases. I have run this and the 2nd patch with the xm-test suite on the tip of the staging tree and they caused no regressions. Signed-off-by: Stefan Berger <stefanb@us.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Syunsuke HAYASHI
2007-Dec-05 09:35 UTC
Re: [Xen-devel] [PATCH] [Xend/Xm/ACM] [RESEND] [1/2] Implement legacy XML-RPC interface for ACM commands
Hi, I applied these patches. -security_commands_through_xend.diff -xend_acm_new_storage_path.diff These patches fix the following problem. Before applying these patches: # xm labels type=any __NULL_LABEL__ <--------__NULL_LABEL__?? dom_BoincClient dom_Fun dom_HomeBanking dom_NetworkDomain dom_StorageDomain res_EthernetCard res_GraphicsAdapter res_HardDrive(hda) res_LogicalDiskPartition1(hda1) res_LogicalDiskPartition2(hda2) res_ManagementResource res_SecurityToken After applying these patches: # xm labels type=any SystemManagement dom_BoincClient dom_Fun dom_HomeBanking dom_NetworkDomain dom_StorageDomain res_EthernetCard res_GraphicsAdapter res_HardDrive(hda) res_LogicalDiskPartition1(hda1) res_LogicalDiskPartition2(hda2) res_ManagementResource res_SecurityToken Thanks Syunsuke HAYASHI Stefan Berger wrote:> This time with a gzipp''ed patch attached. > > This patch implements a (non Xen-API) legacy XML-RPC interface for the > ACM commands and funnels the calls into code introduced by the Xen-API > support for ACM security management. Since some of the functionality has > changed, also the xm applications have changed. In particular the > following old commands have been removed along with some tools the have > become obsolete now: > > - loadpolicy (included in: setpolicy) > - makepolicy (included in: setpolicy) > - cfgbootpolicy (included in: setpolicy) > > and the following commands been introduced: > > - setpolicy > - getpolicy > - resetpolicy > > All tools have been adapted to work in Xen-API and legacy XML-RPC mode. > Both modes support the same functionality. > > An update to the documentation will follow as well as new test cases. > > I have run this and the 2nd patch with the xm-test suite on the tip of > the staging tree and they caused no regressions. > > Signed-off-by: Stefan Berger <stefanb@us.ibm.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel