Skip to content

Commit 3e68ddb

Browse files
shenwen.yinnetweng
authored andcommitted
docs: add 4.6.0 related info
- add pci device related - add GetClusterStorageInfoRequestBody
1 parent ca1a2d9 commit 3e68ddb

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

cloudtower-api-doc/swagger/locales/zh/4.6.0.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,50 +1638,50 @@
16381638
"where": "条件查询,表示查询符合该条件的资源。"
16391639
},
16401640
"PciDeviceMdevState": {
1641-
"enum": ""
1641+
"enum": "* NOT_SUPPORT: 不支持\n* ENABLED:已启用\n* NOT_ENABLED:未启用"
16421642
},
16431643
"PciDevicePartitionState": {
1644-
"enum": ""
1644+
"enum": "* NOT_SUPPORT: 不支持\n* ENABLED:已启用\n* NOT_ENABLED:未启用"
16451645
},
16461646
"PciDeviceSriovState": {
1647-
"enum": ""
1647+
"enum": "* NOT_SUPPORT: 不支持\n* ENABLED:已启用\n* NOT_ENABLED:未启用"
16481648
},
16491649
"PciDeviceType": {
1650-
"enum": ""
1650+
"enum": "* HSM:加密控制器"
16511651
},
16521652
"PciDeviceUsage": {
1653-
"enum": ""
1653+
"enum": "* SRIOV_VF: SR-IOV 直通\n* PASS_THROUGH:PCI 直通\n* MDEV: MDEV 直通"
16541654
},
16551655
"PciDevice": {
1656-
"bus": "",
1657-
"bus_location": "",
1658-
"class_code": "",
1659-
"device_type": "",
1660-
"entityAsyncStatus": "",
1661-
"function_num": "",
1662-
"host": "",
1663-
"id": "",
1664-
"iommu_status": "",
1665-
"local_id": "",
1666-
"mdev_state": "",
1667-
"mdev_type_id": "",
1668-
"name": "",
1669-
"partitioning_state": "",
1670-
"product_id": "",
1671-
"slot": "",
1672-
"sriov_state": "",
1673-
"subsystem_product_id": "",
1674-
"subsystem_vendor_id": "",
1675-
"total_mdev_num": "",
1676-
"total_partitioning_num": "",
1677-
"total_vf_num": "",
1678-
"usage_type": "",
1679-
"used_mdev_num": "",
1680-
"used_partitioning_num": "",
1681-
"used_vf_num": "",
1682-
"user_usage": "",
1683-
"vendor_id": "",
1684-
"verdor_name": ""
1656+
"bus": "总线",
1657+
"bus_location": "总线 ID",
1658+
"class_code": "类 ID",
1659+
"device_type": "PCI 类型",
1660+
"entityAsyncStatus": "异步状态(内部字段)",
1661+
"function_num": "功能号",
1662+
"host": "关联主机",
1663+
"id": "唯一标识",
1664+
"iommu_status": "所属主机 IOMMU 状态",
1665+
"local_id": "UUID",
1666+
"mdev_state": "MDEV 状态",
1667+
"mdev_type_id": "MDEV 类型 ID",
1668+
"name": "名称",
1669+
"partitioning_state": "直通状态",
1670+
"product_id": "设备 ID",
1671+
"slot": "插槽",
1672+
"sriov_state": "SR-IOV 状态",
1673+
"subsystem_product_id": "子设备 ID",
1674+
"subsystem_vendor_id": "子供应商 ID",
1675+
"total_mdev_num": "MDEV 数量",
1676+
"total_partitioning_num": "设备切分数量",
1677+
"total_vf_num": "SR-IOV 直通 VF 数量",
1678+
"usage_type": "设备使用类型",
1679+
"used_mdev_num": "MDEV 已使用数量",
1680+
"used_partitioning_num": "设备切分已使用数量",
1681+
"used_vf_num": "SR-IOV 直通已使用 VF 数量",
1682+
"user_usage": "设备用途",
1683+
"vendor_id": "供应商 ID",
1684+
"verdor_name": "品牌"
16851685
},
16861686
"PciDeviceOrderByInput": {
16871687
"enum": "按照指定方式排列放回数据"
@@ -4604,7 +4604,7 @@
46044604
"enum": ""
46054605
},
46064606
"GetClusterStorageInfoRequestBody": {
4607-
"effect": "",
4607+
"effect": "指定需要获取存储类型的存储策略",
46084608
"where": "条件查询,表示查询符合该条件的资源。"
46094609
},
46104610
"SecurityGroupWhereInput": {
@@ -5033,4 +5033,4 @@
50335033
"description": ""
50345034
}
50355035
}
5036-
}
5036+
}

0 commit comments

Comments
 (0)