f12c3afe51a0bbf76e2beab7b7621e831f6a3f97
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / CoreModel-CoreFoundationModule-TypeDefinitions@2016-07-01.yang
1 module CoreModel-CoreFoundationModule-TypeDefinitions {
2     namespace "uri:onf:CoreModel-CoreFoundationModule-TypeDefinitions";
3     prefix CoreModel-CoreFoundationModule-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-01 {
22         description 
23             "Initial revision."; 
24         reference 
25             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
26     }
27
28     typedef DateAndTime {
29         description "This primitive type defines the date and time according to the following structure:
30             'yyyyMMddhhmmss.s[Z|{+|-}HHMm]' where:
31             yyyy    '0000'..'9999'    year
32             MM        '01'..'12'            month
33             dd        '01'..'31'            day
34             hh        '00'..'23'            hour
35             mm        '00'..'59'            minute
36             ss        '00'..'59'            second
37             s        '.0'..'.9'            tenth of second (set to '.0' if EMS or NE cannot support this granularity)
38             Z        'Z'                    indicates UTC (rather than local time)
39             {+|-}    '+' or '-'            delta from UTC
40             HH        '00'..'23'            time zone difference in hours
41             Mm        '00'..'59'            time zone difference in minutes.";
42         type string;
43     }
44     typedef BitString {
45         description "This primitive type defines a bit oriented string.
46             The size of the BitString will be defined in the valueRange property of the attribute; according to ASN.1 (X.680).
47             The semantic of each bit position will be defined in the Documentation field of the attribute.";
48         type string;
49     }
50     typedef Real {
51         description "This primitive type maps to the 'realnumber' defined in Recommendation X.680.";
52         type string;
53     }
54     typedef PrintableString {
55         description "A string that only includes printable characters";
56         type string;
57     }
58 }