mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tests: use new syntax to configure multiple signals of same type
This commit is contained in:
parent
5fc697e952
commit
ff1e01dbfb
4 changed files with 20 additions and 26 deletions
|
@ -42,9 +42,10 @@ cat > ${CONFIG_FILE} <<EOF
|
|||
},
|
||||
"in" : {
|
||||
"address": "*:12000",
|
||||
"signals" : [
|
||||
{ "type" : "float" }
|
||||
]
|
||||
"signals" : {
|
||||
"type" : "float",
|
||||
"count" : 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"node2": {
|
||||
|
@ -55,9 +56,10 @@ cat > ${CONFIG_FILE} <<EOF
|
|||
},
|
||||
"in" : {
|
||||
"address" : "*:12001",
|
||||
"signals" : [
|
||||
{ "type" : "float" }
|
||||
]
|
||||
"signals" : {
|
||||
"type" : "float",
|
||||
"count" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -50,13 +50,10 @@ cat > ${CONFIG_FILE} << EOF
|
|||
"in" : {
|
||||
"endpoints" : [ "tcp://127.0.0.1:12000" ],
|
||||
|
||||
"signals" : [
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" }
|
||||
]
|
||||
"signals" : {
|
||||
"type" : "float",
|
||||
"count" : 5
|
||||
}
|
||||
},
|
||||
"out" : {
|
||||
"endpoints" : [ "tcp://127.0.0.1:12000" ]
|
||||
|
|
|
@ -90,12 +90,10 @@ cat > ${CONFIG_FILE} << EOF
|
|||
"in" : {
|
||||
"address" : "${LOCAL}",
|
||||
"verify_source" : ${VERIFY_SOURCE},
|
||||
"signals" : [
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" }
|
||||
]
|
||||
"signals" : {
|
||||
"count" : ${NUM_VALUES},
|
||||
"type" : "float"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,13 +52,10 @@ cat > ${CONFIG_FILE} << EOF
|
|||
},
|
||||
"in" : {
|
||||
"subscribe" : "tcp://127.0.0.1:12000",
|
||||
"signals" : [
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" },
|
||||
{ "type" : "float" }
|
||||
]
|
||||
"signals" : {
|
||||
"type" : "float",
|
||||
"count" : 5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue