Skip to contentSkip to conversation

Implement legacy XML-RPC interface for ACM commands

PATCH RESEND In review Stefan Berger 2 participants 2 messages Dec 4, 2007 – Dec 5, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 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.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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

Quoted 36 lines · Stefan Berger

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.

------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel