Commit 039f703
Add trunk subports support for OpenStackMachine ports
This adds the ability to specify subports when creating trunk ports.
Users can now define VLAN subports that will be attached to the trunk
when the port is created.
Example usage:
ports:
- network:
filter:
name: foo_vlan_300
trunk: true
subports:
- network:
filter:
name: bar_vlan_301
segmentationID: 301
segmentationType: "vlan"
- Added SubportOpts and ResolvedSubportSpec types to API
- Since sub-ports and ports are essentially the same entities
CommonPortOpts and CommonResolvedPortSpec types were introduced as a
basis for regular ports and trunk subports
- Added SubPortStatus to keep track of ports which are associated with
trunk
- Introduced separate method for adding supports to trunk
- Added AddSubports method to NetworkClient interface
- Added validation to ensure subports require trunk enabled
- Updated port normalization to resolve subports1 parent 0c82f66 commit 039f703
41 files changed
Lines changed: 6451 additions & 618 deletions
File tree
- api
- v1alpha1
- v1alpha7
- v1beta1
- cmd/models-schema
- config/crd/bases
- controllers
- docs/book/src
- api/v1beta1
- clusteropenstack
- pkg
- clients
- mock
- cloud/services
- compute
- networking
- generated/applyconfiguration
- api/v1beta1
- internal
- webhooks
- test/e2e
- data/kustomize/multi-network
- suites
- apivalidations
- e2e
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
426 | 428 | | |
427 | 429 | | |
428 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
429 | 460 | | |
430 | 461 | | |
431 | 462 | | |
| |||
482 | 513 | | |
483 | 514 | | |
484 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
485 | 544 | | |
486 | 545 | | |
487 | 546 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
328 | 333 | | |
329 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
330 | 358 | | |
331 | 359 | | |
332 | 360 | | |
| |||
393 | 421 | | |
394 | 422 | | |
395 | 423 | | |
396 | | - | |
| 424 | + | |
397 | 425 | | |
398 | 426 | | |
399 | 427 | | |
| |||
408 | 436 | | |
409 | 437 | | |
410 | 438 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | 439 | | |
416 | 440 | | |
417 | 441 | | |
| |||
425 | 449 | | |
426 | 450 | | |
427 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
428 | 479 | | |
429 | 480 | | |
430 | 481 | | |
431 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
432 | 493 | | |
433 | 494 | | |
434 | 495 | | |
| |||
0 commit comments