Skip to content
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

Read Device Profile from Managed Device User Data if populated #857

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

chrismarget-j
Copy link
Collaborator

@chrismarget-j chrismarget-j commented Sep 16, 2024

We've been reading the Device Profile ID from Managed Device -> Facts -> AosHclModel.

In the case that a user has created a custom device profile and overridden Apstra's default, the value found there will be incorrect.

This PR checks Managed Device -> UserConfig -> AosHclModel. If a user override value is found there, we'll now use it instead.

Closes #856

@chrismarget-j chrismarget-j merged commit 4e73645 into main Sep 16, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the bug/856-handle-custom-device-profile branch September 16, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Device Allocation resource fails when managed device uses custom device profile
2 participants