[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [XM] "xm labels type=any" command error ?



Hi,

When xen-api is not effective and "xm labels type=any" command is input,
the output is wrong.
(Xen-api is correctly output when it is effective. )

Which result is correct?


The result is shown as follows.
--------When xen-api is not effective-------
# xm labels type=any
__NULL_LABEL__ <--------__NULL_LABEL__??
dom_BoincClient
dom_Fun
dom_HomeBanking
dom_NetworkDomain
dom_StorageDomain
dom_SystemManagement
res_EthernetCard
res_GraphicsAdapter
res_HardDrive(hda)
res_ImageFile1
res_ImageFile2
res_LogicalDiskPartition1(hda1)
res_LogicalDiskPartition2(hda2)
res_ManagementResource

--------When xen-api is not effective-------
# xm labels type=any
dom_BoincClient
dom_Fun
dom_HomeBanking
dom_NetworkDomain
dom_StorageDomain
dom_SystemManagement
res_EthernetCard
res_GraphicsAdapter
res_HardDrive(hda)
res_ImageFile1
res_ImageFile2
res_LogicalDiskPartition1(hda1)
res_LogicalDiskPartition2(hda2)
res_ManagementResource
-------------------------------------------

#cat /etc/xen/acm-security/policies/example/client_v1.map
POLICYREFERENCENAME    example.client_v1
MAGIC                  0001debc
POLICFILE
/etc/xen/acm-security/policies/example/client_v1-security_policy.xml
BINARYFILE             /etc/xen/acm-security/policies/example/client_v1.bin
MAX-CHWALL-TYPES       00000004
MAX-CHWALL-SSIDS       00000007
MAX-CHWALL-LABELS      00000007
MAX-STE-TYPES          00000006
MAX-STE-SSIDS          0000000f
MAX-STE-LABELS         0000000f

PRIMARY                CHWALL
SECONDARY              STE

LABEL->SSID ANY CHWALL __NULL_LABEL__       0 <------------
LABEL->SSID VM  CHWALL dom_SystemManagement 1
LABEL->SSID VM  CHWALL dom_BoincClient      2
LABEL->SSID VM  CHWALL dom_Fun              3
LABEL->SSID VM  CHWALL dom_HomeBanking      4
LABEL->SSID VM  CHWALL dom_NetworkDomain    5
LABEL->SSID VM  CHWALL dom_StorageDomain    6

LABEL->SSID ANY STE    __NULL_LABEL__       00000000 <------------
LABEL->SSID VM  STE    dom_SystemManagement 1
LABEL->SSID VM  STE    dom_BoincClient      2
LABEL->SSID VM  STE    dom_Fun              3
LABEL->SSID VM  STE    dom_HomeBanking      4
LABEL->SSID VM  STE    dom_NetworkDomain    5
LABEL->SSID VM  STE    dom_StorageDomain    6
LABEL->SSID RES STE    res_EthernetCard     7
LABEL->SSID RES STE    res_GraphicsAdapter  8
LABEL->SSID RES STE    res_HardDrive(hda)   9
LABEL->SSID RES STE    res_ImageFile1       a
LABEL->SSID RES STE    res_ImageFile2       b
LABEL->SSID RES STE    res_LogicalDiskPartition1(hda1) c
LABEL->SSID RES STE    res_LogicalDiskPartition2(hda2) d
LABEL->SSID RES STE    res_ManagementResource e

SSID->TYPE CHWALL      00000000
SSID->TYPE CHWALL      00000001 cw_SystemManagement
SSID->TYPE CHWALL      00000002 cw_Isolated
SSID->TYPE CHWALL      00000003 cw_Distrusted
SSID->TYPE CHWALL      00000004 cw_Sensitive
SSID->TYPE CHWALL      00000005 cw_SystemManagement
SSID->TYPE CHWALL      00000006 cw_SystemManagement

SSID->TYPE STE         00000000
SSID->TYPE STE         00000001 ste_SystemManagement
ste_PersonalFinances ste_InternetInsecure ste_DonatedCycles
ste_PersistentStorageA ste_NetworkAdapter0
SSID->TYPE STE         00000002 ste_DonatedCycles
SSID->TYPE STE         00000003 ste_InternetInsecure
SSID->TYPE STE         00000004 ste_PersonalFinances
SSID->TYPE STE         00000005 ste_NetworkAdapter0 ste_PersonalFinances
ste_InternetInsecure ste_DonatedCycles
SSID->TYPE STE         00000006 ste_PersistentStorageA
ste_PersonalFinances ste_InternetInsecure
SSID->TYPE STE         00000007 ste_NetworkAdapter0
SSID->TYPE STE         00000008 ste_SystemManagement
SSID->TYPE STE         00000009 ste_PersistentStorageA
SSID->TYPE STE         0000000a ste_PersonalFinances
SSID->TYPE STE         0000000b ste_InternetInsecure
SSID->TYPE STE         0000000c ste_PersonalFinances
SSID->TYPE STE         0000000d ste_InternetInsecure
SSID->TYPE STE         0000000e ste_SystemManagement

TYPE CHWALL            cw_Distrusted        0
TYPE CHWALL            cw_Isolated          1
TYPE CHWALL            cw_Sensitive         2
TYPE CHWALL            cw_SystemManagement  3

TYPE STE               ste_DonatedCycles    0
TYPE STE               ste_InternetInsecure 1
TYPE STE               ste_NetworkAdapter0  2
TYPE STE               ste_PersistentStorageA 3
TYPE STE               ste_PersonalFinances 4
TYPE STE               ste_SystemManagement 5

Thanks,

Syunsuke HAYASHI




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.