diff --git a/pkg/harvester/list/network.harvesterhci.io.clusternetwork.vue b/pkg/harvester/list/network.harvesterhci.io.clusternetwork.vue index f9f4ba95..1a235dc6 100644 --- a/pkg/harvester/list/network.harvesterhci.io.clusternetwork.vue +++ b/pkg/harvester/list/network.harvesterhci.io.clusternetwork.vue @@ -59,7 +59,7 @@ export default { const configs = this.$store.getters[`${ inStore }/all`](HCI.VLAN_CONFIG); - return configs; + return configs.filter((config) => config.spec?.clusterNetwork !== 'mgmt'); }, vlanConfigSchema() { @@ -121,6 +121,22 @@ export default { return [...this.rows, ...fakeRows]; }, + + managementVlanConfigs() { + const inStore = this.$store.getters['currentProduct'].inStore; + + const configs = this.$store.getters[`${ inStore }/all`](HCI.VLAN_CONFIG); + + return configs + .filter((vc) => vc.spec?.clusterNetwork === 'mgmt') + .map((vc) => ({ + id: vc.id, + node: vc.id.replace('mgmt-vlanconfig-', ''), + bondMode: vc.spec?.uplink?.bondOptions?.mode || '-', + interfaces: (vc.spec?.uplink?.nics?.length ? vc.spec.uplink.nics.join(', ') : '-'), + mtu: vc.spec?.uplink?.linkAttributes?.mtu || '-', + })); + }, }, methods: { @@ -224,6 +240,29 @@ export default { + +
+
+
{{ t('harvester.tableHeaders.vm.node') }}
+
{{ t('harvester.vlanConfig.uplink.bondOptions.mode.label') }}
+
{{ t('harvester.vlanConfig.uplink.nics.label') }}
+
{{ t('harvester.vlanConfig.uplink.linkAttributes.mtu.label') }}
+
+ +
+
{{ config.node }}
+
{{ config.bondMode }}
+
{{ config.interfaces }}
+
{{ config.mtu }}
+
+