]>
Commit | Line | Data |
---|---|---|
9233148b AD |
1 | Ext.define('PVE.sdn.controllers.EvpnInputPanel', { |
2 | extend: 'PVE.panel.SDNControllerBase', | |
3 | ||
f3c1eac7 TL |
4 | onlineHelp: 'pvesdn_controller_plugin_evpn', |
5 | ||
8058410f | 6 | initComponent: function() { |
9233148b AD |
7 | var me = this; |
8 | ||
f3c1eac7 TL |
9 | me.items = [ |
10 | { | |
11 | xtype: me.isCreate ? 'textfield' : 'displayfield', | |
12 | name: 'controller', | |
872f9a05 | 13 | maxLength: 8, |
f3c1eac7 TL |
14 | value: me.controllerid || '', |
15 | fieldLabel: 'ID', | |
f6710aac | 16 | allowBlank: false, |
f3c1eac7 TL |
17 | }, |
18 | { | |
19 | xtype: 'proxmoxintegerfield', | |
20 | name: 'asn', | |
21 | minValue: 1, | |
22 | maxValue: 4294967295, | |
23 | value: 65000, | |
24 | fieldLabel: 'ASN #', | |
f6710aac | 25 | allowBlank: false, |
f3c1eac7 TL |
26 | }, |
27 | { | |
28 | xtype: 'textfield', | |
29 | name: 'peers', | |
30 | fieldLabel: gettext('Peers'), | |
f6710aac | 31 | allowBlank: false, |
f3c1eac7 | 32 | }, |
9233148b AD |
33 | ]; |
34 | ||
35 | me.callParent(); | |
f6710aac | 36 | }, |
9233148b | 37 | }); |