aboutsummaryrefslogtreecommitdiffstats
path: root/charms/trusty/contrail-webui/README.md
blob: 0f5eaa74976366afb52d8b26761844c1812491bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Overview
--------

OpenContrail (www.opencontrail.org) is a fully featured Software Defined
Networking (SDN) solution for private clouds. It supports high performance
isolated tenant networks without requiring external hardware support. It
provides a Neutron plugin to integrate with OpenStack.

This charm is designed to be used in conjunction with the rest of the OpenStack
related charms in the charm store to virtualize the network that Nova Compute
instances plug into.

This charm provides the Web UI component which contains the
contrail-web-controller service.
Only OpenStack Icehouse or newer is supported.

Usage
-----

Keystone, Contrail Configuration and Cassandra are prerequisite services to
deploy.

Once ready, deploy and relate as follows:

    juju deploy contrail-webui
    juju add-relation contrail-webui keystone
    juju add-relation contrail-webui:contrail_api contrail-configuration:contrail-api
    juju add-relation contrail-webui:contrail_discovery contrail-configuration:contrail-discovery
    juju add-relation contrail-webui:cassandra cassandra:database

Install Sources
---------------

The version of OpenContrail installed when deploying can be changed using the
'install-sources' option. This is a multilined value that may refer to PPAs or
Deb repositories.

Secure HTTPS/SSL Connections
----------------------------

HTTPS is enabled by default (port 8143) and also set with:

    juju set contrail-webui use-https=true

A self-signed X.509 certificate will be generated for SSL use by default, but
you may specify one with the 'ssl-cert' and 'ssl-key' options. This is easier to
do using a YAML file:

    # config.yaml
    contrail-webui:
      ssl-cert: |
        -----BEGIN CERTIFICATE-----
        ...
        -----END CERTIFICATE-----
      ssl-key: |
        -----BEGIN PRIVATE KEY-----
        ...
        -----END PRIVATE KEY-----

    juju set --config config.yaml contrail-webui

High Availability (HA)
----------------------

Multiple units of this charm can be deployed to support HA deployments:

    juju add-unit contrail-webui

Relating to haproxy charm (website relation) allows multiple units to be load
balanced:

    juju add-relation contrail-webui haproxy