第 19 章 配置网络插件

director 包括在配置第三方网络插件时可以使用的环境文件:

19.1. Fujitsu Converged Fabric (C-Fabric)

您可以使用位于 /usr/share/openstack-tripleo-heat-templates/environments/neutron-ml2-fujitsu-cfab.yaml 的环境文件来启用 Fujitsu Converged Fabric (C-Fabric)插件。

流程

  1. 将环境文件复制到您的 模板 子目录中:

    $ cp /usr/share/openstack-tripleo-heat-templates/environments/neutron-ml2-fujitsu-cfab.yaml /home/stack/templates/
  2. 编辑 resource_registry 以使用绝对路径:

    resource_registry:
      OS::TripleO::Services::NeutronML2FujitsuCfab: /usr/share/openstack-tripleo-heat-templates/puppet/services/neutron-plugin-ml2-fujitsu-cfab.yaml
  3. 查看 /home/stack/templates/neutron-ml2-fujitsu-cfab.yaml 中的 parameter_defaults

    • NeutronFujitsuCfabAddress - C-Fabric 的 telnet IP 地址(字符串)
    • NeutronFujitsuCfabUserName - 要使用的 C-Fabric 用户名。(字符串)
    • NeutronFujitsuCfabPassword - C-Fabric 用户帐户的密码。(字符串)
    • NeutronFujitsuCfabPhysicalNetworks - <physical_network>:<vfab_id& gt; tuples 列表,用于指定 physical_network 名称及其对应的 vfab ID。(comma_ separated_list)
    • NeutronFujitsuCfabSharePprofile - 确定是否在使用相同的 VLAN ID 的 neutron 端口间共享 C-Fabric pprofile。(布尔值)
    • NeutronFujitsuCfabPprofilePrefix - pprofile 名称的前缀字符串。(字符串)
    • NeutronFujitsuCfabSaveConfig - 确定是否保存配置。(布尔值)
  4. 要将模板应用到部署,请在 openstack overcloud deploy 命令中包含环境文件:

    $ openstack overcloud deploy --templates -e /home/stack/templates/neutron-ml2-fujitsu-cfab.yaml [OTHER OPTIONS] ...