[pve-devel] [pve-manager 1/1] sdn: zones: add ipam reservation option.
Alexandre Derumier
aderumier at odiso.com
Thu Jan 4 17:27:29 CET 2024
Manual: user need to manually do reservation
static: ip is auto assign at vm create && remove at vm delete
dynamic: ip is auto assign at vm start && remove at vm stop (not yet implemented)
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
www/manager6/sdn/zones/Base.js | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/www/manager6/sdn/zones/Base.js b/www/manager6/sdn/zones/Base.js
index 709129e6..77b57f61 100644
--- a/www/manager6/sdn/zones/Base.js
+++ b/www/manager6/sdn/zones/Base.js
@@ -53,6 +53,18 @@ Ext.define('PVE.panel.SDNZoneBase', {
value: me.ipam || 'pve',
allowBlank: false,
},
+ {
+ xtype: 'proxmoxKVComboBox',
+ fieldLabel: gettext('IPAM IP reservation'),
+ name: 'ipamreservation',
+ value: '__default__',
+ deleteEmpty: !me.isCreate,
+ comboItems: [
+ ['__default__', 'manual'],
+ ['static', 'static (ip remove at vm deleted)'],
+ ['dynamic', 'dynamic (ip remove at vm stop)'],
+ ],
+ },
);
me.advancedItems = me.advancedItems ?? [];
--
2.39.2
More information about the pve-devel
mailing list