清单

iSCSI服务器清单(IscsiServer inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.0.0
name 请参见 资源属性 3.0.0
ip IP地址 3.0.0
port 端口 3.0.0
chapUserName CHAP用户名 3.0.0
chapUserPassword CHAP密码 3.0.0
state 启用状态 3.0.0
iscsiTargets 3.0.0
iscsiClusterRefs iscsi服务器所属的集群 3.0.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.0.0
createDate 请参见 资源属性 3.0.0
lastOpDate 请参见 资源属性 3.0.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.0.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.0.0
示例
{
    "inventories": [
        {
            "createDate": "Sep 7, 2018 10:57:05 AM",
            "ip": "192.168.1.2",
            "iscsiClusterRefs": [],
            "iscsiTargets": [],
            "lastOpDate": "Sep 7, 2018 2:16:26 PM",
            "name": "iscsi-11",
            "port": 3260,
            "state": "Enabled",
            "uuid": "28ffe53fca5b4af9bcf0e53a02a739e8"
        },
        {
            "createDate": "Sep 7, 2018 2:26:27 PM",
            "ip": "172.20.196.239",
            "iscsiClusterRefs": [],
            "iscsiTargets": [
                {
                    "createDate": "Sep 7, 2018 2:28:20 PM",
                    "iqn": "iqn.2018-06.org.disk1",
                    "iscsiLuns": [
                        {
                            "createDate": "Sep 7, 2018 2:28:20 PM",
                            "hctl": "3:0:0:0",
                            "iscsiTargetUuid": "14a6100d78d942bd8929cc268975f102",
                            "lastOpDate": "Sep 7, 2018 2:28:20 PM",
                            "model": "blkvdb",
                            "path": "ip-172.20.196.239:3260-iscsi-iqn.2018-06.org.disk1-lun-0",
                            "serial": "6001405f169fb0109a946489a5cbb813",
                            "size": 322122547200,
                            "type": "disk",
                            "uuid": "f423330a423649d9b07fe4d86a65d582",
                            "vendor": "LIO-ORG",
                            "wwid": "lvm-pv-uuid-FkDvRu-meu7-RH2K-69zA-C8kU-tEnW-uWPDnv",
                            "wwn": "0x6001405f169fb010"
                        }
                    ],
                    "lastOpDate": "Sep 7, 2018 2:28:20 PM",
                    "uuid": "14a6100d78d942bd8929cc268975f102"
                }
            ],
            "lastOpDate": "Sep 7, 2018 2:26:27 PM",
            "name": "iscsi-0",
            "port": 3260,
            "state": "Enabled",
            "uuid": "ca5819d1c31341e7b61d08a94f769503"
        }
    ],
    "success": true
}

iSCSI磁盘清单(IscsiLun inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.0.0
iscsiTargetUuid iSCSI目标UUID 3.0.0
wwid 唯一识别ID 3.0.0
vendor 设备供应商 3.0.0
model 设备型号 3.0.0
wwn 设备WWN 3.0.0
serial 设备序列号 3.0.0
hctl SCSI设备HCTL 3.0.0
type 设备类型 3.0.0
path 设备路径 3.0.0
size 设备大小 3.0.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.0.0
createDate 请参见 资源属性 3.0.0
lastOpDate 请参见 资源属性 3.0.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.0.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.0.0
示例
{
    "inventories": [
        {
            "createDate": "Sep 7, 2018 2:28:20 PM",
            "hctl": "3:0:0:0",
            "iscsiTargetUuid": "14a6100d78d942bd8929cc268975f102",
            "lastOpDate": "Sep 7, 2018 2:28:20 PM",
            "model": "blkvdb",
            "path": "ip-172.20.196.239:3260-iscsi-iqn.2018-06.org.disk1-lun-0",
            "serial": "6001405f169fb0109a946489a5cbb813",
            "size": 322122547200,
            "type": "disk",
            "uuid": "f423330a423649d9b07fe4d86a65d582",
            "vendor": "LIO-ORG",
            "wwid": "lvm-pv-uuid-FkDvRu-meu7-RH2K-69zA-C8kU-tEnW-uWPDnv",
            "wwn": "0x6001405f169fb010"
        }
    ],
    "success": true
}

FC SAN存储清单(FiberChannelStorage inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.1.0
wwnn 设备WWNN 3.1.0
fiberChannelLuns 3.1.0
name 请参见 资源属性 3.1.0
state 启用状态 3.1.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.1.0
createDate 请参见 资源属性 3.1.0
lastOpDate 请参见 资源属性 3.1.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.1.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.1.0
示例
{
    "inventories": [
        {
            "createDate": "Oct 30, 2018 1:27:38 PM",
            "fiberChannelLuns": [
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36b083fe000daf018000094d05bd78d4f",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-6",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "994ddaad4fe34f14b7bd4153b931fac5"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "994ddaad4fe34f14b7bd4153b931fac5"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [
                        {
                            "attachMultipath": true,
                            "createDate": "Oct 30, 2018 4:33:44 PM",
                            "deviceId": 1,
                            "lastOpDate": "Oct 30, 2018 4:33:44 PM",
                            "scsiLunUuid": "994ddaad4fe34f14b7bd4153b931fac5",
                            "vmInstanceUuid": "00905b289c3c464294d006810270c658"
                        }
                    ],
                    "serial": "6b083fe000daf018000094d05bd78d4f",
                    "size": 107374182400,
                    "type": "mpath",
                    "uuid": "994ddaad4fe34f14b7bd4153b931fac5",
                    "vendor": "DELL",
                    "wwid": "36b083fe000daf018000094d05bd78d4f",
                    "wwn": "0x6b083fe000daf018"
                },
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36f01faf000d5c3e700008c655bd792a8",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-5",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "4e75b3a57cc44c27bd27be9bbe3378d8"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "4e75b3a57cc44c27bd27be9bbe3378d8"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6f01faf000d5c3e700008c655bd792a8",
                    "size": 107374182400,
                    "type": "mpath",
                    "uuid": "4e75b3a57cc44c27bd27be9bbe3378d8",
                    "vendor": "DELL",
                    "wwid": "36f01faf000d5c3e700008c655bd792a8",
                    "wwn": "0x6f01faf000d5c3e7"
                },
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36b083fe000daf018000094ca5bd78cb2",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-0",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "efcd656ffcaf4ad18fc21f9b310b79a7"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "efcd656ffcaf4ad18fc21f9b310b79a7"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6b083fe000daf018000094ca5bd78cb2",
                    "size": 536870912000,
                    "type": "mpath",
                    "uuid": "efcd656ffcaf4ad18fc21f9b310b79a7",
                    "vendor": "DELL",
                    "wwid": "36b083fe000daf018000094ca5bd78cb2",
                    "wwn": "0x6b083fe000daf018"
                },
                {
                    "createDate": "Oct 30, 2018 5:14:37 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 5:14:37 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36f01faf000d5c3e700008c5f5bd78864",
                    "path": "pci-0000:05:00.1-fc-0x2033b083fedaf018-lun-71",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 5:14:37 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 5:14:37 PM",
                            "scsiLunUuid": "ddf2215d9d5747b891cfee71cab09e71"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6f01faf000d5c3e700008c5f5bd78864",
                    "size": 10995116277760,
                    "type": "mpath",
                    "uuid": "ddf2215d9d5747b891cfee71cab09e71",
                    "vendor": "DELL",
                    "wwid": "36f01faf000d5c3e700008c5f5bd78864",
                    "wwn": "0x6f01faf000d5c3e7"
                },
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36b083fe000daf018000094ce5bd78d1f",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-4",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "137b5e7d6af34930bd5cea31abff71fe"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "137b5e7d6af34930bd5cea31abff71fe"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6b083fe000daf018000094ce5bd78d1f",
                    "size": 107374182400,
                    "type": "mpath",
                    "uuid": "137b5e7d6af34930bd5cea31abff71fe",
                    "vendor": "DELL",
                    "wwid": "36b083fe000daf018000094ce5bd78d1f",
                    "wwn": "0x6b083fe000daf018"
                },
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36b083fe000daf018000094cc5bd78cf5",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-2",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "9217164a150542b9887b5df6448c42f3"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "9217164a150542b9887b5df6448c42f3"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6b083fe000daf018000094cc5bd78cf5",
                    "size": 107374182400,
                    "type": "mpath",
                    "uuid": "9217164a150542b9887b5df6448c42f3",
                    "vendor": "DELL",
                    "wwid": "36b083fe000daf018000094cc5bd78cf5",
                    "wwn": "0x6b083fe000daf018"
                },
                {
                    "createDate": "Oct 30, 2018 5:14:37 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 5:14:37 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36b083fe000daf018000093115bd0662b",
                    "path": "pci-0000:05:00.1-fc-0x2033b083fedaf018-lun-30",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 5:14:37 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 5:14:37 PM",
                            "scsiLunUuid": "8154341bea594933866d703bfed2515c"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6b083fe000daf018000093115bd0662b",
                    "size": 1099511627776,
                    "type": "mpath",
                    "uuid": "8154341bea594933866d703bfed2515c",
                    "vendor": "DELL",
                    "wwid": "36b083fe000daf018000093115bd0662b",
                    "wwn": "0x6b083fe000daf018"
                },
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36f01faf000d5c3e700008c615bd7924a",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-1",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "8a28ce7536724f88a17f73ea200ad8a5"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "8a28ce7536724f88a17f73ea200ad8a5"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6f01faf000d5c3e700008c615bd7924a",
                    "size": 536870912000,
                    "type": "mpath",
                    "uuid": "8a28ce7536724f88a17f73ea200ad8a5",
                    "vendor": "DELL",
                    "wwid": "36f01faf000d5c3e700008c615bd7924a",
                    "wwn": "0x6f01faf000d5c3e7"
                },
                {
                    "createDate": "Oct 30, 2018 1:27:38 PM",
                    "fiberChannelStorageUuid": "360338582fef4454bebdc76e8974ceb7",
                    "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                    "model": "MD32xx",
                    "name": "fc-lun-36f01faf000d5c3e700008c635bd79280",
                    "path": "pci-0000:05:00.0-fc-0x2022b083fedaf018-lun-3",
                    "scsiLunHostRefs": [
                        {
                            "createDate": "Oct 30, 2018 1:41:46 PM",
                            "hostUuid": "349bcc9f66204e5fbc466ae42261ddf5",
                            "lastOpDate": "Oct 30, 2018 1:41:46 PM",
                            "scsiLunUuid": "68fe12895449439eab9c9e12544d571f"
                        },
                        {
                            "createDate": "Oct 30, 2018 1:27:38 PM",
                            "hostUuid": "d03ea736cc534c7b8605d864ea24deae",
                            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
                            "scsiLunUuid": "68fe12895449439eab9c9e12544d571f"
                        }
                    ],
                    "scsiLunVmInstanceRefs": [],
                    "serial": "6f01faf000d5c3e700008c635bd79280",
                    "size": 107374182400,
                    "type": "mpath",
                    "uuid": "68fe12895449439eab9c9e12544d571f",
                    "vendor": "DELL",
                    "wwid": "36f01faf000d5c3e700008c635bd79280",
                    "wwn": "0x6f01faf000d5c3e7"
                }
            ],
            "lastOpDate": "Oct 30, 2018 1:27:38 PM",
            "name": "fc-san-0x2002b083fedaf018",
            "state": "Enabled",
            "uuid": "360338582fef4454bebdc76e8974ceb7",
            "wwnn": "0x2002b083fedaf018"
        }
    ],
    "success": true
}

