* [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements
@ 2022-02-11 9:33 Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 1/6] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets Alexandre Derumier
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 UTC (permalink / raw)
To: pve-devel
add new bgp/evpn options
Alexandre Derumier (6):
ui: sdn: zones: evpn : add exitnodes-local-routing &&
advertise-subnets
ui: sdn: zones: evpn : add disable-arp-nd-suppression
ui: sdn: zones: evpn : add exitnodes-primary
ui: sdn: zones: evpn : move controller option on top of the form
ui: sdn: zones: evpn : add rt-import
ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax
www/manager6/sdn/controllers/BgpEdit.js | 7 ++++
www/manager6/sdn/zones/Base.js | 2 +
www/manager6/sdn/zones/EvpnEdit.js | 56 ++++++++++++++++++++++---
3 files changed, 60 insertions(+), 5 deletions(-)
--
2.30.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [pve-devel] [PATCH pve-manager 1/6] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
@ 2022-02-11 9:33 ` Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 2/6] ui: sdn: zones: evpn : add disable-arp-nd-suppression Alexandre Derumier
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 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] 8+ messages in thread
* [pve-devel] [PATCH pve-manager 2/6] ui: sdn: zones: evpn : add disable-arp-nd-suppression
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 1/6] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets Alexandre Derumier
@ 2022-02-11 9:33 ` Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 3/6] ui: sdn: zones: evpn : add exitnodes-primary Alexandre Derumier
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/zones/EvpnEdit.js | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index 04a6f4d6..d5a09ecf 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -24,6 +24,10 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
delete values['exitnodes-local-routing'];
}
+ if (values['disable-arp-nd-suppression'] === 0) {
+ delete values['disable-arp-nd-suppression'];
+ }
+
return values;
},
@@ -76,6 +80,13 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
checked: false,
fieldLabel: gettext('Advertise subnets'),
},
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'disable-arp-nd-suppression',
+ uncheckedValue: 0,
+ checked: false,
+ fieldLabel: gettext('Disable arp-nd suppression'),
+ },
{
xtype: 'pveSDNControllerSelector',
fieldLabel: gettext('Controller'),
--
2.30.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [pve-devel] [PATCH pve-manager 3/6] ui: sdn: zones: evpn : add exitnodes-primary
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 1/6] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 2/6] ui: sdn: zones: evpn : add disable-arp-nd-suppression Alexandre Derumier
@ 2022-02-11 9:33 ` Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 4/6] ui: sdn: zones: evpn : move controller option on top of the form Alexandre Derumier
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/zones/EvpnEdit.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index d5a09ecf..fcebbca7 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -66,6 +66,13 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
multiSelect: true,
autoSelect: false,
},
+ {
+ xtype: 'pveNodeSelector',
+ name: 'exitnodes-primary',
+ fieldLabel: gettext('Primary Exit Node'),
+ multiSelect: false,
+ autoSelect: false,
+ },
{
xtype: 'proxmoxcheckbox',
name: 'exitnodes-local-routing',
--
2.30.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [pve-devel] [PATCH pve-manager 4/6] ui: sdn: zones: evpn : move controller option on top of the form
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
` (2 preceding siblings ...)
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 3/6] ui: sdn: zones: evpn : add exitnodes-primary Alexandre Derumier
@ 2022-02-11 9:33 ` Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 5/6] ui: sdn: zones: evpn : add rt-import Alexandre Derumier
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/zones/EvpnEdit.js | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index fcebbca7..c994d674 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -43,6 +43,13 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
fieldLabel: 'ID',
allowBlank: false,
},
+ {
+ xtype: 'pveSDNControllerSelector',
+ fieldLabel: gettext('Controller'),
+ name: 'controller',
+ value: '',
+ allowBlank: false,
+ },
{
xtype: 'proxmoxintegerfield',
name: 'vrf-vxlan',
@@ -94,13 +101,6 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
checked: false,
fieldLabel: gettext('Disable arp-nd suppression'),
},
- {
- xtype: 'pveSDNControllerSelector',
- fieldLabel: gettext('Controller'),
- name: 'controller',
- value: '',
- allowBlank: false,
- },
{
xtype: 'proxmoxintegerfield',
name: 'mtu',
--
2.30.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [pve-devel] [PATCH pve-manager 5/6] ui: sdn: zones: evpn : add rt-import
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
` (3 preceding siblings ...)
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 4/6] ui: sdn: zones: evpn : move controller option on top of the form Alexandre Derumier
@ 2022-02-11 9:33 ` Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 6/6] ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax Alexandre Derumier
2022-03-29 15:34 ` [pve-devel] applied: [PATCH pve-manager 0/6] bgp/evpn improvements Thomas Lamprecht
6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/zones/EvpnEdit.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index c994d674..0ac40fc5 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -101,6 +101,12 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
checked: false,
fieldLabel: gettext('Disable arp-nd suppression'),
},
+ {
+ xtype: 'textfield',
+ name: 'rt-import',
+ fieldLabel: gettext('Route-target import'),
+ allowBlank: true,
+ },
{
xtype: 'proxmoxintegerfield',
name: 'mtu',
--
2.30.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [pve-devel] [PATCH pve-manager 6/6] ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
` (4 preceding siblings ...)
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 5/6] ui: sdn: zones: evpn : add rt-import Alexandre Derumier
@ 2022-02-11 9:33 ` Alexandre Derumier
2022-03-29 15:34 ` [pve-devel] applied: [PATCH pve-manager 0/6] bgp/evpn improvements Thomas Lamprecht
6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Derumier @ 2022-02-11 9:33 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/controllers/BgpEdit.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/www/manager6/sdn/controllers/BgpEdit.js b/www/manager6/sdn/controllers/BgpEdit.js
index b698d1be..ce5ef93d 100644
--- a/www/manager6/sdn/controllers/BgpEdit.js
+++ b/www/manager6/sdn/controllers/BgpEdit.js
@@ -68,6 +68,13 @@ Ext.define('PVE.sdn.controllers.BgpInputPanel', {
fieldLabel: 'ebgp-multihop',
allowBlank: true,
},
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'bgp-multipath-as-path-relax',
+ uncheckedValue: 0,
+ checked: false,
+ fieldLabel: 'bgp-multipath-as-path-relax',
+ },
];
me.callParent();
--
2.30.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [pve-devel] applied: [PATCH pve-manager 0/6] bgp/evpn improvements
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
` (5 preceding siblings ...)
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 6/6] ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax Alexandre Derumier
@ 2022-03-29 15:34 ` Thomas Lamprecht
6 siblings, 0 replies; 8+ messages in thread
From: Thomas Lamprecht @ 2022-03-29 15:34 UTC (permalink / raw)
To: Proxmox VE development discussion, Alexandre Derumier
On 11.02.22 10:33, Alexandre Derumier wrote:
> add new bgp/evpn options
>
> Alexandre Derumier (6):
> ui: sdn: zones: evpn : add exitnodes-local-routing &&
> advertise-subnets
> ui: sdn: zones: evpn : add disable-arp-nd-suppression
> ui: sdn: zones: evpn : add exitnodes-primary
> ui: sdn: zones: evpn : move controller option on top of the form
> ui: sdn: zones: evpn : add rt-import
> ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax
>
> www/manager6/sdn/controllers/BgpEdit.js | 7 ++++
> www/manager6/sdn/zones/Base.js | 2 +
> www/manager6/sdn/zones/EvpnEdit.js | 56 ++++++++++++++++++++++---
> 3 files changed, 60 insertions(+), 5 deletions(-)
>
applied, thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-03-29 15:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 9:33 [pve-devel] [PATCH pve-manager 0/6] bgp/evpn improvements Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 1/6] ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 2/6] ui: sdn: zones: evpn : add disable-arp-nd-suppression Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 3/6] ui: sdn: zones: evpn : add exitnodes-primary Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 4/6] ui: sdn: zones: evpn : move controller option on top of the form Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 5/6] ui: sdn: zones: evpn : add rt-import Alexandre Derumier
2022-02-11 9:33 ` [pve-devel] [PATCH pve-manager 6/6] ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax Alexandre Derumier
2022-03-29 15:34 ` [pve-devel] applied: [PATCH pve-manager 0/6] bgp/evpn improvements Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox