-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edge device creation, configuration, and device bundles #591
Conversation
Added help and examples for edge hierarchy commands Modified inline device args to parse 'id' instead of 'device_id' for brevity, updated tests
Certificate whitespace fixes added all --device arg config values Updated unit tests Added device bundle checks to integration tests
Moved new tuples / classes to shared Fixed linter issues and styling
…-k/azure-iot-cli-extension into nested_edge_device_bundle
Remnamed ca_cert input vars for create_ca_signed_certificate Changed default value to 'n' for --clean Updated help text and params with aka.ms link Changed --device-template to --device-config-template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work and solid tests
Lets make sure to show evidence of full test pass prior to merge and capture follow ups on our backlog
Moved logic into --clean functionality
First round of tests - have one final one (hopefully) coming that updates unit and integration tests so I'll have another run starting shortly. https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=7310&view=results |
Makes paths inside config file relative to config file Does not apply relative pathing to override params (CLI context) Updates tests and adds nested folder for deployments to test pathing differences
Ok, one last full pipeline run to go once the PR pipeline passes, but here's some local testing evidence: |
Looks like tests were mostly successful, save some of our recent recurring issues. I'm good with this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds
az iot edge devices create
command that allows users to create and configure multiple edge device scenarios (and associated device configuration settings) using a configuration file (YAML or JSON) or inline device arguments.The command performs the following actions after processing input:
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] 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).