-
Notifications
You must be signed in to change notification settings - Fork 2
/
iotagent-json-subscription.yaml
50 lines (50 loc) · 1.39 KB
/
iotagent-json-subscription.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
47
48
49
50
---
- name: Setup iotagent-json
hosts: localhost
connection: local
roles:
- smart-data-model-vars
- iotagent-json-subscription
vars:
ENTITY_TYPE: TrafficFlowObserved
iotagent:
iot_host: http://iotagent-json-north-fiware.apps-crc.testing
fiware:
service: smarttrafficlights
service_path: /Sweden/Veberod/CityCenter
service_group:
cb_host: 'http://orion-ld-fiware.apps-crc.testing'
resource: /iot/json
apikey: VeberodIntersection1
device:
transport: MQTT
id: 'Sjobovagen-SE'
mqtt_host: fiware-broker-mqtt-0-svc.fiware.svc.cluster.local
mqtt_port: 1883
mqtt_subscription_topic: iot-subscribe
sumo:
initial_parameters: [10, 20, 30, 50, 10, 10, 8, 8, 5, 5]
demand_scale: [1.4, 1.4]
fix_seed: false
lam: [0.11, 0.125, 0.01, 0.01]
routes:
- edges: '96027913#0 96027913#2 30186293 311389510#1'
id: r13
run_time: 0
v_types:
- accel: 2.6
decel: 4.5
id: v12
length: 5
max_speed: 55
min_gap: 1
sigma: 0.5
attributes:
address:
addressCountry: Sweden
addressLocality: Veberöd
streetAddress: Sjöbovägen
area_served: |
96027913#0 96027913#2 30186293 311389510#1
average_gap_distance: 1
ENTITY_NAME: "urn:ngsi-ld:{{ ENTITY_TYPE }}:{{ device.id }}"