You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-16Lines changed: 32 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,23 @@ SONATA's MANO framework is organized as micro services. The following micro serv
19
19
2.[`son-mano-pluginmanager`](https://github.com/sonata-nfv/son-mano-framework/tree/master/son-mano-pluginmanager): every MANO plugin registers to this service, the PM provides a CLI to control and monitor active plugins
20
20
3.[`plugins/son-mano-service-lifecycle-management`](https://github.com/sonata-nfv/son-mano-framework/tree/master/plugins/son-mano-service-lifecycle-management): main orchestration component, gets service and function descriptors, instructs the infrastructure adapter to start service components in the infrastructure, stores records on services and functions once instantiated, informs Monitoring Manager
21
21
4.[`plugins/son-mano-test-plugin`](https://github.com/sonata-nfv/son-mano-framework/tree/master/plugins/son-mano-test-plugin): the most simple implementation of a MANO plugin, used for integration tests and as an example for plugin developers
22
+
5.[`plugins/son-mano-placement-executive`](https://github.com/sonata-nfv/son-mano-framework/tree/master/plugins/son-mano-placement-executive): The plugin that manages the communication between placement SSMs and the core of the MANO framework
23
+
6.[`plugins/son-mano-scaling-executive`](https://github.com/sonata-nfv/son-mano-framework/tree/master/plugins/son-mano-placement-executive): The plugin that manages the communication between scaling SSMs/FSMs and the core of the MANO framework
24
+
7.[`son-mano-specificmanager`](https://github.com/sonata-nfv/son-mano-framework/tree/master/son-mano-specificmanager): The plugin that manages the lifecycle of the SSMs and FSMs.
22
25
23
26
Each of these components is entirely implemented in Python.
24
27
25
-
Other MANO plugins (e.g. a placement and scaling plugin) will appear during the course of the project.)
26
-
27
28
### Building
28
29
29
-
Each micro service of the framework is executed in its own Docker container. So 'building' the framework becomes building all the containers. The build steps for this are described in a `Dockerfile` that is placed in the folder of each micro service.
30
+
Each micro service of the framework is executed in its own Docker container. So 'building' the framework becomes building all the containers. The build steps for this are described in a `Dockerfile` that is placed in the folder of each micro service. Building the containers goes is done as follows:
2. Work on your proposed changes, preferably through submiting [issues](https://github.com/sonata-nfv/son-mano-framework/issues);
68
+
3. Push changes on your fork;
65
69
3. Submit a Pull Request;
66
70
4. Follow/answer related [issues](https://github.com/sonata-nfv/son-mano-framework/issues) (see Feedback-Chanel, below).
67
71
@@ -82,13 +86,25 @@ python setup.py develop
82
86
83
87
## Usage
84
88
85
-
To run all components of the MANO framework you have to start their containers. Additionally, a container that runs RabbitMQ and a container that runs MongoDB has to be started.
89
+
To run all components of the MANO framework you have to start their containers. Additionally, a container that runs RabbitMQ and a container that runs MongoDB has to be started. A docker network is facilitating the connections between the containers.
90
+
91
+
1.`docker network create sonata`
92
+
2.`docker run -d -p 5672:5672 --name broker --net=sonata rabbitmq:3`
93
+
3.`docker run -d -p 27017:27017 --name mongo --net=sonata mongo`
7.`docker run -d --name placeexec --net=sonata -e broker_host=amqp://guest:guest@broker:5672/%2F sonatanfv/placementexecutive`
98
+
8.`docker run -d --name scaleexec --net=sonata -e broker_host=amqp://guest:guest@broker:5672/%2F sonatanfv/scalingexecutive`
99
+
100
+
The parameter `broker_host` provides the url on which the message broker can be found. It is build as `amqp://<username>:<password>@<broker_name>:5672/%2F`.
101
+
102
+
With the deployment of the SLM, it is possible to add some parameters to the command, to indicate the urls where the SLM can locate the VNFR, NSR and MONITORING repositories. These parameters are optional, and only useful if the MANO Framework is used inside the full setup of the SONATA service platform.
103
+
104
+
Runtime information for these docker containers can be accessed through the standard docker commands:
86
105
87
-
1.`docker run -d -p 5672:5672 --name broker rabbitmq:3`
88
-
2.`docker run -d -p 27017:27017 --name mongo mongo`
0 commit comments