Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.62 KB

README.md

File metadata and controls

76 lines (50 loc) · 2.62 KB

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 provides the analytics node component which includes contrail-collector, contrail-query-engine and contrail-analytics-api services.

Only OpenStack Ocata or newer is supported. Only for Contrail 5.0 or above. Juju 2.0 is required.

Usage

Contrail Controller and Contrail AnalyticsDB are prerequisite services to deploy. Once ready, deploy and relate as follows:

juju deploy contrail-analytics
juju add-relation contrail-analytics contrail-analyticsdb
juju add-relation contrail-analytics contrail-controller

Resource

The charm requires docker image with Contrail Analytics as a resource. It can be provided as usual for Juju 2.0 in deploy command or through attach-resource:

juju attach contrail-analytics contrail-analytics="$PATH_TO_IMAGE"

External Docker repository

Istead of attaching resource with docker image charm can accept image from remote docker repository. docker-registry should be specified if the registry is only accessible via http protocol (insecure registry). docker-user / docker-password can be specified if registry requires authentification. And image-name / image-tag are the parameters for the image itself.

High Availability (HA)

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

juju add-unit contrail-analytics

Relating to haproxy charm (http-services relation) allows multiple units to be load balanced:

juju add-relation contrail-analytics haproxy

For this http connection there are two modes - http and https. Both modes configure haproxy in http mode (termination). Mode https additionaly configure haproxy to use SSL for frontend. By default http mode is used. To confugire haproxy in https mode you can run:

juju config contrail-analytics haproxy-http-mode=https

SSL

This charm supports relation to easyrsa charm to obtain certificates for XMPP and Sandesh connections:

juju add-relation contrail-analytics easyrsa

Please note that in this case all charms must be related to easyrsa. Components require CA certificate for communication.

Containerd

This charm supports containerd as container runtime:

juju config contrail-analytics container_runtime=containerd

Please note that in this case all charms must be configured to use containerd. This setting cannot be changed after deploy.