mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-01 12:48:53 +08:00
feat: add access / trunk mode in create VM network page (#510)
* feat: add l2VlanTrunkMode feature Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: remove unneeded code Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: fix edit l2vlan trunk mode edit page Signed-off-by: Andy Lee <andy.lee@suse.com> * fix: hide Route tab when trunk mode Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
1 parent
f22644e058
commit
532b6c4d50
5 files changed
+188
-15
No files matched your search
@@ -50,7 +50,8 @@ const FEATURE_FLAGS = {
|
||||
],
|
||||
'v1.6.1': [],
|
||||
'v1.7.0': [
|
||||
'vmMachineTypeAuto'
|
||||
'vmMachineTypeAuto',
|
||||
'l2VlanTrunkMode'
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
@@ -4,9 +4,10 @@ export const BACKUP_TYPE = {
|
||||
};
|
||||
|
||||
export const NETWORK_TYPE = {
|
||||
L2VLAN: 'L2VlanNetwork',
|
||||
UNTAGGED: 'UntaggedNetwork',
|
||||
OVERLAY: 'OverlayNetwork',
|
||||
L2VLAN: 'L2VlanNetwork',
|
||||
UNTAGGED: 'UntaggedNetwork',
|
||||
OVERLAY: 'OverlayNetwork',
|
||||
L2TRUNK_VLAN: 'L2VlanTrunkNetwork',
|
||||
};
|
||||
|
||||
export const VOLUME_MODE = {
|
||||
@@ -23,3 +24,8 @@ export const INTERNAL_STORAGE_CLASS = {
|
||||
VMSTATE_PERSISTENCE: 'vmstate-persistence',
|
||||
LONGHORN_STATIC: 'longhorn-static',
|
||||
};
|
||||
|
||||
export const L2VLAN_MODE = {
|
||||
ACCESS: 'access',
|
||||
TRUNK: 'trunk',
|
||||
};
|
||||
Reference in new issue
Block a user