You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy Azure IoT Edge nodes across networks organized in hierarchical layers. Each layer in a hierarchy is a gateway device that handles messages and requests from devices in the layer beneath it.
18
+
Deploy Azure IoT Edge nodes across networks organized in hierarchical layers. Each layer in a hierarchy is a gateway device that handles messages and requests from devices in the layer beneath it. This setup is also known as "nested edge".
19
19
20
20
You can structure a hierarchy of devices so that only the top layer has connectivity to the cloud, and the lower layers can only communicate with adjacent north and south layers. This network layering is the foundation of most industrial networks, which follow the [ISA-95 standard](https://en.wikipedia.org/wiki/ANSI/ISA-95).
21
21
@@ -91,8 +91,6 @@ To create a hierarchy of IoT Edge devices, you will need:
91
91
92
92
## Configure your IoT Edge device hierarchy
93
93
94
-
### Create a hierarchy of IoT Edge devices
95
-
96
94
IoT Edge devices make up the layers of your hierarchy. This tutorial will create a hierarchy of two IoT Edge devices: the **top layer device** and its child, the **lower layer device**. You can create additional child devices as needed.
97
95
98
96
To create and configure your hierarchy of IoT Edge devices, you'll use the `iotedge-config` tool. This tool simplifies the configuration of the hierarchy by automating and condensing several steps into two:
@@ -167,15 +165,27 @@ To use the `iotedge-config` tool to create and configure your hierarchy, follow
With the `--output` flag, the tool creates the device certificates, certificate bundles, and a log file in a directory of your choice. With the `-f` flag set, the tool will automatically look for existing IoT Edge devices in your IoT Hub and remove them, to avoid errors and keep your hub clean.
171
+
With the `--output` flag, the tool creates the device certificates, certificate bundles, and a log file in the outputs directory setup earlier.
174
172
175
173
The configuration tool creates your IoT Edge devices and sets up the parent-child relationships between them. Optionally, it creates certificates for your devices to use. If paths to deployment JSONs are provided, the tool will automatically create these deployments to your devices, but this is not required. Finally, the tool will generate the configuration bundles for your devices and place them in the output directory. For a thorough look at the steps taken by the configuration tool, see the log file in the output directory.
176
174
177
-

Writing logs to "outputs/log_2022-08-31_20-39-42.txt"
179
+
top-layer
180
+
└──lower-layer
181
+
182
+
No Root CA specified. Generating self-signed root at "./outputs/certificates/iotedge_config_cli_root.pem".
183
+
Creating certificates for 2 devices
184
+
Creating 2 devices in hub contoso-iothub
185
+
Creating configuration files based on "./templates/tutorial/device_config.toml" for 2 devices.
186
+
Done! Output located at "/home/user/nestedIotEdgeTutorial/outputs". See README.md in output for install instructions.
187
+
```
188
+
179
189
Double-check that the topology output from the script looks correct. Once you are satisfied your hierarchy is correctly structured, you are ready to proceed.
0 commit comments