From acb3676f64ee7270e0e042462d721a1bdefbdb3b Mon Sep 17 00:00:00 2001 From: Tom McKay Date: Tue, 29 Aug 2023 08:57:55 -0400 Subject: [PATCH] OCM-1759 | feat: add CIDR block to /vpcs output --- model/clusters_mgmt/v1/aws_subnetwork_type.model | 13 ++++++++----- model/clusters_mgmt/v1/vpc_inquiry_type.model | 9 ++++++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/model/clusters_mgmt/v1/aws_subnetwork_type.model b/model/clusters_mgmt/v1/aws_subnetwork_type.model index 42cccc49..b818aed3 100644 --- a/model/clusters_mgmt/v1/aws_subnetwork_type.model +++ b/model/clusters_mgmt/v1/aws_subnetwork_type.model @@ -16,15 +16,18 @@ limitations under the License. // AWS subnetwork object to be used while installing a cluster struct Subnetwork { - // The subnet id to be used while installing a cluster + // The subnet ID to be used while installing a cluster. SubnetID String - // Name of the subnet according to its `Name` tag on AWS + // Name of the subnet according to its `Name` tag on AWS. Name String - // Whether it is a public subnet + // Whether or not it is a public subnet. Public Boolean - - // The availability zone to which the subnet is related + + // The availability zone to which the subnet is related. AvailabilityZone String + + // The CIDR Block of the subnet. + CIDRBlock String } diff --git a/model/clusters_mgmt/v1/vpc_inquiry_type.model b/model/clusters_mgmt/v1/vpc_inquiry_type.model index 1c308929..503db7e3 100644 --- a/model/clusters_mgmt/v1/vpc_inquiry_type.model +++ b/model/clusters_mgmt/v1/vpc_inquiry_type.model @@ -16,15 +16,18 @@ limitations under the License. // Description of a cloud provider virtual private cloud. struct CloudVPC { - // Name of virtual private cloud according to its `Name` tag on AWS + // Name of virtual private cloud according to its `Name` tag on AWS. Name String - // ID of virtual private cloud + // ID of virtual private cloud. ID String // List of subnets used by the virtual private cloud. Subnets []String - // List of subnetworks + // List of AWS subnetworks with details. AWSSubnets []Subnetwork + + // CIDR block of the virtual private cloud. + CIDRBlock String }