blob: dc447ef8ac09a05a6c709c03acdc1442ca1ee7fa [file] [log] [blame]
Thomas Vachuska6655bee2017-08-24 16:12:59 -07001module openconfig-if-types {
2 yang-version "1";
3
4 namespace "http://openconfig.net/yang/openconfig-if-types";
5
6 prefix "oc-ift";
7
8 // import statements
9 import openconfig-extensions { prefix oc-ext; }
10
11 // meta
12 organization
13 "OpenConfig working group";
14
15 contact
16 "OpenConfig working group
17 netopenconfig@googlegroups.com";
18
19 description
20 "This module contains a set of interface type definitions that
21 are used across OpenConfig models. These are generally physical
22 or logical interfaces, distinct from hardware ports (which are
23 described by the OpenConfig platform model).";
24
25 oc-ext:openconfig-version "0.1.0";
26
27 revision "2016-11-14" {
28 description
29 "Initial version";
30 reference "0.1.0";
31 }
32
33
34 identity INTERFACE_TYPE {
35 description
36 "Base identity from which interface types are derived.";
37 }
38
39 identity IF_ETHERNET {
40 base INTERFACE_TYPE;
41 description
42 "Ethernet interfaces based on IEEE 802.3 standards, as well
43 as FlexEthernet";
44 reference
45 "IEEE 802.3-2015 - IEEE Standard for Ethernet
46 OIF Flex Ethernet Implementation Agreement 1.0";
47 }
48
49 identity IF_AGGREGATE {
50 base INTERFACE_TYPE;
51 description
52 "An aggregated, or bonded, interface forming a
53 Link Aggregation Group (LAG), or bundle, most often based on
54 the IEEE 802.1AX (or 802.3ad) standard.";
55 reference
56 "IEEE 802.1AX-2008";
57 }
58
59 identity IF_LOOPBACK {
60 base INTERFACE_TYPE;
61 description
62 "A virtual interface designated as a loopback used for
63 various management and operations tasks.";
64 }
65
66 identity IF_ROUTED_VLAN {
67 base INTERFACE_TYPE;
68 description
69 "A logical interface used for routing services on a VLAN.
70 Such interfaces are also known as switch virtual interfaces
71 (SVI) or integrated routing and bridging interfaces (IRBs).";
72 }
73
74 identity IF_SONET {
75 base INTERFACE_TYPE;
76 description
77 "SONET/SDH interface";
78 }
79
80}