Skip to content

Commit 71448cf

Browse files
OAS Update
1 parent e396ae1 commit 71448cf

File tree

1 file changed

+51
-10
lines changed

1 file changed

+51
-10
lines changed

services/iaas/v1beta1/iaas.json

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@
342342
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\/(3[0-2]|2[0-9]|1[0-9]|[0-9]))$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(\\/((1(1[0-9]|2[0-8]))|([0-9][0-9])|([0-9])))?$",
343343
"type": "string"
344344
},
345+
"CIDRv6": {
346+
"description": "Classless Inter-Domain Routing (CIDR) for IPv6.",
347+
"example": "2001:0db8:85a3:0800::/56",
348+
"pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(\\/((1(1[0-9]|2[0-8]))|([0-9][0-9])|([0-9])))?$",
349+
"type": "string"
350+
},
345351
"CreateAreaAddressFamily": {
346352
"description": "The addressFamily object for a area create request.",
347353
"minProperties": 1,
@@ -408,14 +414,17 @@
408414
"type": "object"
409415
},
410416
"CreateNetworkIPv4Body": {
411-
"description": "The config object for a IPv4 network.",
417+
"description": "The config object for an IPv4 network.",
412418
"properties": {
413419
"gateway": {
414420
"$ref": "#/components/schemas/v1NetworkGateway"
415421
},
416422
"nameservers": {
417423
"$ref": "#/components/schemas/Nameserver"
418424
},
425+
"prefix": {
426+
"$ref": "#/components/schemas/CIDR"
427+
},
419428
"prefixLength": {
420429
"default": 25,
421430
"example": 24,
@@ -427,14 +436,17 @@
427436
"type": "object"
428437
},
429438
"CreateNetworkIPv6Body": {
430-
"description": "The config object for a IPv6 network.",
439+
"description": "The config object for an IPv6 network.",
431440
"properties": {
432441
"gateway": {
433442
"$ref": "#/components/schemas/v1NetworkGateway"
434443
},
435444
"nameservers": {
436445
"$ref": "#/components/schemas/Nameserverv6"
437446
},
447+
"prefix": {
448+
"$ref": "#/components/schemas/CIDRv6"
449+
},
438450
"prefixLength": {
439451
"default": 64,
440452
"example": 64,
@@ -1742,16 +1754,45 @@
17421754
"requestBody": {
17431755
"content": {
17441756
"application/json": {
1745-
"example": {
1746-
"addressFamily": {
1747-
"ipv4": {
1748-
"nameservers": [
1749-
"10.1.2.10"
1750-
],
1751-
"prefixLength": 24
1757+
"examples": {
1758+
"NetworkWithPrefix": {
1759+
"value": {
1760+
"addressFamily": {
1761+
"ipv4": {
1762+
"nameservers": [
1763+
"10.1.2.10"
1764+
],
1765+
"prefix": "10.0.3.0/25"
1766+
}
1767+
},
1768+
"name": "My Network"
17521769
}
17531770
},
1754-
"name": "My Network"
1771+
"NetworkWithPrefixLength": {
1772+
"value": {
1773+
"addressFamily": {
1774+
"ipv4": {
1775+
"nameservers": [
1776+
"10.1.2.10"
1777+
],
1778+
"prefixLength": 24
1779+
}
1780+
},
1781+
"name": "My Network"
1782+
}
1783+
},
1784+
"NetworkWithoutPrefixOrPrefixLength": {
1785+
"value": {
1786+
"addressFamily": {
1787+
"ipv4": {
1788+
"nameservers": [
1789+
"10.1.2.10"
1790+
]
1791+
}
1792+
},
1793+
"name": "My Network"
1794+
}
1795+
}
17551796
},
17561797
"schema": {
17571798
"$ref": "#/components/schemas/CreateNetworkPayload"

0 commit comments

Comments
 (0)