Skip to content

Commit

Permalink
new platform attribute in network verification type
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleerh committed Dec 1, 2023
1 parent 951860e commit a979dcc
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions model/clusters_mgmt/v1/network_verification_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ struct NetworkVerification {
// Cluster ID needed to execute the network verification.
ClusterId String

// Platform needed to execute the network verification.
Platform Platform

// Amount of network verifier executions started.
Total Integer

Expand Down
27 changes: 27 additions & 0 deletions model/clusters_mgmt/v1/platform_type.model
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
Copyright (c) 2023 Red Hat, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Representation of an platform type field.
enum Platform {
@json(name = "aws")
Aws

@json(name = "gcp")
Gcp

@json(name = "hostedcluster")
HostedCluster
}

0 comments on commit a979dcc

Please sign in to comment.