-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add CIDR and Nameservers support in network #200
Conversation
uzaxirr
commented
Mar 28, 2024
The IP is not the same, is problem with the api or in the UI??? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a pair of minor comments
civo/network/resource_network.go
Outdated
@@ -30,6 +30,19 @@ func ResourceNetwork() *schema.Resource { | |||
Computed: true, | |||
Description: "The region of the network", | |||
}, | |||
"cidr": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get it named cidr_v4
like we have in the api? Because In the future we will have cidr_v6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can add cidr_v6
in the future because we assume cidr
alone is ipv4
civo/network/resource_network.go
Outdated
Optional: true, | ||
Description: "The CIDR block for the network", | ||
}, | ||
"nameservers": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get it named nameservers_v4
like we have in the api? Because In the future we will have nameservers_v6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as the cidr, nameserver alone is ipv4 and the other one is ipv6