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

Allow -1 value for bond_miimon uplink bond option #82

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

tbregolin
Copy link
Contributor

While not a valid option per the Kernel's documentation, Harvester uses -1 as a special value to preserve whatever the current value is. If -1 is not allowed and the option is simply omitted for the vlanconfig, the Terraform provider will always show a change of the state from -1 to "null" at every run.

The vlanconfig cannot be changed without stopping all the VM instances using it, which is why it would be useful to allow the special value that preserves the existing configuration.

While not a valid option per the Kernel's documentation, Harvester uses
-1 as a special value to preserve whatever the current value is. If -1
is not allowed and the option is simply omitted for the vlanconfig, the
Terraform provider will always show a change of the state from -1 to
"null" at every run.
Copy link
Member

@FrankYang0529 FrankYang0529 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yu-Jack Yu-Jack merged commit de23134 into harvester:master Oct 26, 2023
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.

5 participants