Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uploaded new Manifest for eflow. Working on Linux deployment Guide.
- Loading branch information
MSFTKevino
committed
May 26, 2022
1 parent
8aaf918
commit 46e739e
Showing
2 changed files
with
163 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
{ | ||
"modulesContent": { | ||
"$edgeAgent": { | ||
"properties.desired": { | ||
"modules": { | ||
"metricscollector": { | ||
"settings": { | ||
"image": "mcr.microsoft.com/azureiotedge-metrics-collector:1.0" | ||
}, | ||
"type": "docker", | ||
"env": { | ||
"UploadTarget": { | ||
"value": "IotMessage" | ||
}, | ||
"ResourceID": { | ||
"value": "Industrial connector for IoTEdge" | ||
}, | ||
"MetricsEndpointsCSV": { | ||
"value": "http://edgeHub:9600/metrics,http://edgeAgent:9600/metrics,http://iiotadapter:9702/metrics,http://opcpublisher:9702/metrics" | ||
}, | ||
"CompressForUpload": { | ||
"value": "false" | ||
}, | ||
"TransformForIoTCentral": { | ||
"value": true | ||
} | ||
}, | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"version": "1.0", | ||
"startupOrder": 4 | ||
}, | ||
"opcplc": { | ||
"settings": { | ||
"image": "mcr.microsoft.com/iotedge/opc-plc:latest-debug", | ||
"createOptions": "{\"Hostname\":\"opcplc\",\"Cmd\":[\"--pn=50000\",\"--autoaccept\",\"--sn=25\",\"--sr=10\",\"--st=uint\",\"--fn=10\",\"--fr=1\",\"--ft=uint\",\"--ctb\",\"--scn\",\"--lid\",\"--lsn\",\"--ref\",\"--gn=10\"],\"HostConfig\":{\"Mounts\":[{\"Type\":\"volume\",\"Target\":\"/appdata\",\"Source\":\"industrialconnector\",\"Consistency\":\"consistent\",\"RW\":true}],\"PortBindings\":{\"50000/tcp\":[{\"HostPort\":\"50000\"}]}},\"ExposedPorts\":{\"50000/tcp\":{}}}" | ||
}, | ||
"type": "docker", | ||
"version": "1.0", | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"startupOrder": 2 | ||
}, | ||
"opcplclarge": { | ||
"settings": { | ||
"image": "mcr.microsoft.com/iotedge/opc-plc:latest-debug", | ||
"createOptions": "{\"Hostname\":\"opcplclarge\",\"Cmd\":[\"--pn=50001\",\"--autoaccept\",\"--sn=100\",\"--sr=10\",\"--st=uint\",\"--fn=100\",\"--ut\",\"--ctb\",\"--scn\",\"--lid\",\"--lsn\",\"--ref\",\"--gn=3000\"],\"HostConfig\":{\"Mounts\":[{\"Type\":\"volume\",\"Target\":\"/appdata\",\"Source\":\"industrialconnector\",\"Consistency\":\"consistent\",\"RW\":true}],\"PortBindings\":{\"50001/tcp\":[{\"HostPort\":\"50001\"}]}},\"ExposedPorts\":{\"50001/tcp\":{}}}" | ||
}, | ||
"type": "docker", | ||
"version": "1.0", | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"startupOrder": 2 | ||
}, | ||
"opcpublisher": { | ||
"settings": { | ||
"image": "mcr.microsoft.com/iotedge/opc-publisher:2.8.2", | ||
"createOptions": "{\"Hostname\":\"opcpublisher\",\"Cmd\":[\"PkiRootPath=/mount/pki\",\"--pf=/mount/published_nodes.json\",\"--lf=/mount/publisher.log\",\"--mm=PubSub\",\"--me=Json\",\"--fm=true\",\"--bs=1\",\"--di=20\",\"--aa\",\"--rs\"],\"HostConfig\":{\"Mounts\":[{\"Type\":\"volume\",\"Target\":\"/appdata\",\"Source\":\"industrialconnector\",\"Consistency\":\"consistent\",\"RW\":true}]}}" | ||
}, | ||
"type": "docker", | ||
"version": "1.0", | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"startupOrder": 3 | ||
}, | ||
"iiotadapter": { | ||
"settings": { | ||
"image": "industrialconnectortest.azurecr.io/iotedge/iiotadapter:0.8.0-alpha.355-debug", | ||
"createOptions": "{\"Hostname\":\"iiotadapter\",\"HostConfig\":{\"Mounts\":[{\"Type\":\"volume\",\"Target\":\"/appdata\",\"Source\":\"industrialconnector\",\"Consistency\":\"consistent\",\"RW\":true}]},\"User\":\"iiotuser\",\"ExposedPorts\":{\"9702/tcp\":{}},\"Cmd\":[\"--pki /appdata/pki\",\"--config /appdata/configuration\"]}" | ||
}, | ||
"type": "docker", | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"version": "1.0", | ||
"startupOrder": 1 | ||
}, | ||
"industrialconnectorui": { | ||
"settings": { | ||
"image": "industrialconnectortest.azurecr.io/iotedge/industrialconnectorui:0.8.0-alpha.355-debug", | ||
"createOptions": "{\"Hostname\":\"industrialconnectorui\",\"HostConfig\":{\"Mounts\":[{\"Type\":\"volume\",\"Target\":\"/appdata\",\"Source\":\"industrialconnector\",\"Consistency\":\"consistent\",\"RW\":true}],\"PortBindings\":{\"80/tcp\":[{\"HostPort\":\"8080\"}], \"443/tcp\":[{\"HostPort\":\"8443\"}]}},\"ExposedPorts\":{\"80/tcp\":{}, \"443/tcp\":{}},\"Cmd\":[\"--pki /appdata/pki\",\"--config /appdata/configuration\"]}" | ||
}, | ||
"type": "docker", | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"version": "1.0", | ||
"startupOrder": 4 | ||
} | ||
}, | ||
"runtime": { | ||
"settings": { | ||
"minDockerVersion": "v1.25" | ||
}, | ||
"type": "docker" | ||
}, | ||
"schemaVersion": "1.1", | ||
"systemModules": { | ||
"edgeAgent": { | ||
"settings": { | ||
"image": "mcr.microsoft.com/azureiotedge-agent:1.2", | ||
"createOptions": "" | ||
}, | ||
"type": "docker", | ||
"env": { | ||
"ExperimentalFeatures__Enabled": { | ||
"value": "true" | ||
}, | ||
"ExperimentalFeatures__EnableGetLogs": { | ||
"value": "true" | ||
}, | ||
"ExperimentalFeatures__EnableUploadLogs": { | ||
"value": "true" | ||
}, | ||
"ExperimentalFeatures__EnableMetrics": { | ||
"value": "true" | ||
} | ||
} | ||
}, | ||
"edgeHub": { | ||
"settings": { | ||
"image": "mcr.microsoft.com/azureiotedge-hub:1.2", | ||
"createOptions": "{\"HostConfig\":{\"PortBindings\":{\"443/tcp\":[{\"HostPort\":\"443\"}],\"5671/tcp\":[{\"HostPort\":\"5671\"}],\"8883/tcp\":[{\"HostPort\":\"8883\"}]}}}" | ||
}, | ||
"type": "docker", | ||
"env": { | ||
"SslProtocols": { | ||
"value": "tls1.2" | ||
} | ||
}, | ||
"status": "running", | ||
"restartPolicy": "always", | ||
"startupOrder": 0 | ||
} | ||
} | ||
} | ||
}, | ||
"$edgeHub": { | ||
"properties.desired": { | ||
"routes": { | ||
"publisherruntimeinfo": "FROM /messages/modules/opcpublisher/outputs/runtimeinfo INTO BrokeredEndpoint(\"/modules/iiotadapter/inputs/publisherruntimeinfo\")", | ||
"metrics2iothub": "FROM /messages/* WHERE $connectionModuleId = 'metricscollector' INTO $upstream", | ||
"pubsub2adapter": "FROM /messages/* WHERE NOT IS_DEFINED (processed) INTO BrokeredEndpoint(\"/modules/iiotadapter/inputs/transform\")", | ||
"adapter2iothub": "FROM /messages/* WHERE IS_DEFINED (processed) INTO $upstream" | ||
}, | ||
"schemaVersion": "1.0", | ||
"storeAndForwardConfiguration": { | ||
"timeToLiveSecs": 7200 | ||
} | ||
} | ||
} | ||
} | ||
} |