Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame^] | 1 | ============ |
| 2 | OpenContrail |
| 3 | ============ |
| 4 | |
| 5 | Contrail 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 | |
| 7 | Sample pillars |
| 8 | ============== |
| 9 | |
| 10 | Usage |
| 11 | ===== |
| 12 | |
| 13 | Basic installation |
| 14 | ================== |
| 15 | |
| 16 | Add 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 | |
| 21 | Compute 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 | |
| 30 | Add 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 | |
| 41 | Service debugging |
| 42 | ================= |
| 43 | |
| 44 | Display vhost XMPP connection status |
| 45 | |
| 46 | You should see the correct controller_ip and state should be established. |
| 47 | |
| 48 | http://<compute-node>:8085/Snh_AgentXmppConnectionStatusReq? |
| 49 | |
| 50 | Display vrouter interface status |
| 51 | |
| 52 | When vrf_name = ---ERROR--- then something goes wrong |
| 53 | |
| 54 | http://<compute-node>:8085/Snh_ItfReq?name= |
| 55 | |
| 56 | Display IF MAP table |
| 57 | |
| 58 | Look for neighbours, if VM has 2, it's ok |
| 59 | |
| 60 | http://<control-node>:8083/Snh_IFMapTableShowReq?table_name= |
| 61 | |
| 62 | Trace XMPP requests |
| 63 | |
| 64 | http://<compute-node>:8085/Snh_SandeshTraceRequest?x=XmppMessageTrace |
| 65 | |
| 66 | Read 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 |