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

Update network type #216

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/data-sources/hpegl_vmaas_network_type/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

data "hpegl_vmaas_network_type" "nsxt_net_type" {
name = "NSX-T Segment"
name = "NSX Segment"
}
4 changes: 2 additions & 2 deletions internal/resources/data_source_network_type.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

package resources

Expand All @@ -17,7 +17,7 @@ func NetworkTypeData() *schema.Resource {
"name": {
Type: schema.TypeString,
Required: true,
Description: "Name of the network type. Example 'NSX-T Segment' or 'Custom Network'",
Description: "Name of the network type. Example 'NSX Segment' or 'Custom Network'",
},
},
ReadContext: networkTypeReadContext,
Expand Down
2 changes: 2 additions & 0 deletions templates/resources/vmaas_network.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ For creating an NSX-T network, see the following examples.
This issue is already fixed in the later versions and will be released soon. For time being we are recommending manually
updating the IP pool from UI. This issue is fixed in 5.4.9 versions.

~> From 6.2.4 version, DataSource `hpegl_vmaas_network_type` expects `NSX Segment` instead of `NSX-T Segment` in the `name` attribute.

{{ .SchemaMarkdown | trimspace }}
Loading