Commit 332a5aa
committed
ui: surface OVN as a guest isolation method in the Add Zone wizard
Without this, an operator standing up a new OVN-backed zone has to
either pick a different isolation method (forcing the OVN provider
into a no-op posture) or fall back to provisioning the zone via the
API and registering the OVN provider with addOvnProvider out-of-band.
Both Netris and NSX have a dedicated wizard step for the same flow;
this commit gives OVN the equivalent.
ZoneWizardPhysicalNetworkSetupStep.vue and PhysicalNetworksTab.vue:
add "OVN" to the isolation-method dropdown for KVM zones (matching
how "Netris" is gated to KVM today). Other hypervisors keep their
existing options unchanged.
ZoneWizardNetworkSetupStep.vue:
- new isOvnZone computed (mirrors isNetrisZone) flips on whenever any
declared physical network selects "OVN".
- new "ovn" step inserted into allSteps() right after the netris
step, between the physical-network grid and the public-traffic
configuration.
- new ovnFields list mirrors AddOvnProviderCmd's parameters:
name, nbConnection (required)
sbConnection, externalBridge, localnetName,
cacertpath, clientcertpath, clientprivatekeypath (optional).
Required-vs-optional matches the Java side; the operator can leave
the TLS / bridge-mapping fields blank for simple labs.
- ovnSetupDescription points at a new i18n key that explains the
bridge mapping requirement on the ovn-controller side.
ZoneWizardLaunchZone.vue:
- stepData.isOvnZone is set in the existing physical-network creation
loop using the same gating as Netris/NSX (only when the OVN physnet
carries public or guest traffic - storage-only physnets do not
need a provider entry).
- stepNetworkingProviderOrStorageTraffic dispatches to the new
stepAddOvnProvider when the zone is OVN.
- stepAddOvnProvider posts to addOvnProvider with the prefillContent
collected by the wizard. Optional fields are only forwarded when
the operator filled them in, so a minimal OVN deployment that uses
default ovsdb ports / no TLS does not have to clear ghost values.
- addOvnProvider is the postAPI wrapper, parallel to addNetrisProvider
/ addNsxController.
ui/public/locales/en.json:
- 9 new label.* / message.* keys for the OVN provider step (form
labels, install-wizard tooltips, the description shown on the step,
and the "Add OVN Provider" header used by the launch progress
panel). Tooltip text spells out the connection-string format
(tcp/ssl + host + port) and the relationship between the localnet
name and ovn-bridge-mappings on the hypervisors.1 parent 91a9caa commit 332a5aa
3 files changed
Lines changed: 176 additions & 1 deletion
File tree
- ui
- public/locales
- src/views/infra/zone
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
1697 | 1706 | | |
1698 | 1707 | | |
1699 | 1708 | | |
| |||
1788 | 1797 | | |
1789 | 1798 | | |
1790 | 1799 | | |
1791 | | - | |
1792 | 1800 | | |
1793 | 1801 | | |
1794 | 1802 | | |
| |||
3115 | 3123 | | |
3116 | 3124 | | |
3117 | 3125 | | |
| 3126 | + | |
3118 | 3127 | | |
3119 | 3128 | | |
3120 | 3129 | | |
| |||
3630 | 3639 | | |
3631 | 3640 | | |
3632 | 3641 | | |
| 3642 | + | |
3633 | 3643 | | |
3634 | 3644 | | |
3635 | 3645 | | |
| |||
3654 | 3664 | | |
3655 | 3665 | | |
3656 | 3666 | | |
| 3667 | + | |
| 3668 | + | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
3657 | 3675 | | |
3658 | 3676 | | |
3659 | 3677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
496 | 503 | | |
497 | 504 | | |
498 | 505 | | |
| |||
910 | 917 | | |
911 | 918 | | |
912 | 919 | | |
| 920 | + | |
| 921 | + | |
913 | 922 | | |
914 | 923 | | |
915 | 924 | | |
| |||
1157 | 1166 | | |
1158 | 1167 | | |
1159 | 1168 | | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
1160 | 1217 | | |
1161 | 1218 | | |
1162 | 1219 | | |
| |||
2339 | 2396 | | |
2340 | 2397 | | |
2341 | 2398 | | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
2342 | 2409 | | |
2343 | 2410 | | |
2344 | 2411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
105 | 117 | | |
106 | 118 | | |
107 | 119 | | |
| |||
237 | 249 | | |
238 | 250 | | |
239 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
240 | 261 | | |
241 | 262 | | |
242 | 263 | | |
| |||
261 | 282 | | |
262 | 283 | | |
263 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
264 | 291 | | |
265 | 292 | | |
266 | 293 | | |
| |||
523 | 550 | | |
524 | 551 | | |
525 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
526 | 615 | | |
527 | 616 | | |
528 | 617 | | |
| |||
594 | 683 | | |
595 | 684 | | |
596 | 685 | | |
| 686 | + | |
597 | 687 | | |
598 | 688 | | |
599 | 689 | | |
| |||
0 commit comments