summaryrefslogtreecommitdiffstats
path: root/docs/architecture.rst
blob: 12a340d70f3be5000400181b3495b9b75d7f8796 (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
.. _architecture:
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright 2017 Huawei Technologies Co., Ltd.

CLI architecture
================

Following diagram shows the high-level architecture of ONAP CLI.

.. image:: images/portal-cli-arch.png
   :height: 600px
   :width: 800px

* **Command Registrar** :  Registrar keeps track of the commands regsitered in ONAP CLI and when user invokes the command, it identify
the corresponding command route the request to that command plugin.

* **Command Discoverer** : Discoverer discovers the commands both in plug-in format and YAML and auto-matically register them into Registrar.

* **Command Plug-ings** : Implement the command as plugin. More details :ref:`developer_guide`

* **HTTP Command** : Plug-in for implementing all Rest based command as YAML without any coding.

* **Command Shell** : Provides the interactive command line console from Linux

* **Web Command Console** : Provides the interactive command line console from web-browser