Skip to content

Commit f5f78ef

Browse files
committed
feat(cluster-network-gaudi3):fixed review comments
1 parent 3ec7bc7 commit f5f78ef

8 files changed

+49
-3
lines changed

ibm/service/vpc/resource_ibm_is_cluster_network_subnet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func ResourceIBMIsClusterNetworkSubnet() *schema.Resource {
7878
},
7979
"isolation_group": &schema.Schema{
8080
Type: schema.TypeInt,
81-
Computed: true,
81+
Optional: true,
8282
Description: "The isolation group for the cluster network subnet.The value will not be greater than the cluster network profile's isolation_group_count.",
8383
},
8484
"href": &schema.Schema{

website/docs/d/is_cluster_network_profile.html.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ After your data source is created, you can read values from the following attrib
3131
- `id` - The unique identifier of the ClusterNetworkProfile.(same as `name`)
3232
- `family` - (String) The product family this cluster network profile belongs to.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
3333
- `href` - (String) The URL for this cluster network profile.
34+
- `address_configuration_services`- (List) The services that provide address configuration information for a cluster network with this profile.
35+
Nested schema for **address_configuration_services**:
36+
- `type` - (String) The type for this profile field
37+
- `values` - (String) A service providing cluster network attachment address configuration:
38+
dhcp: The DHCP service may be used.
39+
is: The API for VPC Infrastructure Services (is) may be used.
40+
is_metadata: The API for the VPC Instance Metadata Service may be used.
41+
- `isolation_group_count`- (List) The number of isolation groups in a cluster network using this profile.
42+
Nested schema for **address_configuration_services**:
43+
- `type` - (String) The type for this profile field
44+
- `value` - (Integer) The value for this profile field
45+
- `subnet_routing_supported`- (List) Indicates whether cluster networks with this profile support routing traffic between cluster network subnets in the same isolation group.
46+
Nested schema for **address_configuration_services**:
47+
- `type` - (String) The type for this profile field
48+
- `value` - (Boolean) The value for this profile field
3449
- `resource_type` - (String) The resource type.
3550
- `supported_instance_profiles` - (List) The instance profiles that support this cluster network profile.
3651
Nested schema for **supported_instance_profiles**:

website/docs/d/is_cluster_network_profiles.html.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ After your data source is created, you can read values from the following attrib
3030
- `href` - (String) The URL for this cluster network profile.
3131
- `name` - (String) The globally unique name for this cluster network profile.
3232
- `resource_type` - (String) The resource type.
33+
- `address_configuration_services`- (List) The services that provide address configuration information for a cluster network with this profile.
34+
Nested schema for **address_configuration_services**:
35+
- `type` - (String) The type for this profile field
36+
- `values` - (String) A service providing cluster network attachment address configuration:
37+
dhcp: The DHCP service may be used.
38+
is: The API for VPC Infrastructure Services (is) may be used.
39+
is_metadata: The API for the VPC Instance Metadata Service may be used.
40+
- `isolation_group_count`- (List) The number of isolation groups in a cluster network using this profile.
41+
Nested schema for **address_configuration_services**:
42+
- `type` - (String) The type for this profile field
43+
- `value` - (Integer) The value for this profile field
44+
- `subnet_routing_supported`- (List) Indicates whether cluster networks with this profile support routing traffic between cluster network subnets in the same isolation group.
45+
Nested schema for **address_configuration_services**:
46+
- `type` - (String) The type for this profile field
47+
- `value` - (Boolean) The value for this profile field
3348
- `supported_instance_profiles` - (List) The instance profiles that support this cluster network profile.
3449
Nested schema for **supported_instance_profiles**:
3550
- `href` - (String) The URL for this virtual server instance profile.

website/docs/d/is_cluster_network_subnet.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ After your data source is created, you can read values from the following attrib
3636
- `href` - (String) The URL for this cluster network subnet.
3737
- `ip_version` - (String) The IP version for this cluster network subnet.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
3838
- `ipv4_cidr_block` - (String) The IPv4 range of this cluster network subnet, expressed in CIDR format.
39+
- `isolation_group` - (Integer) The isolation group for the cluster network subnet.
3940
- `lifecycle_reasons` - (List) The reasons for the current `lifecycle_state` (if any).
4041

4142
Nested schema for **lifecycle_reasons**:

website/docs/d/is_cluster_network_subnets.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ After your data source is created, you can read values from the following attrib
4040
- `id` - (String) The unique identifier for this cluster network subnet.
4141
- `ip_version` - (String) The IP version for this cluster network subnet.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
4242
- `ipv4_cidr_block` - (String) The IPv4 range of this cluster network subnet, expressed in CIDR format.
43+
- `isolation_group` - (Integer) The isolation group for the cluster network subnet.
4344
- `lifecycle_reasons` - (List) The reasons for the current `lifecycle_state` (if any).
4445
Nested schema for **lifecycle_reasons**:
4546
- `code` - (String) A reason code for this lifecycle state:- `internal_error`: internal error (contact IBM support)- `resource_suspended_by_provider`: The resource has been suspended (contact IBM support)The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.

website/docs/d/is_instance_profile.html.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ In addition to the argument reference list, you can access the following attribu
142142
- `href` - (String) The URL for this virtual server instance profile.
143143
- `memory` - (List) Nested `memory` blocks have the following structure:
144144

145+
- `cluster_network_attachment_isolation_policy` - (List)
146+
147+
Nested scheme for `cluster_network_attachment_isolation_policy`:
148+
- `type` - (String) The type for this profile field.
149+
- `value` - (String) The policy the system will use to assign the isolation groups to cluster network attachments.
150+
145151
Nested scheme for `memory`:
146152
- `default` - (String) The default value for this profile field.
147153
- `max` - (String) The maximum value for this profile field.
@@ -206,3 +212,5 @@ In addition to the argument reference list, you can access the following attribu
206212
- `default` - (String) The default VCPU manufacturer for an instance with this profile.
207213
- `type` - (String) The type for this profile field.
208214
- `value` - (String) The VCPU manufacturer for an instance with this profile.
215+
216+

website/docs/d/is_instance_profiles.html.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ You can access the following attribute references after your data source is crea
6161
- `type` - (String) The type for this profile field.
6262
- `values` - (List) The permitted values for this profile field.
6363

64+
- `cluster_network_attachment_isolation_policy` - (List)
65+
66+
Nested schema for **cluster_network_attachment_isolation_policy**:
67+
- `type` - (String) The type for this profile field.
68+
- `value` - (String) The policy the system will use to assign the isolation groups to cluster network attachments.
69+
6470
- `confidential_compute_modes` - (List)
6571

6672
Nested schema for **confidential_compute_modes**:

website/docs/r/is_cluster_network_subnet.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can specify the following arguments for this resource.
3030
- `cluster_network_id` - (Required, Forces new resource, String) The cluster network identifier.
3131
- `ip_version` - (Optional, String) The IP version for this cluster network subnet.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. Allowable values are: `ipv4`.
3232
- `ipv4_cidr_block` - (Optional, String) The IPv4 range of this cluster network subnet, expressed in CIDR format.
33-
- `isolation_group` - (Optional, Integer) The isolation group for the cluster network subnet.The specified value must not exceed the cluster network's profile's isolation_group_count.
33+
- `isolation_group` - (Optional, Integer) The isolation group for the cluster network subnet.The specified value must not exceed the cluster network's profile's isolation_group_count.
3434
- `name` - (Optional, String) The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
3535
- `total_ipv4_address_count` - (Optional, Integer) The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2<sup>(32 - prefix length)
3636
</sup>. For example, the prefix length `/24` gives:<br> 2<sup>(32 - 24)</sup> = 2<sup>8</sup> = 256 addresses.
@@ -42,7 +42,7 @@ After your resource is created, you can read values from the listed arguments an
4242

4343
- `id` - The unique identifier of the ClusterNetworkSubnet.
4444
- `available_ipv4_address_count` - (Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
45-
- `isolation_group` - (Optional, Integer) The isolation group for the cluster network subnet.The specified value must not exceed the cluster network's profile's
45+
- `isolation_group` - (Integer) The isolation group for the cluster network subnet.
4646
- `created_at` - (String) The date and time that the cluster network subnet was created.
4747
- `href` - (String) The URL for this cluster network subnet.
4848
- `cluster_network_subnet_id` - (String) The unique identifier for this cluster network subnet.

0 commit comments

Comments
 (0)