blob: 89e3039159f4395ca274c86f2c0232b5a78a029f [file] [log] [blame]
Ratan Gupta564282b2017-04-05 18:51:18 +05301description: >
2 This defines network tunneling parameters.
3
4# TODO Fix it through https://github.com/openbmc/openbmc/issues/1438
5# creatable: true
6
7properties:
8 - name: InterfaceName
9 type: string
10 description: >
11 Name of the interface.
12 - name: Local
13 type: string
14 description: >
15 Local endpoint of tunnel.
16 - name: Remote
17 type: string
18 description: >
19 Remote endpoint of tunnel.
20 - name: TOS
21 type: uint32
22 description: >
23 The Type Of Service byte value for a tunnel interface.
24 - name: TTL
25 type: uint32
26 description: >
27 Number of hops that a packet is permitted to travel.
28 - name: DiscoverPathMTU
29 type: boolean
30 description: >
31 When true, enables Path MTU Discovery on the tunnel.
32 - name: IPv6FlowLabel
33 type: uint32
34 description: >
35 Configures the 20-bit flow label. It can be configured to a value
36 in the range 0–0xFFFFF, or be set to "inherit", in which case the
37 original flowlabel is used.
38 - name: CopyDSCP
39 type: boolean
40 description: >
41 When true, the Differentiated Service Code Point
42 (DSCP) field will be copied to the inner header from outer header
43 during the decapsulation of an IPv6 tunnel packet.
44 - name: EncapsulationLimit
45 type: uint32
46 description: >
47 The Tunnel Encapsulation Limit option specifies how many
48 additional levels of encapsulation are permitted to be prepended
49 to the packet.
50 - name: Key
51 type: string
52 description: >
53 This parameter specifies the same key to use in both
54 directions (InputKey= and OutputKey=).
55 - name: InputKey
56 type: string
57 description: >
58 This parameter specifies the key to use for input.
59 - name: OutputKey
60 type: string
61 description: >
62 This parameter specifies the key to use for output.
63 - name: Mode
64 type: enum[self.IPv6Tunnel]
65 description: >
66 An "ip6tnl" tunnel can be in one of three modes.
67 default: any
68
69enumerations:
70 - name: IPv6Tunnel
71 description: >
72 Possible IPv6 tunnel types.
73 values:
74 - name: ip6ip6
75 description: >
76 IPv6 over IPv6.
77 - name: ipip6
78 description: >
79 IPv4 over IPv6.
80 - name: any
81 description: >
82 Either ip6ip6 or ipip6.