Skip to content

Commit

Permalink
Merge pull request #823 from thomasmckay/1759-vpc-cidr
Browse files Browse the repository at this point in the history
OCM-1759 | feat: add CIDR block to /vpcs output
  • Loading branch information
gdbranco authored Sep 8, 2023
2 parents 56a96c2 + acb3676 commit 06c7850
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
13 changes: 8 additions & 5 deletions model/clusters_mgmt/v1/aws_subnetwork_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
9 changes: 6 additions & 3 deletions model/clusters_mgmt/v1/vpc_inquiry_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 06c7850

Please sign in to comment.