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

fix(CLOUDDEV-935): Fixed creating Subnet without Gateway ip #72

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

dodgyturtle
Copy link
Collaborator

Copy link
Collaborator

@DamirZinatullin DamirZinatullin left a comment

Choose a reason for hiding this comment

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

Тут не так все просто, насколько помню, нужно уметь отправлять либо null либо пустую строку либо IP. Попробуй потестируй ручку через инсомнию с этими 3мя вариантами, поведение должно отличаться

string or nullThe default GW IPv4 address to advertise in DHCP routes in this subnet. Omit this field to let the cloud backend allocate it automatically. Set to null if no gateway must be advertised by the DHCP of this subnet (useful when attaching instances to multiple subnets in order to prevent default route conflicts)

@dodgyturtle dodgyturtle force-pushed the fix/CLOUDDEV-935-subnet-without-gw branch from 4721ca5 to 95c60d6 Compare January 28, 2025 08:45
@dodgyturtle dodgyturtle force-pushed the fix/CLOUDDEV-935-subnet-without-gw branch from 95c60d6 to 9c7c4c2 Compare January 28, 2025 08:49
Copy link
Collaborator

@DamirZinatullin DamirZinatullin left a comment

Choose a reason for hiding this comment

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

Хитрое решение, мне понравилось)

@dodgyturtle dodgyturtle merged commit f732e0f into master Jan 29, 2025
1 check passed
@dodgyturtle dodgyturtle deleted the fix/CLOUDDEV-935-subnet-without-gw branch January 29, 2025 10:08
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.

4 participants