If you have deployed VMware Integrated OpenStack with NSX Data Center for vSphere, you can specify an NSX-T Data Center back end for certain projects in your deployment.

Important: This process will update your custom.yml file or automatically generate a custom.yml file if the file does not exist in your environment. After running the viocli enable-tvd command, do not delete custom.yml or your configuration will be discarded. For more information, see viocli enable-tvd Command.

Prerequisites

  • Deploy VMware Integrated OpenStack with NSX Data Center for vSphere networking.
  • Deploy NSX-T Data Center and obtain the following parameters:
    • IP address of the NSX Manager
    • Username and password to access the NSX Manager
    • Overlay transport zone
    • VLAN transport zone
    • Tier-0 router
    • DHCP profile
    • Metadata proxy server

Procedure

  1. Create compute clusters for any projects that you want to use NSX-T Data Center and configure those clusters as transport nodes in your NSX-T Data Center environment.
    A compute cluster cannot be part of an NSX Data Center for vSphere and NSX-T Data Center deployment at the same time.
  2. Log in to the OpenStack Management Server as viouser.
  3. Enable the TVD plugin.
    sudo viocli enable-tvd --nsx-mgr manager-ip --nsx-user username --nsx-passwd password [--nsx-insecure {true | false}] [--nsx-ca-file ca-file] [--nsx-overlay-tz overlay-zone] [--nsx-vlan-tz vlan-zone] [--nsx-tier0-rt t0-router] [--nsx-dhcp-profile profile] [--nsx-md-proxy mdp-server]
    Option Description
    --nsx-mgr

    Enter the IP address of the NSX Manager of your NSX-T Data Center deployment.

    --nsx-user

    Enter the user name of the NSX Manager administrator.

    --nsx-passwd

    Enter the password for the NSX Manager administrator.

    --nsx-insecure {true | false}

    Specify whether to verify the certificate of the NSX Manager server. The default value is true.

    --nsx-ca-file

    Specify the CA bundle file to use in verifying the certificate of the NSX Manager server.

    This parameter is ignored if you set --nsx-insecure to true.

    --nsx-overlay-tz

    Enter the name or UUID of the default NSX-T Data Center overlay transport zone used for creating tunneled isolated Neutron networks.

    --nsx-vlan-tz

    Enter the name or UUID of the default NSX-T Data Center VLAN transport zone used for bridging between Neutron networks if no physical network has been specified.

    --nsx-tier0-rt

    Enter the name or UUID of the default tier-0 router used to connect to tier-1 logical routers and configure external networks.

    --nsx-dhcp-profile

    Enter the name or UUID of the NSX-T Data Center DHCP profile used to enable native DHCP service.

    --nsx-md-proxy

    Enter the name or UUID of the NSX-T Data Center metadata proxy server used to enable native metadata service.

  4. Map existing projects to your NSX-T Data Center or NSX Data Center for vSphere back end.
    • To create project mappings from the OpenStack Management Server CLI, run the following command:
      openstack project plugin create project-uuid --plugin {nsx-v | nsx-t}
    • To create project mappings from the VMware Integrated OpenStack dashboard, perform the following steps:
      1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator and select the admin project from the drop-down menu in the title bar.
      2. Select Admin > Project > Project Plugin Mapping.
      3. Click Create Project Mapping.
      4. Specify the desired project and back end and click Submit.

    Projects without a mapping use the NSX Data Center for vSphere back end by default.