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

Add CIDR and Nameservers support in network #200

Merged
merged 3 commits into from
Mar 29, 2024
Merged

Conversation

uzaxirr
Copy link
Member

@uzaxirr uzaxirr commented Mar 28, 2024

Screenshot 2024-03-28 at 10 57 08 AM

@uzaxirr uzaxirr added the enhancement New feature or request label Mar 28, 2024
@uzaxirr uzaxirr self-assigned this Mar 28, 2024
@alejandrojnm
Copy link
Member

The IP is not the same, is problem with the api or in the UI???

@uzaxirr
Copy link
Member Author

uzaxirr commented Mar 28, 2024

The IP is not the same, is problem with the api or in the UI???

Its a UI Problem
Screenshot 2024-03-28 at 1 19 03 PM

Copy link
Member

@alessandroargentieri alessandroargentieri left a 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

@@ -30,6 +30,19 @@ func ResourceNetwork() *schema.Resource {
Computed: true,
Description: "The region of the network",
},
"cidr": {

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

Copy link
Member

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

Optional: true,
Description: "The CIDR block for the network",
},
"nameservers": {

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

Copy link
Member

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

@uzaxirr uzaxirr merged commit 887ffbe into master Mar 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants