Closed vilit1 closed 2 years ago
Let's add a HISTORY entry for this functionality
hub seems to be unaffected by the sha change. https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=5798&view=results
As discussed - test performance improvements will be tackled as a follow up task: https://msazure.visualstudio.com/One/_sprints/taskboard/IoT-Platform-UPX/One/Custom/IoT/2206?workitem=14713177
Support DPS device registration using the Device sdk (https://github.com/Azure/azure-iot-sdk-python)
Note that this will just register a device using the DPS and it should end up in IoT Hub. Since the HTTP protocol for device registration is not as "stable" as the mqtt pipeline in the device sdk, the device sdk is used.
Key usability improvements:
Note that there are a lot of "fixes" and "add-ons" for this:
Some x509 limitations discovered:
Help Page in question:
Comparison between using a generated sdk (http transport) vs the device sdk: Generated sdk:
Device sdk:
Future plans: support tpm attestation
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Thank you for contributing to the IoT extension!
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production
dev
ormain
are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.Basic expectations
pytest <project root> -vv
. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set..pylintrc
and.flake8
rules? Look at the CI scripts for example usage.Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).