Extend the generic NodeEdit panel for OSPF. Currently there are no node-specific properties for OSPF, so leave the additionalItems empty.
Co-authored-by: Gabriel Goller <g.gol...@proxmox.com> Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com> --- www/manager6/Makefile | 1 + www/manager6/sdn/fabrics/ospf/NodeEdit.js | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 www/manager6/sdn/fabrics/ospf/NodeEdit.js diff --git a/www/manager6/Makefile b/www/manager6/Makefile index 69c6446c5..fd5c0cfc9 100644 --- a/www/manager6/Makefile +++ b/www/manager6/Makefile @@ -313,6 +313,7 @@ JSSRC= \ sdn/fabrics/openfabric/InterfacePanel.js \ sdn/fabrics/openfabric/NodeEdit.js \ sdn/fabrics/ospf/InterfacePanel.js \ + sdn/fabrics/ospf/NodeEdit.js \ storage/ContentView.js \ storage/BackupView.js \ storage/Base.js \ diff --git a/www/manager6/sdn/fabrics/ospf/NodeEdit.js b/www/manager6/sdn/fabrics/ospf/NodeEdit.js new file mode 100644 index 000000000..cc49312b3 --- /dev/null +++ b/www/manager6/sdn/fabrics/ospf/NodeEdit.js @@ -0,0 +1,8 @@ +Ext.define('PVE.sdn.Fabric.Ospf.Node.Edit', { + extend: 'PVE.sdn.Fabric.Node.Edit', + protocol: 'ospf', + + extraRequestParams: { + protocol: 'ospf', + }, +}); -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel