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

Note: The NSX-T Policy Plugin does not support the Layer 2 bridge.

Prerequisites

In NSX-T Data Center, create an edge bridge profile. See Create an Edge Bridge Profile in the NSX-T Administration Guide.

Procedure

  1. Log in to the Integrated OpenStack Manager as the root user.
    ssh root@mgmt-server-ip
  2. Open the toolbox and set the password for the admin account.
    toolbox
    export OS_PASSWORD=admin-account-password
  3. Create a logical Layer 2 gateway,
    neutron l2-gateway-create gateway-name --device name=edge-cluster-uuid,interface_names="temp"
    For the edge-cluster-uuid value, enter the UUID of the NSX Edge cluster for which you configured the edge bridge profile.
    Note:

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

  4. 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.