Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8c4cb8fc authored by BADTS Thomas's avatar BADTS Thomas
Browse files

Update network emulation documentation

parent 50a3f1eb
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ Schema
Network
=======
``e2clab`` has the capacity to emulate network constraints between layers. Those constraints are defined in a single ``network.yaml`` configuration file.
``e2clab`` has the capacity to emulate network constraints between layers, or any subset of services. Those constraints are defined in a single ``network.yaml`` configuration file.
For each network, users may set parameters like:
- delay
......
......@@ -10,7 +10,7 @@ networks:
rate: 1gbit
loss: 1%
symmetric: false
- src: fog # Required
- src: fog.gateway.* # Required
dst: edge # Required
delay: 100ms
rate: 50kbits
......
......@@ -16,16 +16,17 @@ SCHEMA: dict = {
"definitions": {
"network": {
"title": "Network emulation",
# "$$target": "#/definitons/network",
"type": "object",
"properties": {
SRC: {
"description": "Source layer name",
"description": "Source services name",
"type": "string",
"examples": ["cloud", "cloud.kafka.*"],
},
DST: {
"description": "Destination layer name",
"description": "Destination services name",
"type": "string",
"example": ["edge", "fog.gateway.*"],
},
DELAY: {
"description": "The delay to apply",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment