搜索

7.242. RegistrationVnicProfileMapping struct

download PDF

将外部虚拟 NIC 配置集映射到 Red Hat Virtualization Manager 中存在的 NIC 配置集。目标可指定为配置文件 ID 或一对配置文件名称和网络名称。

例如,如果所需的虚拟 NIC 配置集映射包括以下行:

源网络名称源网络配置集名称目标虚拟 NIC 配置集 ID\names

红色

gold

738dd914-8ec8-4a8b-8628-34672a5d449b

<empty> (无网络名称)

<empty> (无网络配置集名称)

892a12ec-2028-4451-80aa-ff3bf55d6bac

blue

Silver

orange\copper

黄色

Platinum

<empty> (无配置集)

绿色

bronze

 

然后,应将以下代码片段添加到 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>
表 7.317. 链接摘要
名称类型概述

来自

VnicProfile

对外部网络和外部网络配置文件的引用。

VnicProfile

引用现有虚拟 NIC 配置文件.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.