T6404: add constraintGroup element to reference tree #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary
The
constraintGroup
element was missed when defining the reference tree, as it has not yet had a use case. However, in the context of https://vyos.dev/T3493, it was suggested to use the following construction quoted below (only in Sagitta); note that a partial solution is already present, and may be considered sufficient.For future use of a constraintGroup, this PR should be merged for 1.5, and the Dockerfile updated.
NOTE: it is up to @c-po whether this should be backported to allow extending T3493 with the patch below: if so, we need to make sure that the Dockerfile has been updated with commit ref for vyos1x-config AND that libvyosconfig and vyos-1x are rebuilt with that container before 1.4.0-GA.
Tested with the patch below, all smoketests pass, notably,
test_service_dhcpv6-server.py
.Types of changes
Related Task(s)
Related PR(s)
Proposed changes
How to test
Checklist: