7.242. RegistrationVnicProfileMapping struct
将外部虚拟 NIC 配置集映射到 Red Hat Virtualization Manager 中存在的 NIC 配置集。目标可指定为配置文件 ID 或一对配置文件名称和网络名称。
例如,如果所需的虚拟 NIC 配置集映射包括以下行:
源网络名称 | 源网络配置集名称 | 目标虚拟 NIC 配置集 ID\names |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
然后,应将以下代码片段添加到 RegistrationConfiguration
<vnic_profile_mappings> <registration_vnic_profile_mapping> <from> <name>gold</name> <network> <name>red</name> </network> </from> <to id="738dd914-8ec8-4a8b-8628-34672a5d449b"/> </registration_vnic_profile_mapping> <registration_vnic_profile_mapping> <from> <name></name> <network> <name></name> </network> </from> <to id="892a12ec-2028-4451-80aa-ff3bf55d6bac"/> </registration_vnic_profile_mapping> <registration_vnic_profile_mapping> <from> <name>silver</name> <network> <name>blue</name> </network> </from> <to> <name>copper</name> <network> <name>orange</name> </network> </to> </registration_vnic_profile_mapping> <registration_vnic_profile_mapping> <from> <name>platinum</name> <network> <name>yellow</name> </network> </from> <to> <name></name> <network> <name></name> </network> </to> </registration_vnic_profile_mapping> <registration_vnic_profile_mapping> <from> <name>bronze</name> <network> <name>green</name> </network> </from> </registration_vnic_profile_mapping> </vnic_profile_mappings>
名称 | 类型 | 概述 |
---|---|---|
| 对外部网络和外部网络配置文件的引用。 | |
| 引用现有虚拟 NIC 配置文件. |
7.242.1. 来自
对外部网络和外部网络配置文件的引用。这两个都应通过其 名称
来指定。