You may configure the control node by using the script (12_4_open_contrail_control_node.sh):
#!/bin/bash ############################################################################## # Python Network Programming Cookbook, Second Edition -- Chapter - 12 # Adopted from https://github.com/Juniper/contrail-controller/wiki/Install-and-Configure-OpenContrail-1.06 ############################################################################## # Configue the Ubuntu repositories. echo "deb http://ppa.launchpad.net/opencontrail/ppa/ubuntu precise main" | sudo tee -a /etc/apt/sources.list.d/opencontrail.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16BD83506839FE77 sudo apt-get update # Install Contrail Control sudo apt-get install contrail-control
You may execute the script to configure a node as the control node as shown here:
$ sh 12_4_open_contrail_control_node.sh
Update /etc/contrail/control-node.conf:
[DISCOVERY] port=5998 server=127.0.0.1 # discovery_server IP address [IFMAP] password=control user=control
Restart control:
$ sudo service contrail-control restart