In a leaf-spine data center architecture, the OpenStack Compute cluster cannot access VMs on a VLAN. You can overcome this technical limitation by creating a VXLAN network and L2 VXLAN and VLAN bridge.

Prerequisites

Verify that a VDS port group is available for the VXLAN network configuration.

Procedure

  1. Using SSH, log in as administrator to the VMware Integrated OpenStack manager.
  2. Using SSH, log in to the controller01 node.
  3. Create the logical L2 gateway on Neutron.
    • If your version is VMware Integrated OpenStack 3.0 or older, use the neutron-l2gw l2-gateway-create command.

    neutron-l2gw l2-gateway-create <gateway-name> \
    --device name=<device-name1>,interface_names="<interface-name1>[|<seg-id1>]"
    • If your version is VMware Integrated OpenStack 3.1 or later, use the l2-gateway-create command.

    l2-gateway-create <gateway-name> \
    --device name=<device-name1>,interface_names="<interface-name1>[|<seg-id1>]"

    Option

    Description

    <gateway-name>

    Specifies the name of the new gateway.

    <device-name1>

    Specifies the device name. This is a dummy name. The NSX plug-in creates a dedicated DLR.

    <interface-name1>

    Specifies the distributed port group MOB ID as the interface name.

    <seg-id1>

    Specifies the distributed port group segmentation ID.

    From the backup edge pool, NSX creates a dedicated DLR called L2 bridging-{gateway-id}.

  4. Create the logical L2 gateway connection on Neutron.
    • If your version is VMware Integrated OpenStack 3.0 or older, use the neutron-l2gw l2-gateway-connection-create command.

    neutron-l2gw l2-gateway-connection-create <gateway-name/uuid> <network-name/uuid> \
    [--default-segmentation-id=<seg-id>]
    • If your version is VMware Integrated OpenStack 3.1 or later, use the l2-gateway-connection-create command.

    l2-gateway-connection-create <gateway-name/uuid> <network-name/uuid> \
    [--default-segmentation-id=<seg-id>]

    Option

    Description

    <gateway-name/uuid>

    Specifies the name of the existing gateway.

    <network-name/uuid>

    Specifies the network name. This is a dummy name. The NSX plug-in creates a dedicated DLR.

    <default-segmentation-id=seg-id1>

    Specifies the default distributed port group segmentation ID.

    This operation connects the OpenStack network with the Provider VLAN network.