1
0
Fork 0
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:
Steffen Vogel 2018-10-25 17:09:54 +01:00
parent 5fc697e952
commit ff1e01dbfb
4 changed files with 20 additions and 26 deletions

View file

@ -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
}
}
}
},

View file

@ -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" ]

View file

@ -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"
}
}
}
}

View file

@ -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
}
}
}
}