Fabric Workflow - kratna888/Contrail_Command GitHub Wiki

Discovering the Data Center Fabric

Note: During early field trials, it is advised to use the Chrome browser for the operations below. If using Chrome on a Mac, the window may need to be resized to display the full UI (if you don't see the interfaces column during the device discovery, use the View->Zoom Out to get to 80%)

Step 0: Goto Fabric Menu

Step 1: Create Fabric , Namespace , add Credentials

Add two names spaces

  1. IPV4 address family (e.g. ns-ipv4 ) with a tag=CIDR
  2. bgp-as (e.g. ns-asn) with a tag=ASN

Note: the IPv4 ns is the management subnet that Command will use to discover the fabric devices. The ASN is the overlay ASN which will be used to build the overlay.

Step 3: Discover

click on discover button , at the bottom of the UI , you will see a message notification when the discovery is complete.

PLEASE NOTE : The tag is a MANDATORY parameter

PLEASE NOTE: Currently , the discovery has an issue where it lists the same device twice, or wrong device name. Please apply the following patch .

https://github.com/kratna888/Contrail_Command/wiki/Discovery-Patch

Step 2: On-board

Select all the nodes and click on on-boarding

Once the boarding is complete , you will see the number of interfaces on the 4th column. A message notification will pop up at the bottom of the UI

Step 3: Configure

Select all the nodes and click on configure - For instance, provide time_zone = US/pacific for DC in Sunnyvale, CA.

Step 4: role assignment

Select one node at a time and assign the role accordingly role = leaf , role = spine

Step 5: Create VN

Note: there is a known issue with database sync which may cause VN creation to fail. If this happens, go to the old UI and create a VN from there. e.g.

 https:// <contrail-ip> :8143 

Step 6: Add Servers

In the Servers menu - add physical servers .

Currently we support NoLCM mode ( LCM mode will be supported in the future ) - while creating the BMS instance - select existing server ( 3rd option ) select the leaf node that is connected to the BMS along with the interface that is connecting the leaf to the BMS.

Step 7: Associate CSN to the leaf nodes

edit leaf nodes and associate the CSN node

Step 8:

Case 1: if dynamic IP is needed for the BMS instance

spawn the BMS instance

Log into BMS and do dhclient for the interface that require IP.

Case 2: For an existing workload , if the IP needs to be retained

Log into the Contrail-Web UI , Goto Physical Interfaces , add the logical interface, server MAC and the IP ( IP on the workload load)

Spawn the BMS instance