blob: 00f152f063605b3f54571f00a5cc5a63279fe069 [file] [log] [blame]
Filip Pytloun27930402015-10-06 16:28:32 +02001============
2OpenContrail
3============
4
5Contrail Controller is an open, standards-based software solution that delivers network virtualization and service automation for federated cloud networks. It provides self-service provisioning, improves network troubleshooting and diagnostics, and enables service chaining for dynamic application environments across enterprise virtual private cloud (VPC), managed Infrastructure as a Service (IaaS), and Networks Functions Virtualization (NFV) use cases.
6
7Sample pillars
8==============
9
10Usage
11=====
12
13Basic installation
14==================
15
16Add control BGP
17===============
18
19 python /etc/contrail/provision_control.py --api_server_ip 192.168.1.11 --api_server_port 8082 --host_name network1.contrail.domain.com --host_ip 192.168.1.11 --router_asn 64512
20
21Compute node installation
22=========================
23
24.. code-block:: yaml
25
26 yum install contrail-vrouter contrail-openstack-vrouter
27
28 salt-call state.sls nova,opencontrail
29
30Add virtual router
31==================
32
33.. code-block:: yaml
34
35 python /etc/contrail/provision_vrouter.py --host_name hostnode1.intra.domain.com --host_ip 10.0.100.101 --api_server_ip 10.0.100.30 --oper add --admin_user admin --admin_password cloudlab --admin_tenant_name admin
36
37 /etc/sysconfig/network-scripts/ifcfg-bond0 -- comment GATEWAY,NETMASK,IPADDR
38
39 reboot
40
41Service debugging
42=================
43
44Display vhost XMPP connection status
45
46You should see the correct controller_ip and state should be established.
47
48 http://<compute-node>:8085/Snh_AgentXmppConnectionStatusReq?
49
50Display vrouter interface status
51
52When vrf_name = ---ERROR--- then something goes wrong
53
54 http://<compute-node>:8085/Snh_ItfReq?name=
55
56Display IF MAP table
57
58Look for neighbours, if VM has 2, it's ok
59
60 http://<control-node>:8083/Snh_IFMapTableShowReq?table_name=
61
62Trace XMPP requests
63
64 http://<compute-node>:8085/Snh_SandeshTraceRequest?x=XmppMessageTrace
65
66Read more
67=========
68
69* http://opencontrail.org
70* http://juniper.github.io/contrail-vnc/README.html
71* http://www.juniper.net/techpubs/en_US/contrail1.0/information-products/topic-collections/release-notes/index.html
72* http://www.juniper.net/support/downloads/?p=contrail#sw