* [pve-devel] [PATCH pve-manager] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets
@ 2021-09-05 7:37 Alexandre Derumier
2022-03-16 15:27 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Derumier @ 2021-09-05 7:37 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/zones/Base.js | 2 ++
www/manager6/sdn/zones/EvpnEdit.js | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/www/manager6/sdn/zones/Base.js b/www/manager6/sdn/zones/Base.js
index e4dc7ccf..347889c0 100644
--- a/www/manager6/sdn/zones/Base.js
+++ b/www/manager6/sdn/zones/Base.js
@@ -56,6 +56,8 @@ Ext.define('PVE.panel.SDNZoneBase', {
Ext.define('PVE.sdn.zones.BaseEdit', {
extend: 'Proxmox.window.Edit',
+ width: 400,
+
initComponent: function() {
var me = this;
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index 909de2d6..04a6f4d6 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -16,6 +16,14 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
delete values.mac;
}
+ if (values['advertise-subnets'] === 0) {
+ delete values['advertise-subnets'];
+ }
+
+ if (values['exitnodes-local-routing'] === 0) {
+ delete values['exitnodes-local-routing'];
+ }
+
return values;
},
@@ -54,6 +62,20 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
multiSelect: true,
autoSelect: false,
},
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'exitnodes-local-routing',
+ uncheckedValue: 0,
+ checked: false,
+ fieldLabel: gettext('Exit Nodes local routing'),
+ },
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'advertise-subnets',
+ uncheckedValue: 0,
+ checked: false,
+ fieldLabel: gettext('Advertise subnets'),
+ },
{
xtype: 'pveSDNControllerSelector',
fieldLabel: gettext('Controller'),
--
2.30.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] applied: [PATCH pve-manager] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets
2021-09-05 7:37 [pve-devel] [PATCH pve-manager] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets Alexandre Derumier
@ 2022-03-16 15:27 ` Thomas Lamprecht
2022-03-28 21:42 ` DERUMIER, Alexandre
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Lamprecht @ 2022-03-16 15:27 UTC (permalink / raw)
To: Proxmox VE development discussion, Alexandre Derumier
On 05.09.21 09:37, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
> ---
> www/manager6/sdn/zones/Base.js | 2 ++
> www/manager6/sdn/zones/EvpnEdit.js | 22 ++++++++++++++++++++++
> 2 files changed, 24 insertions(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [pve-devel] applied: [PATCH pve-manager] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets
2022-03-16 15:27 ` [pve-devel] applied: " Thomas Lamprecht
@ 2022-03-28 21:42 ` DERUMIER, Alexandre
0 siblings, 0 replies; 3+ messages in thread
From: DERUMIER, Alexandre @ 2022-03-28 21:42 UTC (permalink / raw)
To: pve-devel, t.lamprecht, aderumier
Hi, could you applied this pve-manager patches serie too ? (Like this
it should match the last pve-network options)
https://lists.proxmox.com/pipermail/pve-devel/2022-February/051697.html
(this patch ( ui: sdn: zones: evpn : add exitnodes-local-routing &&
advertise-subnets) was resubmited in the serie, so you can skip it)
Le mercredi 16 mars 2022 à 16:27 +0100, Thomas Lamprecht a écrit :
> On 05.09.21 09:37, Alexandre Derumier wrote:
> > Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
> > ---
> > www/manager6/sdn/zones/Base.js | 2 ++
> > www/manager6/sdn/zones/EvpnEdit.js | 22 ++++++++++++++++++++++
> > 2 files changed, 24 insertions(+)
> >
> >
>
> applied, thanks!
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-28 21:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 7:37 [pve-devel] [PATCH pve-manager] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets Alexandre Derumier
2022-03-16 15:27 ` [pve-devel] applied: " Thomas Lamprecht
2022-03-28 21:42 ` DERUMIER, Alexandre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox