Creating VNF Service Chains for Inter-LR Traffic
Contrail Networking Release 1912 extends the service chaining functionality to bare metal servers (BMS). In earlier releases, Contrail Networking supports traffic flow between a virtual machine in one virtual network and a virtual machine in another virtual network. However, traffic flow between a virtual machine and BMS through a service chain was not supported. With Release 1912, Contrail Networking supports the movement of inter-LR traffic by using virtual network functions (VNF). This EVPN-based VXLAN (Ethernet VPN-based Virtual Extensible LAN) service chain supports bidirectional traffic flow through a service virtual machine.
VNF service chaining uses EVPN with VXLAN to enable traffic flow between:
Two bare metal servers.
Figure 1: Traffic Flow Between Two Bare Metal ServersFigure 1 shows traffic flowing between two bare metal servers. Each bare metal server is connected to a logical router (virtual routing engine). These logical routers are configured in order to send traffic from the bare metal server in the red virtual network to the bare metal server in the green virtual network, through the service virtual machine.
A bare metal server and a virtual machine.
Figure 2: Traffic Flow Between a Bare Metal Server and a Virtual MachineFigure 2 shows traffic flowing between a bare metal server and a virtual machine. The bare metal server and the virtual machine are connected to logical routers. These logical routers are configured in order to send traffic from the bare metal server in the red virtual network to the virtual machine in the green virtual network, through the service virtual machine.
A virtual machine and a bare metal server.
Figure 3: Traffic Flow Between a Virtual Machine and a Bare Metal ServersFigure 3 shows traffic flowing between a virtual machine and a bare metal server. The virtual machine and the bare metal server and are connected to logical routers. These logical routers are configured in order to send traffic from the virtual machine in the red virtual network to the bare metal server in the green virtual network, through the service virtual machine.
These topics provide instructions to create an EVPN-based VXLAN service chain.
Onboard Devices
Follow these steps to onboard brownfield devices from the Contrail Command user interface (UI):
Create Virtual Network
A virtual network is a collection of endpoints, such as virtual machine instances, that can communicate with each other. You can also connect virtual networks to your on-premises network. A virtual network in a EVPN VXLAN data center corresponds to a bridge domain for one tenant in a multi-tenant data center fabric.
Configuring Virtual Port Groups
This topic describes how to create virtual port groups from Contrail Command UI.
To create virtual port groups:
See Also
Create Logical Routers
A logical router replicates the functions of a physical router. It connects multiple virtual networks. A logical router performs a set of tasks that can be handled by a physical router, and contains multiple routing instances and routing tables.
Follow these steps to create a logical router (LR).
The router_interface object (Virtual Port) is created as part of the LR creation. While planning the Virtual Network IP address scheme, you must be aware that an extra one IP address is required for the router_interface object which gets created automatically.
Create VNF Service Template
Follow these steps to create a service template by using the Contrail Command UI:
Create VNF Service Instance
Follow these steps to add a service instance by using the Contrail Command UI: