5d57b95e9522a5ab2492e199a5de8466c3a9324e
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / CoreModel-CoreNetworkModule-TypeDefinitions@2016-07-10.yang
1 module CoreModel-CoreNetworkModule-TypeDefinitions {
2     namespace "uri:onf:CoreModel-CoreNetworkModule-TypeDefinitions";
3     prefix CoreModel-CoreNetworkModule-TypeDefinitions;
4
5
6     organization 
7         'ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project';
8
9     contact 
10         'WG Web:   <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
11          WG List:  <mailto:wireless-transport@login.opennetworking.org >
12          WG Chair: Lyndon Ong
13                    <mailto:lyong@ciena.com>
14          WG Chair: Giorgio Cazzaniga
15                    <mailto:giorgio.cazzaniga@sm-optics.com>';
16
17     description 
18         'This module contains a collection of YANG definitions for 
19          managing microwave transport networks.';
20
21     revision 2016-07-10 {
22         description 
23             "Initial revision."; 
24         reference 
25             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
26     }
27
28     typedef OperType {
29         description "The operation type associated with the protection mechanism (either non-revertive or revertive).";
30         type enumeration {
31             enum REVERTIVE;
32             enum NON-REVERTIVE;
33         }
34     }
35     typedef LayerProtocolName {
36         description "Provides a controlled list of layer protocol names and indicates the naming authority.
37             Note that it is expected that attributes will be added to this structure to convey the naming authority name, the name of the layer protocol using a human readable string and any particular standard reference.
38             Layer protocol names include:
39             -    Layer 1 (L1): OTU, ODU
40             -    Layer 2 (L2): Carrier Grade Ethernet (ETY, ETH), MPLS-TP (MT)
41             lifecycle:Preliminary";
42         type string;
43     }
44     typedef PortRole {
45         description "The role of a port in the context of the function of the forwarding entity that it bounds
46             lifecycle:Preliminary";
47         type string;
48     }
49     typedef PortDirection {
50         description "The orientation of flow at the Port of a Forwarding entity";
51         type enumeration {
52             enum BIDIRECTIONAL;
53             enum INPUT;
54             enum OUTPUT;
55             enum UNIDENTIFIED_OR_UNKNOWN;
56         }
57     }
58     typedef ForwardingDirection {
59         description "The directionality of a Forwarding entity.";
60         type enumeration {
61             enum BIDIRECTIONAL;
62             enum UNIDIRECTIONAL;
63             enum UNDEFINED_OR_UNKNOWN;
64         }
65     }
66     typedef TerminationDirection {
67         description "The directionality of a termination entity";
68         type enumeration {
69             enum BIDIRECTIONAL;
70             enum SINK;
71             enum SOURCE;
72             enum UNDEFINED_OR_UNKNOWN;
73         }
74     }
75     typedef ExtendedTerminationDirection {
76         description "Extended to include contra-direction considerations. Only applies to LP and elements of LP not to LTP??
77             lifecycle:Experimental";
78         type enumeration {
79             enum BIDIRECTIONAL;
80             enum SINK;
81             enum SOURCE;
82             enum UNDEFINED_OR_UNKNOWN;
83             enum CONTRA_DIRECTION_SINK;
84             enum CONTRA_DIRECTION_SOURCE;
85         }
86     }
87     typedef ProtectionType {
88         description "Identifies the type of rotection of an FcSwitch.
89             lifecycle:Experimental";
90         type string;
91     }
92     typedef TerminationState {
93         description "Provides support for the range of behaviours and specific states that an LP can take with respect to termination of the signal.
94             Indicates to what degree the LayerTermination is terminated.
95             lifecycle:Experimental";
96         type enumeration {
97             enum LP_CAN_NEVER_TERMINATE;
98             enum LT_NOT_TERMINATED;
99             enum TERMINATED_SERVER_TO_CLIENT_FLOW;
100             enum TERMINATED_CLIENT_TO_SERVER_FLOW;
101             enum TERMINATED_BIDIRECTIONAL;
102             enum LT_PERMENANTLY_TERMINATED;
103             enum TERMINATION_STATE_UNKNOWN;
104         }
105     }
106 }