You can create a Layer 2 bridge in NSX-T Data Center through a bridge cluster.

Prerequisites

In NSX-T Data Center, create a bridge cluster that includes two dedicated ESXi hosts. See Create a Bridge Cluster in the NSX-T Administration Guide.

Procedure

  1. Log in to the OpenStack Management Server as viouser.
  2. Log in to the controller node as viouser.
  3. Switch to the root user and load the cloud administrator credentials file.
    sudo su -
    source ~/cloudadmin.rc
  4. Create a logical Layer 2 gateway, specifying the UUID of the NSX-T Data Center bridge cluster as the device name.
    neutron l2-gateway-create gateway-name --device name=bridge-cluster-uuid,interface_names="temp"

    The interface name value is ignored, and the name is automatically assigned.

  5. Create the logical Layer 2 gateway connection using the gateway created in the previous step.
    neutron l2-gateway-connection-create gateway-name network-name --default-segmentation-id=vlan-id

Results

Compute nodes on the overlay network can now access the specified VLAN.