Thomas Vachuska | 8ca75a2 | 2017-08-24 16:12:59 -0700 | [diff] [blame] | 1 | module openconfig-aft-types { |
| 2 | |
| 3 | namespace "http://openconfig.net/yang/fib-types"; |
| 4 | prefix "oc-aftt"; |
| 5 | |
| 6 | import openconfig-extensions { prefix "oc-ext"; } |
| 7 | |
| 8 | organization |
| 9 | "OpenConfig Working Group"; |
| 10 | |
| 11 | contact |
| 12 | "OpenConfig Working Group |
| 13 | www.openconfig.net"; |
| 14 | |
| 15 | description |
| 16 | "Types related to the OpenConfig Abstract Forwarding |
| 17 | Table (AFT) model"; |
| 18 | |
| 19 | oc-ext:openconfig-version "0.3.0"; |
| 20 | |
| 21 | revision 2017-05-10 { |
| 22 | description |
| 23 | "Refactor to provide concretised per-AF schemas per AFT."; |
| 24 | reference "0.3.0"; |
| 25 | } |
| 26 | |
| 27 | typedef encapsulation-header-type { |
| 28 | type enumeration { |
| 29 | enum GRE { |
| 30 | description |
| 31 | "The encapsulation header is a Generic Routing Encapsulation |
| 32 | header."; |
| 33 | } |
| 34 | enum IPV4 { |
| 35 | description |
| 36 | "The encapsulation header is an IPv4 packet header"; |
| 37 | } |
| 38 | enum IPV6 { |
| 39 | description |
| 40 | "The encapsulation header is an IPv6 packet header"; |
| 41 | } |
| 42 | enum MPLS { |
| 43 | description |
| 44 | "The encapsulation header is one or more MPLS labels indicated |
| 45 | by the pushed and popped label stack lists."; |
| 46 | } |
| 47 | } |
| 48 | description |
| 49 | "Types of tunnel encapsulation that are supported by systems as either |
| 50 | head- or tail-end."; |
| 51 | } |
| 52 | } |