|
1089 | 1089 | ], |
1090 | 1090 | "description": "BondConfig is a config document to create a bond (link aggregation) over a set of links." |
1091 | 1091 | }, |
| 1092 | + "network.BridgeConfigV1Alpha1": { |
| 1093 | + "properties": { |
| 1094 | + "apiVersion": { |
| 1095 | + "enum": [ |
| 1096 | + "v1alpha1" |
| 1097 | + ], |
| 1098 | + "title": "apiVersion", |
| 1099 | + "description": "apiVersion is the API version of the resource.\n", |
| 1100 | + "markdownDescription": "apiVersion is the API version of the resource.", |
| 1101 | + "x-intellij-html-description": "\u003cp\u003eapiVersion is the API version of the resource.\u003c/p\u003e\n" |
| 1102 | + }, |
| 1103 | + "kind": { |
| 1104 | + "enum": [ |
| 1105 | + "BridgeConfig" |
| 1106 | + ], |
| 1107 | + "title": "kind", |
| 1108 | + "description": "kind is the kind of the resource.\n", |
| 1109 | + "markdownDescription": "kind is the kind of the resource.", |
| 1110 | + "x-intellij-html-description": "\u003cp\u003ekind is the kind of the resource.\u003c/p\u003e\n" |
| 1111 | + }, |
| 1112 | + "name": { |
| 1113 | + "type": "string", |
| 1114 | + "title": "name", |
| 1115 | + "description": "Name of the bridge link (interface) to be created.\n", |
| 1116 | + "markdownDescription": "Name of the bridge link (interface) to be created.", |
| 1117 | + "x-intellij-html-description": "\u003cp\u003eName of the bridge link (interface) to be created.\u003c/p\u003e\n" |
| 1118 | + }, |
| 1119 | + "hardwareAddr": { |
| 1120 | + "type": "string", |
| 1121 | + "pattern": "^[0-9a-f:]+$", |
| 1122 | + "title": "hardwareAddr", |
| 1123 | + "description": "Override the hardware (MAC) address of the link.\n", |
| 1124 | + "markdownDescription": "Override the hardware (MAC) address of the link.", |
| 1125 | + "x-intellij-html-description": "\u003cp\u003eOverride the hardware (MAC) address of the link.\u003c/p\u003e\n" |
| 1126 | + }, |
| 1127 | + "links": { |
| 1128 | + "items": { |
| 1129 | + "type": "string" |
| 1130 | + }, |
| 1131 | + "type": "array", |
| 1132 | + "title": "links", |
| 1133 | + "description": "Names of the links (interfaces) to be aggregated.\nLink aliases can be used here as well.\n", |
| 1134 | + "markdownDescription": "Names of the links (interfaces) to be aggregated.\nLink aliases can be used here as well.", |
| 1135 | + "x-intellij-html-description": "\u003cp\u003eNames of the links (interfaces) to be aggregated.\nLink aliases can be used here as well.\u003c/p\u003e\n" |
| 1136 | + }, |
| 1137 | + "stp": { |
| 1138 | + "$ref": "#/$defs/network.BridgeSTPConfig", |
| 1139 | + "title": "stp", |
| 1140 | + "description": "Bridge STP (Spanning Tree Protocol) configuration.\n", |
| 1141 | + "markdownDescription": "Bridge STP (Spanning Tree Protocol) configuration.", |
| 1142 | + "x-intellij-html-description": "\u003cp\u003eBridge STP (Spanning Tree Protocol) configuration.\u003c/p\u003e\n" |
| 1143 | + }, |
| 1144 | + "vlan": { |
| 1145 | + "$ref": "#/$defs/network.BridgeVLANConfig", |
| 1146 | + "title": "vlan", |
| 1147 | + "description": "Bridge VLAN configuration.\n", |
| 1148 | + "markdownDescription": "Bridge VLAN configuration.", |
| 1149 | + "x-intellij-html-description": "\u003cp\u003eBridge VLAN configuration.\u003c/p\u003e\n" |
| 1150 | + }, |
| 1151 | + "up": { |
| 1152 | + "type": "boolean", |
| 1153 | + "title": "up", |
| 1154 | + "description": "Bring the link up or down.\n\nIf not specified, the link will be brought up.\n", |
| 1155 | + "markdownDescription": "Bring the link up or down.\n\nIf not specified, the link will be brought up.", |
| 1156 | + "x-intellij-html-description": "\u003cp\u003eBring the link up or down.\u003c/p\u003e\n\n\u003cp\u003eIf not specified, the link will be brought up.\u003c/p\u003e\n" |
| 1157 | + }, |
| 1158 | + "mtu": { |
| 1159 | + "type": "integer", |
| 1160 | + "title": "mtu", |
| 1161 | + "description": "Configure LinkMTU (Maximum Transmission Unit) for the link.\n\nIf not specified, the system default LinkMTU will be used (usually 1500).\n", |
| 1162 | + "markdownDescription": "Configure LinkMTU (Maximum Transmission Unit) for the link.\n\nIf not specified, the system default LinkMTU will be used (usually 1500).", |
| 1163 | + "x-intellij-html-description": "\u003cp\u003eConfigure LinkMTU (Maximum Transmission Unit) for the link.\u003c/p\u003e\n\n\u003cp\u003eIf not specified, the system default LinkMTU will be used (usually 1500).\u003c/p\u003e\n" |
| 1164 | + }, |
| 1165 | + "addresses": { |
| 1166 | + "items": { |
| 1167 | + "$ref": "#/$defs/network.AddressConfig" |
| 1168 | + }, |
| 1169 | + "type": "array", |
| 1170 | + "title": "addresses", |
| 1171 | + "description": "Configure addresses to be statically assigned to the link.\n", |
| 1172 | + "markdownDescription": "Configure addresses to be statically assigned to the link.", |
| 1173 | + "x-intellij-html-description": "\u003cp\u003eConfigure addresses to be statically assigned to the link.\u003c/p\u003e\n" |
| 1174 | + }, |
| 1175 | + "routes": { |
| 1176 | + "items": { |
| 1177 | + "$ref": "#/$defs/network.RouteConfig" |
| 1178 | + }, |
| 1179 | + "type": "array", |
| 1180 | + "title": "routes", |
| 1181 | + "description": "Configure routes to be statically created via the link.\n", |
| 1182 | + "markdownDescription": "Configure routes to be statically created via the link.", |
| 1183 | + "x-intellij-html-description": "\u003cp\u003eConfigure routes to be statically created via the link.\u003c/p\u003e\n" |
| 1184 | + } |
| 1185 | + }, |
| 1186 | + "additionalProperties": false, |
| 1187 | + "type": "object", |
| 1188 | + "required": [ |
| 1189 | + "apiVersion", |
| 1190 | + "kind", |
| 1191 | + "links", |
| 1192 | + "name" |
| 1193 | + ], |
| 1194 | + "description": "BridgeConfig is a config document to create a Bridge (link aggregation) over a set of links." |
| 1195 | + }, |
| 1196 | + "network.BridgeSTPConfig": { |
| 1197 | + "properties": { |
| 1198 | + "enabled": { |
| 1199 | + "type": "boolean", |
| 1200 | + "title": "enabled", |
| 1201 | + "description": "Enable or disable STP on the bridge.\n", |
| 1202 | + "markdownDescription": "Enable or disable STP on the bridge.", |
| 1203 | + "x-intellij-html-description": "\u003cp\u003eEnable or disable STP on the bridge.\u003c/p\u003e\n" |
| 1204 | + } |
| 1205 | + }, |
| 1206 | + "additionalProperties": false, |
| 1207 | + "type": "object", |
| 1208 | + "description": "BridgeSTPConfig is a bridge STP (Spanning Tree Protocol) configuration." |
| 1209 | + }, |
| 1210 | + "network.BridgeVLANConfig": { |
| 1211 | + "properties": { |
| 1212 | + "filtering": { |
| 1213 | + "type": "boolean", |
| 1214 | + "title": "filtering", |
| 1215 | + "description": "Enable or disable VLAN filtering on the bridge.\n", |
| 1216 | + "markdownDescription": "Enable or disable VLAN filtering on the bridge.", |
| 1217 | + "x-intellij-html-description": "\u003cp\u003eEnable or disable VLAN filtering on the bridge.\u003c/p\u003e\n" |
| 1218 | + } |
| 1219 | + }, |
| 1220 | + "additionalProperties": false, |
| 1221 | + "type": "object", |
| 1222 | + "description": "BridgeVLANConfig is a bridge VLAN configuration." |
| 1223 | + }, |
1092 | 1224 | "network.CommonLinkConfig": { |
1093 | 1225 | "properties": { |
1094 | 1226 | "up": { |
|
5393 | 5525 | { |
5394 | 5526 | "$ref": "#/$defs/network.BondConfigV1Alpha1" |
5395 | 5527 | }, |
| 5528 | + { |
| 5529 | + "$ref": "#/$defs/network.BridgeConfigV1Alpha1" |
| 5530 | + }, |
5396 | 5531 | { |
5397 | 5532 | "$ref": "#/$defs/network.DefaultActionConfigV1Alpha1" |
5398 | 5533 | }, |
|
0 commit comments