Configuring EVPN BMS
Juniper VXLAN-EVPN plug-in supports integration of Bare Metal Server (BMS) into VXLAN-EVPN network. BMS communicates with the OpenStack VMs when it is connected through an OpenStack network.
Juniper plug-in supports integration of BMS into the OpenStack network. This provides accessibility to traditional physical devices from the OpenStack VM. Based on the plug-in configuration, BMS can be integrated into VLAN, VXLAN-EVPN network.
![EVPN BMS Support](../../images/g043588.png)
Supported Devices and JUNOS Version
Juniper EVPN BMS functionality is supported on QFX5100 leaf device with version 14.1X53-D40.
Plugin Configuration
To integrate BMS into the OpenStack network:
Configuration of ML2 VXLAN EVPN plug-in is a prerequisite for this plug-in. For more information on how to configure ML2 VXLAN EVPN, refer Configuring ML2 VXLAN Plug-in with EVPN.
The BMS must be connected to the Leaf device.
From the OpenStack Horizon GUI, select the OpenStack network to be linked with the BMS and provide the switch interface details. This provisions the necessary VLAN configuration on the device interface to establish connection to the OpenStack network and BMS.
By providing the BMS MAC address, an IP address is allocated by the OpenStack DHCP server. By enabling DHCP client on BMS interface, allocated IP address can be obtained from OpenStack.
Figure 2: EVPN BMS Plugin ConfigurationType the following commands to enable BMS GUI on the Horizon dashboard:
On Ubuntu:
usr/lib/python2.7/dist-packages/juniper_bms/openstack_dashboard/enabled/_50_juniper.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/
sudo cp /usr/lib/python2.7/dist-packages/juniper_bms/openstack_dashboard/enabled/_50_juniper.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/
On Centos:
cp /usr/lib/python2.7/site-packages/juniper_bms/openstack_dashboard/enabled/_50_juniper.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/
sudo cp /usr/lib/python2.7/site-packages/juniper_bms/openstack_dashboard/enabled/_50_juniper.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/
Restart the Horizon dashboard.
On the Horizon dashboard, a new Juniper->L2 Gateway tab is displayed as shown in the Figure 3 when the user logs in as admin.
Figure 3: EVPN BMS Plugin ConfigurationUsers can create an L2 Gateway by specifying the switch IP address, wherein the switch must be present in the topology, the interface connecting the BMS, the OpenStack network to be connected to, and optionally the BMS MAC address (required for dhcp to allocate IP address).
Verify whether the BMS is able to communicate with the the OpenStack guest VMs.