在这个版本中,OpenStack Compute 会创建并注入一个额外的元数据文件,它允许客户机基于标签(tag)来识别实例。如设备类型、设备地址、MAC 地址或驱动序列字符串、网络或磁盘的设备名。
{ "devices": [ {
"type": "nic",
"bus": "pci",
"address": "0000:00:02.0",
"mac": "01:22:22:42:22:21",
"tags": ["nfvfunc1"]
}, {
"type": "disk",
"bus": "scsi",
"address": "1:0:2:0",
"serial": "disk-vol-2352423",
"tags": ["dbvolume"]
}
}
{ "devices": [ {
"type": "nic",
"bus": "pci",
"address": "0000:00:02.0",
"mac": "01:22:22:42:22:21",
"tags": ["nfvfunc1"]
}, {
"type": "disk",
"bus": "scsi",
"address": "1:0:2:0",
"serial": "disk-vol-2352423",
"tags": ["dbvolume"]
}
}
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow