diff options
author | 2019-01-11 07:45:19 +0100 | |
---|---|---|
committer | 2019-01-11 07:46:46 +0100 | |
commit | 8a72578cec9ffe5bf815e38918fd82b190f8af38 (patch) | |
tree | 38fc04ef4dab6431861119e63f4559d5ad59bd10 /src/plugins/yang/openconfig/openconfig-if-tunnel.yang | |
parent | b70c4a3f70c08d93afb52ecb1bdd50a50feb1e1f (diff) |
Remove not supported openconfig yang modules.
Change-Id: I721def08356e64918424fdb889f545b64daeea88
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'src/plugins/yang/openconfig/openconfig-if-tunnel.yang')
-rw-r--r-- | src/plugins/yang/openconfig/openconfig-if-tunnel.yang | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/src/plugins/yang/openconfig/openconfig-if-tunnel.yang b/src/plugins/yang/openconfig/openconfig-if-tunnel.yang deleted file mode 100644 index 4efff64..0000000 --- a/src/plugins/yang/openconfig/openconfig-if-tunnel.yang +++ /dev/null @@ -1,109 +0,0 @@ -module openconfig-if-tunnel { - yang-version "1"; - - namespace "http://openconfig.net/yang/interfaces/tunnel"; - - prefix "oc-tun"; - - import openconfig-interfaces { prefix oc-if; } - import openconfig-extensions { prefix oc-ext; } - import openconfig-inet-types { prefix oc-inet; } - import openconfig-if-ip { prefix oc-ip; } - - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This model adds extensions to the OpenConfig interfaces - model to configure tunnel interfaces on a network - device."; - - oc-ext:openconfig-version "0.1.0"; - - revision "2018-01-05" { - description - "Initial tunnel model"; - reference "0.1.0"; - } - - grouping tunnel-top { - description - "Top-level grouping for parameters related to - a tunnel interface."; - - container tunnel { - description - "In the case that the interface is logical tunnel - interface, the parameters for the tunnel are - specified within this subtree. Tunnel interfaces - have only a single logical subinterface associated - with them."; - - container config { - description - "Configuration parameters associated with the - tunnel interface"; - uses tunnel-config; - } - - container state { - config false; - description - "Operational state parameters associated with - the tunnel interface."; - uses tunnel-config; - } - - uses oc-ip:ipv4-top; - uses oc-ip:ipv6-top; - } - } - - grouping tunnel-config { - description - "Configuraton parameters relating to a tunnel - interface."; - - leaf src { - type oc-inet:ip-address; - description - "The source address that should be used for the - tunnel."; - } - - leaf dst { - type oc-inet:ip-address; - description - "The destination address for the tunnel."; - } - - leaf ttl { - type uint8 { - range "1..255"; - } - description - "The time-to-live (or hop limit) that should be utilised - for the IP packets used for the tunnel transport."; - } - - leaf gre-key { - type uint32; - description - "The GRE key to be specified for the tunnel. The - key is used to identify a traffic flow within - a tunnel."; - reference - "RFC2890: Key and Sequence Number Extensions to GRE"; - } - } - - augment "/oc-if:interfaces/oc-if:interface" { - description - "Augment to add tunnel configuration to interfaces"; - uses tunnel-top; - } -} |