Skip to content

Commit

Permalink
Update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Jul 25, 2024
1 parent 0a9333f commit 040df42
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 21 deletions.
8 changes: 4 additions & 4 deletions api/models/v1_network_create_request.go

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

8 changes: 4 additions & 4 deletions api/models/v1_network_immutable.go

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

59 changes: 54 additions & 5 deletions api/models/v1_network_response.go

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

21 changes: 13 additions & 8 deletions metal-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -3666,7 +3666,7 @@
},
"v1.NetworkCreateRequest": {
"properties": {
"addressfamily": {
"addressfamilies": {
"additionalProperties": {
"type": "boolean"
},
Expand Down Expand Up @@ -3752,7 +3752,7 @@
}
},
"required": [
"addressfamily",
"addressfamilies",
"destinationprefixes",
"id",
"nat",
Expand Down Expand Up @@ -3814,7 +3814,7 @@
"v1.NetworkImmutable": {
"description": "a network which contains prefixes from which IP addresses can be allocated\nprefixes that are reachable within this network",
"properties": {
"addressfamily": {
"addressfamilies": {
"additionalProperties": {
"type": "boolean"
},
Expand Down Expand Up @@ -3869,7 +3869,7 @@
}
},
"required": [
"addressfamily",
"addressfamilies",
"destinationprefixes",
"nat",
"prefixes",
Expand All @@ -3879,7 +3879,7 @@
},
"v1.NetworkResponse": {
"properties": {
"addressfamily": {
"addressfamilies": {
"additionalProperties": {
"type": "boolean"
},
Expand Down Expand Up @@ -3968,7 +3968,11 @@
},
"usage": {
"$ref": "#/definitions/v1.NetworkUsage",
"description": "usage of ips and prefixes in this network"
"description": "usage of IPv4 ips and prefixes in this network"
},
"usagev6": {
"$ref": "#/definitions/v1.NetworkUsage",
"description": "usage of IPv6 ips and prefixes in this network"
},
"vrf": {
"description": "the vrf this network is associated with",
Expand All @@ -3981,14 +3985,15 @@
}
},
"required": [
"addressfamily",
"addressfamilies",
"destinationprefixes",
"id",
"nat",
"prefixes",
"privatesuper",
"underlay",
"usage"
"usage",
"usagev6"
]
},
"v1.NetworkUpdateRequest": {
Expand Down

0 comments on commit 040df42

Please sign in to comment.