cloudpods icon indicating copy to clipboard operation
cloudpods copied to clipboard

Use queryable ExternalID for VMware resources

Open rainzm opened this issue 5 years ago • 0 comments

What would you like to be added:

为 VMware 的资源使用可查询的 ExternalID,简单来说,使用 ExternalID 可以直接调用 VMware api查询对应的资源。

Why is this needed:

VMware 资源的 ExternalID 不可查询,举个例子,Yunion OneCloud 的 storage 对应 VMware 的 datastore,storage 中存储了 datastore 的 ID,称之为 ExternalID,但是通过 ExternalID 去查询 datastore 的方式是:列出所有的 datastore,进行ID的比对。 这是一个非常低效的方式,究其原因就是 VMware 资源的 ExternalID 不可查询。

rainzm avatar Dec 01 '20 10:12 rainzm