-
Notifications
You must be signed in to change notification settings - Fork 2
/
iotagent-json-device.yaml
46 lines (46 loc) · 1.55 KB
/
iotagent-json-device.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
- name: Setup iotagent-json
hosts: localhost
connection: local
roles:
- smart-data-model-vars
- iotagent-json-device
vars:
ENTITY_TYPE: TrafficSimulation
crd:
iotagent:
service_name: iotagent-json
context_broker:
service_name: scorpiobroker
base_url: http://scorpiobroker:9090
fiware:
service: trafficsimulations
service_path: /Sweden/Veberod/CityCenter
service_group:
resource: /iot/json
apikey: VeberodIntersection1
device:
transport: MQTT
id: VeberodIntersection1
mqtt_host: fiware-broker-mqtt-0-svc
mqtt_port: 1883
mqtt_subscription_topic: iot/subscribe
subscription_url: http://ngsild-smartvillage-sync:8080
smartvillage:
enabled: true
auth_secret_name: keycloak-client-secret-smartvillage
auth_token_url: https://keycloak-sso.apps-crc.testing/auth/realms/SMARTVILLAGE/protocol/openid-connect/token
site_base_url: https://smartvillage-web-smartvillage.apps-crc.testing
smart_model_api: /api/traffic-simulation
attributes:
simulationName: Veberöd intersection 1
sumocfgPath: /usr/local/src/TLC/input/Veberod_intersection_pedestrian.sumocfg
fcdFilePath: /usr/local/src/TLC/output/veberod-fcd.xml
startSeconds: 0
endSeconds: 300
stepSeconds: 1
paramStepSize: 1
paramRunTime: 1000
paramItersPerPar: 3
paramTotalIterNum: 5
ENTITY_NAME: "urn:ngsi-ld:{{ ENTITY_TYPE }}:{{ device.id }}"