* feat: add the Kube-OVN BGP page and a BGP option on subnets Add an Overlay Networks > BGP page that edits spec.bgp of the kube-system/kubeovn Configuration: speaker hosts, neighbor IPv4 and IPv6 addresses, neighbor and cluster AS, router ID and next hops. Add a BGP option to the subnet form that sets or removes the ovn.kubernetes.io/bgp annotation. Both need Harvester v1.10.0 or later. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: move the BGP settings into the kubeovn-operator add-on Every entry under Overlay Networks is a list, and BGP is a single setting for the whole Kube-OVN install, so show it as a BGP tab in the kubeovn-operator add-on's config instead of its own page. The tab saves spec.bgp of the kube-system/kubeovn Configuration before the add-on is saved, only when it changed and the add-on stays enabled. The subnet BGP tooltip now points to it. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: make the BGP tab clearer and check each field as it is typed - Add a BGP Speaker Enabled/Disabled switch. Disabled removes the speaker hosts and keeps the other values. An untouched install opens as disabled, with empty fields instead of the placeholder values. - Neighbors are one list of IPv4 or IPv6 addresses, split by family on save with duplicates dropped. Next hops are two single fields, one per family, under Advanced. - Show the errors under each field as it is typed, and keep the same checks on save. A router ID is rejected when more than one host runs the speaker, because every speaker needs its own. - Only write the Configuration when the form changed. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: save the BGP tab on top of the latest Kube-OVN Configuration The operator rewrites the Configuration's status about every five minutes, so the copy loaded with the form went stale and saving it failed with a conflict when the form had been open for a while. Fetch the latest copy at save time and apply only spec.bgp to it. After a successful save, remember it, so pressing Save again after a failed add-on save doesn't send the Configuration twice. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: warn on the subnet form when no host runs the BGP speaker Turning BGP on for a subnet has no effect until some host runs the BGP speaker. When the subnet's BGP option is Enabled and the Kube-OVN Configuration has no speaker hosts, show a warning that links to the BGP tab of the kubeovn-operator add-on. If the Configuration can't be read, show nothing. The add-on form now shows its tabs once the BGP data is loaded, so a link to its #bgp tab opens that tab: Tabbed only honours the URL hash when the tabs first appear. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: move the BGP speaker to Overlay Networks > Settings Keep the BGP configuration out of the kubeovn-operator add-on: add an Overlay Networks > Settings page that lists cluster-wide overlay network settings as cards, like Advanced > Settings. The BGP Speaker card shows whether the speaker is off or where it runs and what it peers with, and its Edit action opens the BGP form on its own page. The page owns its Save button, so Save stays disabled while the form has errors. The add-on goes back to its generic form, and the subnet BGP warning links to the new page. The speaker state the card and the warning need is read through a kubeovn.io.configuration model. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: show why Save is disabled on the BGP Speaker page Save stays disabled while the form is invalid, but an empty Speaker Hosts or Neighbor Addresses showed no error anywhere, and the neighbor list had no required mark. Mark Neighbor Addresses as required and flag both fields when they are left empty, like the other required fields. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: show load errors and fix the add-on link on the BGP pages - The BGP Speaker page showed only its title when the Kube-OVN Configuration could not be read, because the error was only shown inside the form. Show it on the page. The Settings card now says Unknown instead of Disabled in that case. - The add-on link on the BGP Speaker page was a relative path, which resolved under /overlay-network-settings/ and opened the fail-whale. Both pages now link to the add-on by route name. - The subnet form shows its BGP warning under the BGP option, like the DHCP banner, instead of in a column of its own. - The BGP page reads hosts, neighbors and next hops through the model's getters instead of parsing them again. - The "requires v1.10.0" message uses the product name token, and the subnet BGP comment and tooltip no longer say that "local" advertises the subnet's CIDR block. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: keep the Kube-OVN model's parsing helpers private Nothing outside the model uses splitList or the placeholder neighbor addresses since the BGP page reads the model's getters, so stop exporting them. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: tell users to label the external gateway hosts on BGP subnets When BGP is enabled on a subnet, show a note under it: the hosts that carry external traffic need the label ovn.kubernetes.io/external-gw=true. It shows next to the existing warning about the BGP speaker having no hosts. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: separate the IPv4 and IPv6 BGP neighbors - The BGP Speaker page now has one neighbor list per family, like the next hops. Each list only takes addresses of its own family, and one neighbor in either list is enough. - Reject the placeholder neighbors Harvester installs (192.0.2.1 and 2001:db8::1). The page hides them on load, so a saved one disappeared on the next visit and was dropped on the next save. - Only treat the Configuration as never set up when it holds nothing but the installed values. A speaker set up with the private AS numbers 64512/64513 and then disabled used to reopen with both AS fields blank. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: edit the BGP speaker on the Overlay Network Settings page Overlay Network Settings showed one card per setting and opened the BGP speaker on a page of its own. Show the BGP speaker form on the settings page instead, in an RcSection titled BGP Speaker, with Save and no Cancel. Another setting would be another section on the same page, under the same Save. Saving stays on the page and shows what was saved. Inside the section, follow how the shell's own RcSection forms are built: the Enabled/Disabled choice has no label of its own (the section title names it), and the neighbors and the advanced options are nested secondary sections, with the two neighbor lists under column headers instead of their own headings. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: reject IPv4 addresses with leading zeros in the BGP speaker The speaker parses its addresses with Go, which rejects an IPv4 part written with a leading zero, like 192.0.2.010. The form accepted those in the IPv4 neighbors, the router ID and the next hops, and nothing on the backend checks them, so saving one left the speaker unable to start. Reject them on every address field, including an IPv6 address that ends in an IPv4 one, and say how to write the address instead. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: show the BGP speaker as its own entry under Overlay Networks The backend owner asked for BGP to show in the menu by name rather than behind a Settings entry. Replace Overlay Networks > Settings with an Overlay Networks > BGP Speaker entry that opens the form directly, titled BGP Speaker, and point the subnet's BGP warning and tooltip to it. If more parts of the Kube-OVN Configuration get a form later, they can move into a Configuration group under Overlay Networks. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> --------- Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com>
harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for Harvester within the Rancher Dashboard.
Note: This extension is available starting from Rancher 2.10.0. Ensure your Rancher version is 2.10.0 or later to access Harvester integration.
Installation
For Harvester UI extension installation instructions, please refer to the page Rancher Integration -> Harvester UI Extension in official Harvester documentation.
Development Setup
Ensure Node.js v20 or later is installed for development and debugging.
Standalone Mode
Run the extension standalone with hot reload at https://localhost:8005.
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
You may also define environment variables in a .env file:
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
Rancher Integration Mode
To run as a Rancher extension, follow the Rancher UI Extension Guide.
API=https://your-rancher-ip yarn dev
Commit Message Guidelines
This project uses commit-lint with Conventional Commits to ensure consistent and meaningful commit messages.
Commit Message Format
All commit messages must follow the conventional commit format:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Supported Types
- feat: New features
- fix: Bug fixes
- docs: Documentation changes
- style: Code style changes (formatting, missing semicolons, etc.)
- refactor: Code refactoring
- perf: Performance improvements
- test: Adding or updating tests
- build: Build system or external dependencies
- ci: CI/CD changes
- chore: Other changes that don't modify src or test files
- revert: Reverts a previous commit
- wip: Work in progress
- deps: Dependency updates
- security: Security fixes
Examples
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
Git Hooks
The project uses Husky to automatically validate commit messages and run linting before commits:
- pre-commit: Runs ESLint to ensure code quality
- commit-msg: Validates commit message format using commit-lint
These hooks are automatically installed when you run yarn install.
Manual Validation
You can manually validate commit messages:
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
Branch Structure
main– Main development branchrelease-harvester-vX.Y– Stable release branches per version seriesvX.Y-head– Testing branches for ongoing changes to extension builds in each release series
Note: The
vX.Y-headbranches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
Testing Guidelines
UI Extension Testing
To validate changes in a release series, switch to the appropriate vX.Y-head branch. For main branch testing, use main-head.
- Examples:
- Test
1.0.xseries →v1.0-head - Test
1.5.xseries →v1.5-head
- Test
Steps:
- Navigate to Rancher UI → Local → App → Repositories
- Refresh the Harvester repository using the target
vX.Y-headbranch - Go to the Extensions page and install the desired version
Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of
ui-index:- Main branch →
https://releases.rancher.com/harvester-ui/dashboard/latest/index.html - Release series
1.5.x→https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html
- Main branch →
Steps:
- Go to Harvester UI → Advanced → Settings → UI
- Set ui-source to
External - Set ui-index to the desired URL
Contributing
If you want to contribute, start by reading this document, then visit our Getting Started guide to learn how to develop and submit changes.
License
Copyright (c) 2014-2026 SUSE, LLC.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.