|
275 | 275 | "description": { |
276 | 276 | "$ref": "#/components/schemas/Description" |
277 | 277 | }, |
| 278 | + "dynamicRoutes": { |
| 279 | + "$ref": "#/components/schemas/DynamicRoutes" |
| 280 | + }, |
278 | 281 | "id": { |
279 | 282 | "allOf": [ |
280 | 283 | { |
|
290 | 293 | "$ref": "#/components/schemas/GenericName" |
291 | 294 | }, |
292 | 295 | "systemRoutes": { |
293 | | - "default": true, |
294 | | - "type": "boolean" |
| 296 | + "$ref": "#/components/schemas/SystemRoutes" |
295 | 297 | }, |
296 | 298 | "updatedAt": { |
297 | 299 | "allOf": [ |
|
519 | 521 | ], |
520 | 522 | "type": "object" |
521 | 523 | }, |
| 524 | + "DynamicRoutes": { |
| 525 | + "default": true, |
| 526 | + "description": "A config setting for a routing table which allows propagation of dynamic routes to this routing table.", |
| 527 | + "type": "boolean" |
| 528 | + }, |
522 | 529 | "Error": { |
523 | 530 | "description": "Error with HTTP error code and an error message.", |
524 | 531 | "properties": { |
|
557 | 564 | "type": "string" |
558 | 565 | }, |
559 | 566 | "Labels": { |
560 | | - "description": "Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`. Providing a `null` value for a key will remove that key.", |
| 567 | + "description": "Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key.", |
561 | 568 | "example": { |
562 | 569 | "key": "value" |
563 | 570 | }, |
|
971 | 978 | "description": { |
972 | 979 | "$ref": "#/components/schemas/Description" |
973 | 980 | }, |
| 981 | + "dynamicRoutes": { |
| 982 | + "$ref": "#/components/schemas/DynamicRoutes" |
| 983 | + }, |
974 | 984 | "id": { |
975 | 985 | "allOf": [ |
976 | 986 | { |
|
986 | 996 | "$ref": "#/components/schemas/GenericName" |
987 | 997 | }, |
988 | 998 | "systemRoutes": { |
989 | | - "default": true, |
990 | | - "type": "boolean" |
| 999 | + "$ref": "#/components/schemas/SystemRoutes" |
991 | 1000 | }, |
992 | 1001 | "updatedAt": { |
993 | 1002 | "allOf": [ |
|
1022 | 1031 | }, |
1023 | 1032 | "type": "array" |
1024 | 1033 | }, |
| 1034 | + "SystemRoutes": { |
| 1035 | + "default": true, |
| 1036 | + "description": "A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.", |
| 1037 | + "type": "boolean" |
| 1038 | + }, |
1025 | 1039 | "UUID": { |
1026 | 1040 | "description": "Universally Unique Identifier (UUID).", |
1027 | 1041 | "example": "d61a8564-c8dd-4ffb-bc15-143e7d0c85ed", |
|
1031 | 1045 | "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", |
1032 | 1046 | "type": "string" |
1033 | 1047 | }, |
| 1048 | + "UpdateDynamicRoutes": { |
| 1049 | + "description": "The update config setting for a routing table which allows propagation of dynamic routes to this routing table.", |
| 1050 | + "type": "boolean" |
| 1051 | + }, |
1034 | 1052 | "UpdateNetworkIPv4Body": { |
1035 | 1053 | "description": "The config object for a IPv4 network update.", |
1036 | 1054 | "properties": { |
|
1070 | 1088 | "description": { |
1071 | 1089 | "$ref": "#/components/schemas/Description" |
1072 | 1090 | }, |
| 1091 | + "dynamicRoutes": { |
| 1092 | + "$ref": "#/components/schemas/UpdateDynamicRoutes" |
| 1093 | + }, |
1073 | 1094 | "labels": { |
1074 | 1095 | "$ref": "#/components/schemas/Labels" |
1075 | 1096 | }, |
1076 | 1097 | "name": { |
1077 | 1098 | "$ref": "#/components/schemas/GenericName" |
| 1099 | + }, |
| 1100 | + "systemRoutes": { |
| 1101 | + "$ref": "#/components/schemas/UpdateSystemRoutes" |
1078 | 1102 | } |
1079 | 1103 | }, |
1080 | 1104 | "type": "object" |
1081 | 1105 | }, |
| 1106 | + "UpdateSystemRoutes": { |
| 1107 | + "description": "The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.", |
| 1108 | + "type": "boolean" |
| 1109 | + }, |
1082 | 1110 | "UpdatedAt": { |
1083 | 1111 | "description": "Date-time when resource was last updated.", |
1084 | 1112 | "example": "2017-07-21T17:32:28Z", |
|
1105 | 1133 | }, |
1106 | 1134 | "description": "This API allows you to create and modify IaaS resources.", |
1107 | 1135 | "termsOfService": "https://stackit.de/en/imprint", |
1108 | | - "title": "IaaS-API", |
| 1136 | + "title": "STACKIT IaaS API", |
1109 | 1137 | "version": "2alpha1" |
1110 | 1138 | }, |
1111 | 1139 | "openapi": "3.0.1", |
|
1362 | 1390 | } |
1363 | 1391 | } |
1364 | 1392 | }, |
| 1393 | + "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/networks": { |
| 1394 | + "get": { |
| 1395 | + "description": "Get a list of all networks in a routing table.", |
| 1396 | + "operationId": "ListNetworksOfRoutingTable", |
| 1397 | + "responses": { |
| 1398 | + "200": { |
| 1399 | + "content": { |
| 1400 | + "application/json": { |
| 1401 | + "schema": { |
| 1402 | + "$ref": "#/components/schemas/NetworkListResponse" |
| 1403 | + } |
| 1404 | + } |
| 1405 | + }, |
| 1406 | + "description": "List all routing table networks." |
| 1407 | + }, |
| 1408 | + "400": { |
| 1409 | + "$ref": "#/components/responses/BadRequest" |
| 1410 | + }, |
| 1411 | + "401": { |
| 1412 | + "$ref": "#/components/responses/Unauthorized" |
| 1413 | + }, |
| 1414 | + "403": { |
| 1415 | + "$ref": "#/components/responses/Forbidden" |
| 1416 | + }, |
| 1417 | + "404": { |
| 1418 | + "$ref": "#/components/responses/NotFound" |
| 1419 | + }, |
| 1420 | + "500": { |
| 1421 | + "$ref": "#/components/responses/InternalServerError" |
| 1422 | + } |
| 1423 | + }, |
| 1424 | + "summary": "List all networks in a routing table.", |
| 1425 | + "x-stackit-authorization": { |
| 1426 | + "actions": [ |
| 1427 | + "iaas.network-area.rt.network.list" |
| 1428 | + ], |
| 1429 | + "resource-id": "organizationId", |
| 1430 | + "resource-id-type": "dynamic", |
| 1431 | + "resource-type": "organization" |
| 1432 | + } |
| 1433 | + }, |
| 1434 | + "parameters": [ |
| 1435 | + { |
| 1436 | + "$ref": "#/components/parameters/v1OrganizationID" |
| 1437 | + }, |
| 1438 | + { |
| 1439 | + "$ref": "#/components/parameters/v1NetworkAreaID" |
| 1440 | + }, |
| 1441 | + { |
| 1442 | + "$ref": "#/components/parameters/v1Region" |
| 1443 | + }, |
| 1444 | + { |
| 1445 | + "$ref": "#/components/parameters/v2RoutingTableID" |
| 1446 | + } |
| 1447 | + ] |
| 1448 | + }, |
1365 | 1449 | "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes": { |
1366 | 1450 | "get": { |
1367 | 1451 | "description": "Get a list of all routes in a routing table.", |
|
0 commit comments