Commit dde2da61 authored by Edward Paul Colone's avatar Edward Paul Colone
Browse files

changing the way meshes are created

parent 2ef2fe6a
# Ignore everything in this directory
*
# Except this file
!.gitignore
The skeleton.json file is a template for mesh configurations.
Make a copy of it, modify it with your hosts, and use ansible-role-psconfig-publisher to publish it.
{
"_meta":{
"display-name": "Example Measurements"
},
"archives": {
"example_esmond_archive": {
"archiver": "esmond",
"data": {
"measurement-agent": "{% scheduled_by_address %}",
"url": "https://FILL_IN_ESMOND_HOSTNAME_OR_IP/esmond/perfsonar/archive/"
}
}
},
"addresses": {
"FILL_IN_ADDRESS_NAME_1": { "address": "FILL_IN_HOSTNAME_OR_IP_1" },
"FILL_IN_ADDRESS_NAME_2": { "address": "FILL_IN_HOSTNAME_OR_IP_2" }
},
"groups": {
"example_group_mesh": {
"type": "mesh",
"addresses": [
{ "name": "FILL_IN_ADDRESS_NAME_1" },
{ "name": "FILL_IN_ADDRESS_NAME_2" }
]
},
"example_group_disjoint": {
"type": "disjoint",
"a-addresses": [
{ "name": "FILL_IN_ADDRESS_NAME_1" }
],
"b-addresses": [
{ "name": "FILL_IN_ADDRESS_NAME_2" }
]
}
},
"tests": {
"example_test_throughput": {
"type": "throughput",
"spec": {
"source": "{% address[0] %}",
"dest": "{% address[1] %}",
"duration": "PT30S"
}
},
"example_test_latencybg": {
"type": "latencybg",
"spec": {
"source": "{% address[0] %}",
"dest": "{% address[1] %}",
"flip": "{% flip %}"
}
},
"example_test_trace": {
"type": "trace",
"spec": {
"source": "{% address[0] %}",
"dest": "{% address[1] %}"
}
}
},
"schedules": {
"example_schedule_PT4H": {
"repeat": "PT4H",
"sliprand": true,
"slip": "PT4H"
},
"example_schedule_PT10M": {
"repeat": "PT10M",
"sliprand": true,
"slip": "PT10M"
}
},
"tasks": {
"example_task_throughput": {
"group": "example_group_mesh",
"test": "example_test_throughput",
"schedule": "example_schedule_PT4H",
"archives": [ "example_esmond_archive" ],
"_meta": {
"display-name": "Example Throughput Tests"
}
},
"example_task_latencybg": {
"group": "example_group_mesh",
"test": "example_test_latencybg",
"archives": [ "example_esmond_archive" ],
"_meta": {
"display-name": "Example Loss Tests"
}
},
"example_task_trace": {
"group": "example_group_mesh",
"test": "example_test_trace",
"schedule": "example_schedule_PT10M",
"archives": [ "example_esmond_archive" ],
"_meta": {
"display-name": "Example Traceroute Tests"
}
}
}
}
\ No newline at end of file
Supports Markdown
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