From 1fca6acb2918beef86a5a78dc659683830908cd2 Mon Sep 17 00:00:00 2001 From: Ralph Knag Date: Tue, 5 Dec 2017 12:05:57 -0500 Subject: DCAE Controller documentation DCAEGEN2-213 Issue-ID: DCAEGEN2-213 Change-Id: I7f2023b7f88b73eef852eca0bbf9086e14903cd6 Signed-off-by: Ralph Knag --- docs/sections/components/architecture/pieces.rst | 11 +++++++ .../components/architecture/service-discovery.rst | 36 ++++++++++++++++++++++ docs/sections/components/architecture/services.rst | 19 ++++++++++++ 3 files changed, 66 insertions(+) create mode 100755 docs/sections/components/architecture/pieces.rst create mode 100755 docs/sections/components/architecture/service-discovery.rst create mode 100755 docs/sections/components/architecture/services.rst (limited to 'docs/sections/components/architecture') diff --git a/docs/sections/components/architecture/pieces.rst b/docs/sections/components/architecture/pieces.rst new file mode 100755 index 00000000..9e57c02b --- /dev/null +++ b/docs/sections/components/architecture/pieces.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 + +Platform technologies +===================== + +- `Cloudify `__ +- `Consul `__ +- `Docker `__ +- `CDAP `__ +- `Registrator `__ diff --git a/docs/sections/components/architecture/service-discovery.rst b/docs/sections/components/architecture/service-discovery.rst new file mode 100755 index 00000000..1eeaef88 --- /dev/null +++ b/docs/sections/components/architecture/service-discovery.rst @@ -0,0 +1,36 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 + +Service Discovery +================= + +Service discovery is an architecture pattern used for components +(micro-services) to locate each other. The DCAE platform uses +`server-side +discovery `__ +and is using `Consul `__ as the service registry +solution. + +Service registration +-------------------- + +All components are required to register with Consul in order to be +discovered. There are two methods of registration: self and 3rd party. +The DCAE platform uses 3rd party registration which means components +don’t actually make the registration calls but defers that +responsibility to a platform service. + +Implementation for Docker +~~~~~~~~~~~~~~~~~~~~~~~~~ + +`Registrator `__ is an open +source application that is responsible for registering all components +that run as Docker containers. Registrator watches the local Docker +engine’s activity log and will register and unregister a Docker +container when the container is started and stopped. + +Implementation for CDAP +~~~~~~~~~~~~~~~~~~~~~~~ + +The CDAP broker is a REST web service that is responsible for +registering all components that run as CDAP applications. diff --git a/docs/sections/components/architecture/services.rst b/docs/sections/components/architecture/services.rst new file mode 100755 index 00000000..9cfd084c --- /dev/null +++ b/docs/sections/components/architecture/services.rst @@ -0,0 +1,19 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 + +‘Services’ Overview +=================== + +DCAE Services run on the DCAE platform. A service performs either +monitors the virtualized network services or does analytics. A service +is composed of one or more components, and performs a business need. + +Services are created in a ‘Service Design and Creation’ tool called +‘Service Assurance Flow Designer’ by a Service Designer. This is done by +\* 1. ‘compose’ing a service from the available SDC catalog components +(actually from the TOSCA models representing the components), then \* 2. +’submit’ing the service, which generates a Cloudify blueprint, is then +automatically uploaded to INVENTORY, and then deployed by DEPLOYMENT +HANDLER (once a DTI Event is triggered for the service). It should be +noted that some service flows, specifally ’closed-loop’ flows, are not +initiated by DTI, but are done by CLAMP. -- cgit