blob: 2852334347a0a1d037133233681fd2db4cc47361 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
<!-- include start from firewall/gre.xml.i -->
<node name="gre">
<properties>
<help>GRE fields to match</help>
</properties>
<children>
<node name="flags">
<properties>
<help>GRE flag bits to match</help>
</properties>
<children>
<node name="key">
<properties>
<help>Header includes optional key field</help>
</properties>
<children>
<leafNode name="unset">
<properties>
<help>Header does not include optional key field</help>
<valueless/>
</properties>
</leafNode>
</children>
</node>
<node name="checksum">
<properties>
<help>Header includes optional checksum</help>
</properties>
<children>
<leafNode name="unset">
<properties>
<help>Header does not include optional checksum</help>
<valueless/>
</properties>
</leafNode>
</children>
</node>
<node name="sequence">
<properties>
<help>Header includes a sequence number field</help>
</properties>
<children>
<leafNode name="unset">
<properties>
<help>Header does not include a sequence number field</help>
<valueless/>
</properties>
</leafNode>
</children>
</node>
</children>
</node>
<leafNode name="inner-proto">
<properties>
<help>EtherType of encapsulated packet</help>
<completionHelp>
<list>ip ip6 arp 802.1q 802.1ad</list>
</completionHelp>
<valueHelp>
<format>u32:0-65535</format>
<description>Ethernet protocol number</description>
</valueHelp>
<valueHelp>
<format>u32:0x0-0xffff</format>
<description>Ethernet protocol number (hex)</description>
</valueHelp>
<valueHelp>
<format>ip</format>
<description>IPv4</description>
</valueHelp>
<valueHelp>
<format>ip6</format>
<description>IPv6</description>
</valueHelp>
<valueHelp>
<format>arp</format>
<description>Address Resolution Protocol</description>
</valueHelp>
<valueHelp>
<format>802.1q</format>
<description>VLAN-tagged frames (IEEE 802.1q)</description>
</valueHelp>
<valueHelp>
<format>802.1ad</format>
<description>Provider Bridging (IEEE 802.1ad, Q-in-Q)</description>
</valueHelp>
<valueHelp>
<format>gretap</format>
<description>Transparent Ethernet Bridging (L2 Ethernet over GRE, gretap)</description>
</valueHelp>
<constraint>
<regex>(ip|ip6|arp|802.1q|802.1ad|gretap|0x[0-9a-fA-F]{1,4})</regex>
<validator name="numeric" argument="--range 0-65535"/>
</constraint>
</properties>
</leafNode>
#include <interface/parameters-key.xml.i>
<leafNode name="version">
<properties>
<help>GRE Version</help>
<valueHelp>
<format>gre</format>
<description>Standard GRE</description>
</valueHelp>
<valueHelp>
<format>pptp</format>
<description>Point to Point Tunnelling Protocol</description>
</valueHelp>
<constraint>
<regex>(gre|pptp)</regex>
</constraint>
</properties>
</leafNode>
</children>
</node>
<!-- include end -->
|