Skip to content

Commit

Permalink
ran 'make update'
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobTanenbaum committed Jul 26, 2017
1 parent 65288be commit d758c79
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions api/swagger-spec/oapi-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25794,6 +25794,7 @@
"description": "ClusterNetwork describes the cluster network. There is normally only one object of this type, named \"default\", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time.",
"required": [
"network",
"clusterNetworks",
"hostsubnetlength",
"serviceNetwork"
],
Expand All @@ -25814,6 +25815,13 @@
"type": "string",
"description": "Network is a CIDR string specifying the global overlay network's L3 space"
},
"clusterNetworks": {
"type": "array",
"items": {
"$ref": "v1.ClusterNetworkEntry"
},
"description": "ClusterNetworks contains the definition of the CIDRs and that specify the global overlay networks L3 space"
},
"hostsubnetlength": {
"type": "integer",
"description": "HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods"
Expand All @@ -25828,6 +25836,24 @@
}
}
},
"v1.ClusterNetworkEntry": {
"id": "v1.ClusterNetworkEntry",
"description": "Contains the CIDR and the host subnet length that defines one portion of the global overlay networks L3 space",
"required": [
"CIDR",
"hostsubnetlength"
],
"properties": {
"CIDR": {
"type": "string",
"description": "CIDR is the CIDR string specifying one section of the global overlay network's L3 space"
},
"hostsubnetlength": {
"type": "integer",
"description": "HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods"
}
}
},
"v1.ClusterPolicyList": {
"id": "v1.ClusterPolicyList",
"description": "ClusterPolicyList is a collection of ClusterPolicies",
Expand Down
26 changes: 26 additions & 0 deletions api/swagger-spec/openshift-openapi-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -99186,6 +99186,7 @@
"description": "ClusterNetwork describes the cluster network. There is normally only one object of this type, named \"default\", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time.",
"required": [
"network",
"clusterNetworks",
"hostsubnetlength",
"serviceNetwork"
],
Expand All @@ -99194,6 +99195,13 @@
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"type": "string"
},
"clusterNetworks": {
"description": "ClusterNetworks contains the definition of the CIDRs and that specify the global overlay networks L3 space",
"type": "array",
"items": {
"$ref": "#/definitions/com.github.openshift.origin.pkg.sdn.apis.network.v1.ClusterNetworkEntry"
}
},
"hostsubnetlength": {
"description": "HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods",
"type": "integer",
Expand Down Expand Up @@ -99233,6 +99241,24 @@
}
]
},
"com.github.openshift.origin.pkg.sdn.apis.network.v1.ClusterNetworkEntry": {
"description": "Contains the CIDR and the host subnet length that defines one portion of the global overlay networks L3 space",
"required": [
"CIDR",
"hostsubnetlength"
],
"properties": {
"CIDR": {
"description": "CIDR is the CIDR string specifying one section of the global overlay network's L3 space",
"type": "string"
},
"hostsubnetlength": {
"description": "HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods",
"type": "integer",
"format": "int64"
}
}
},
"com.github.openshift.origin.pkg.sdn.apis.network.v1.ClusterNetworkList": {
"description": "ClusterNetworkList is a collection of ClusterNetworks",
"required": [
Expand Down
2 changes: 2 additions & 0 deletions pkg/sdn/apis/network/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/sdn/apis/network/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type ClusterNetwork struct {
//Contains the CIDR and the host subnet length that defines one portion of the global overlay networks L3 space
type ClusterNetworkEntry struct {
// CIDR is the CIDR string specifying one section of the global overlay network's L3 space
CIDR string `json:"CIDR" protobuf:"bytes,1,opt,name=CIDR"`
CIDR string `json:"CIDR" protobuf:"bytes,1,opt,name=CIDR"`
// HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods
HostSubnetLength uint32 `json:"hostsubnetlength" protobuf:"varint,2,opt,name=hostsubnetlength"`
}
Expand Down

0 comments on commit d758c79

Please sign in to comment.