Commit b4fa1a89 authored by Rudy Ailabouni's avatar Rudy Ailabouni
Browse files

add a couple of example configs

parent 81f86332
# Another example of an event config file
event:
time: 0 seconds
type: OpenTermEvent
parameters:
node: broker
shell: /bin/bash
---
event:
type: RunCMDEvent
time: 0 seconds
parameters:
node: broker
cmd: ping -c 1 10.0.0.20
wait: False # Optional, defaults to True
---
event:
type: RunCMDEvent
time: 0 seconds
parameters:
node: broker
cmd: ping -c 1 10.0.0.21
wait: False # Optional, defaults to True
---
event:
parameters:
link_params:
delay: 100000.0
node1: right
node2: broker
time: 3.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 150000.0
node1: right
node2: broker
time: 23.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 200000.0
node1: right
node2: broker
time: 26.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 250000.0
node1: right
node2: broker
time: 29.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 300000.0
node1: right
node2: broker
time: 32.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 350000.0
node1: right
node2: broker
time: 35.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 400000.0
node1: right
node2: broker
time: 38.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 450000.0
node1: right
node2: broker
time: 41.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 500000.0
node1: right
node2: broker
time: 44.0 seconds
type: LinkUpdate
---
event:
parameters:
link_params:
delay: 550000.0
node1: right
node2: broker
time: 47.0 seconds
type: LinkUpdate
# an example of a topology configuration file
topology:
netmask: 10.0.0.0/24
nodes:
- name: subscriber
type: host
- name: publisher
type: host
- name: switch
type: switch
- name: switch2
type: switch
- name: broker
type: host
- name: left
type: rj45
interface: enp0s8
ip: 10.0.0.20
- name: right
type: rj45
interface: enp0s10
ip: 10.0.1.21
links:
- node1: subscriber
node2: switch
- node1: publisher
node2: switch
- node1: broker
node2: switch2
- node1: broker
node2: switch
- node1: left
node2: switch
- node1: right
node2: switch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment