]>
Commit | Line | Data |
---|---|---|
499a4af6 | 1 | Ext.define('PVE.form.IPProtocolSelector', { |
0fc95a12 | 2 | extend: 'Proxmox.form.ComboGrid', |
499a4af6 | 3 | alias: ['widget.pveIPProtocolSelector'], |
3d990919 EK |
4 | valueField: 'p', |
5 | displayField: 'p', | |
6 | listConfig: { | |
7 | columns: [ | |
8 | { | |
9 | header: gettext('Protocol'), | |
10 | dataIndex: 'p', | |
11 | hideable: false, | |
12 | sortable: false, | |
13 | width: 100 | |
14 | }, | |
15 | { | |
16 | header: gettext('Number'), | |
17 | dataIndex: 'n', | |
18 | hideable: false, | |
19 | sortable: false, | |
20 | width: 50 | |
21 | }, | |
22 | { | |
23 | header: gettext('Description'), | |
24 | dataIndex: 'd', | |
25 | hideable: false, | |
26 | sortable: false, | |
27 | flex: 1 | |
28 | } | |
29 | ] | |
30 | }, | |
31 | store: { | |
499a4af6 DM |
32 | fields: [ 'p', 'd', 'n'], |
33 | data: [ | |
34 | { p: 'tcp', n: 6, d: 'Transmission Control Protocol' }, | |
35 | { p: 'udp', n: 17, d: 'User Datagram Protocol' }, | |
36 | { p: 'icmp', n: 1, d: 'Internet Control Message Protocol' }, | |
37 | { p: 'igmp', n: 2, d: 'Internet Group Management' }, | |
38 | { p: 'ggp', n: 3, d: 'gateway-gateway protocol' }, | |
39 | { p: 'ipencap', n: 4, d: 'IP encapsulated in IP' }, | |
40 | { p: 'st', n: 5, d: 'ST datagram mode' }, | |
41 | { p: 'egp', n: 8, d: 'exterior gateway protocol' }, | |
42 | { p: 'igp', n: 9, d: 'any private interior gateway (Cisco)' }, | |
43 | { p: 'pup', n: 12, d: 'PARC universal packet protocol' }, | |
44 | { p: 'hmp', n: 20, d: 'host monitoring protocol' }, | |
45 | { p: 'xns-idp', n: 22, d: 'Xerox NS IDP' }, | |
46 | { p: 'rdp', n: 27, d: '"reliable datagram" protocol' }, | |
47 | { p: 'iso-tp4', n: 29, d: 'ISO Transport Protocol class 4 [RFC905]' }, | |
48 | { p: 'dccp', n: 33, d: 'Datagram Congestion Control Prot. [RFC4340]' }, | |
49 | { p: 'xtp', n: 36, d: 'Xpress Transfer Protocol' }, | |
50 | { p: 'ddp', n: 37, d: 'Datagram Delivery Protocol' }, | |
51 | { p: 'idpr-cmtp', n: 38, d: 'IDPR Control Message Transport' }, | |
52 | { p: 'ipv6', n: 41, d: 'Internet Protocol, version 6' }, | |
53 | { p: 'ipv6-route', n: 43, d: 'Routing Header for IPv6' }, | |
54 | { p: 'ipv6-frag', n: 44, d: 'Fragment Header for IPv6' }, | |
55 | { p: 'idrp', n: 45, d: 'Inter-Domain Routing Protocol' }, | |
56 | { p: 'rsvp', n: 46, d: 'Reservation Protocol' }, | |
57 | { p: 'gre', n: 47, d: 'General Routing Encapsulation' }, | |
58 | { p: 'esp', n: 50, d: 'Encap Security Payload [RFC2406]' }, | |
59 | { p: 'ah', n: 51, d: 'Authentication Header [RFC2402]' }, | |
60 | { p: 'skip', n: 57, d: 'SKIP' }, | |
61 | { p: 'ipv6-icmp', n: 58, d: 'ICMP for IPv6' }, | |
62 | { p: 'ipv6-nonxt', n: 59, d: 'No Next Header for IPv6' }, | |
63 | { p: 'ipv6-opts', n: 60, d: 'Destination Options for IPv6' }, | |
64 | { p: 'vmtp', n: 81, d: 'Versatile Message Transport' }, | |
65 | { p: 'eigrp', n: 88, d: 'Enhanced Interior Routing Protocol (Cisco)' }, | |
66 | { p: 'ospf', n: 89, d: 'Open Shortest Path First IGP' }, | |
67 | { p: 'ax.25', n: 93, d: 'AX.25 frames' }, | |
68 | { p: 'ipip', n: 94, d: 'IP-within-IP Encapsulation Protocol' }, | |
69 | { p: 'etherip', n: 97, d: 'Ethernet-within-IP Encapsulation [RFC3378]' }, | |
70 | { p: 'encap', n: 98, d: 'Yet Another IP encapsulation [RFC1241]' }, | |
71 | { p: 'pim', n: 103, d: 'Protocol Independent Multicast' }, | |
72 | { p: 'ipcomp', n: 108, d: 'IP Payload Compression Protocol' }, | |
73 | { p: 'vrrp', n: 112, d: 'Virtual Router Redundancy Protocol [RFC5798]' }, | |
74 | { p: 'l2tp', n: 115, d: 'Layer Two Tunneling Protocol [RFC2661]' }, | |
75 | { p: 'isis', n: 124, d: 'IS-IS over IPv4' }, | |
76 | { p: 'sctp', n: 132, d: 'Stream Control Transmission Protocol' }, | |
77 | { p: 'fc', n: 133, d: 'Fibre Channel' }, | |
78 | { p: 'mobility-header', n: 135, d: 'Mobility Support for IPv6 [RFC3775]' }, | |
79 | { p: 'udplite', n: 136, d: 'UDP-Lite [RFC3828]' }, | |
80 | { p: 'mpls-in-ip', n: 137, d: 'MPLS-in-IP [RFC4023]' }, | |
81 | { p: 'hip', n: 139, d: 'Host Identity Protocol' }, | |
82 | { p: 'shim6', n: 140, d: 'Shim6 Protocol [RFC5533]' }, | |
83 | { p: 'wesp', n: 141, d: 'Wrapped Encapsulating Security Payload' }, | |
84 | { p: 'rohc', n: 142, d: 'Robust Header Compression' } | |
85 | ] | |
3d990919 | 86 | } |
499a4af6 | 87 | }); |