Initialise a Device#
Before we can run OctaiPipe deployments on your device, we need to install OctaiPipe components on it. This is called device initialisation. You can easily initialize a specific device or bulk-prepare all of your registered devices.
DeviceClient.install_infrastructure()#
Below method performs bulk-prepare infrastructure deployment tasks. It will initialise all new edge devices within each deployment.
1from octaipipe.client.device_client import DeviceClient
2
3NewDevices = DeviceClient()
4NewDevices.install_infrastructure()
It is also possible to initialise a specific device with its deviceId using the code below. The sample instruction is shown below:
1deviceId = '0x0x0x0x'
2NewDevice = DeviceClient()
3NewDevice.install_infrastructure(deviceId)
Once a device is properly initialised, OctaiPipe may start to deploy docker images for MLOps.