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

OCM-1759 | feat: add CIDR block to /vpcs output #823

Merged
merged 1 commit into from
Sep 8, 2023
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
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
}