Skip to content

Instantly share code, notes, and snippets.

@nna774
Created February 26, 2020 05:46
Show Gist options
  • Save nna774/45c9f673c048512c6dd35edced4f982d to your computer and use it in GitHub Desktop.
Save nna774/45c9f673c048512c6dd35edced4f982d to your computer and use it in GitHub Desktop.
/opt/vyatta/share/vyatta-cfg/templates/interfaces/ipv6-tunnel/node.tag/encapsulation/node.def
type: txt
help: Encapsulation of this IPv6 tunnel interface [REQUIRED]
default: "ip6gre"
syntax:expression: $VAR(@) in "ip6gre", "ipip6", "any"; "Must be (ip6gre, ipip6, any)"
allowed: echo ip6gre ipip6 any
create:expression: "true"
update:expression: "false" ; \
"Encapsulation can only be set at tunnel creation for $VAR(../@)"
val_help: ip6gre; Generic Routing Encapsulation via IPv6
val_help: ipip6; IPv4 Encapsulation via IPv6
val_help: any; v4 and v6 via IPv6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment