Skip to content

fix(builder): add network interface validation#107

Merged
thevilledev merged 1 commit intomainfrom
fix/network-validation
Aug 29, 2025
Merged

fix(builder): add network interface validation#107
thevilledev merged 1 commit intomainfrom
fix/network-validation

Conversation

@thevilledev
Copy link
Copy Markdown
Contributor

Introduce a validator function for network interfaces for stricter network checks. It enforces interface type, private network UUID and UUID format.

Also exported MaxTemplateNameLength and MaxTemplatePrefixLength constants. This is useful for test packages.

Update tests to cover network interface validation cases.

Add google/uuid v1.6.0 as direct dependency for UUID validation.

Introduce a validator function for network interfaces for stricter
network checks. It enforces interface type, private network UUID
and UUID format.

Also exported MaxTemplateNameLength/MaxTemplatePrefixLength constants.
This is useful for test packages.

Update tests to cover network interface validation cases.

Add google/uuid v1.6.0 as direct dependency for UUID validation.

Signed-off-by: Ville Vesilehto <ville.vesilehto@upcloud.com>
@thevilledev thevilledev requested a review from a team as a code owner August 29, 2025 07:35
@thevilledev thevilledev merged commit 01857ca into main Aug 29, 2025
12 checks passed
@thevilledev thevilledev deleted the fix/network-validation branch August 29, 2025 08:20
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.

2 participants