SCSI Lun清单(SCSI Lun inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.2.0
name 请参见 资源属性 3.2.0
wwid 磁盘全局唯一表示 3.2.0
vendor 磁盘供应商 3.2.0
model 磁盘型号 3.2.0
wwn 磁盘WWN 3.2.0
serial 磁盘序列号 3.2.0
type 磁盘类型 3.2.0
path 磁盘路径 3.2.0
state 磁盘启用状态 3.2.0
size 磁盘大小 3.2.0
scsiLunHostRefs 拥有SCSI块设备的物理机列表 3.2.0
scsiLunVmInstanceRefs 挂载SCSI块设备的云主机列表 3.2.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.2.0
createDate 请参见 资源属性 3.2.0
lastOpDate 请参见 资源属性 3.2.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.2.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.2.0
示例
{
  "inventories": [
    {
      "name": "fc-lun-36b083fe000daf018000022905ba35d8f",
      "uuid": "6f2428969262315488684c85e14eded2",
      "wwid": "36b083fe000daf018000022905ba35d8f",
      "vendor": "DELL",
      "model": "MD32xx",
      "wwn": "0x6f01faf000d5c3e7",
      "serial": "6b083fe000daf018000015505abbe00a",
      "type": "mpath",
      "path": "pci-0000:05:00.0-fc-0x2012b083fedaf018-lun-11",
      "size": 5.49755813888E12,
      "scsiLunHostRefs": [
        {
          "id": 1.0,
          "scsiLunUuid": "6f2428969262315488684c85e14eded2",
          "hostUuid": "0b756ca2d3843412860b7ec1b9315dd4",
          "createDate": "Nov 14, 2017 10:20:57 PM"
        }
      ],
      "scsiLunVmInstanceRefs": [],
      "createDate": "Nov 14, 2017 10:20:57 PM",
      "lastOpDate": "Nov 14, 2017 10:20:57 PM"
    },
    {
      "name": "iscsi-lun-scsi-14f504e46494c45524d5342436a6c2d4a4443672d30593032",
      "uuid": "7bfde6b8e5503606849a4f3781bc02d7",
      "wwid": "scsi-14f504e46494c45524d5342436a6c2d4a4443672d30593032",
      "vendor": "OPNFILER",
      "model": "VIRTUAL-DISK",
      "serial": "4f504e46494c45524d5342436a6c2d4a4443672d30593032",
      "type": "disk",
      "path": "ip-10.0.104.213:3260-iscsi-iqn.2018-09.io.cloud:tsn.0000003-lun-0",
      "size": 5.49755813888E12,
      "scsiLunHostRefs": [],
      "scsiLunVmInstanceRefs": [],
      "createDate": "Nov 14, 2017 10:20:57 PM",
      "lastOpDate": "Nov 14, 2017 10:20:57 PM"
    }
  ]
}