Add uint24.yang
[mdsal.git] / model / odl-uint24 / src / main / yang / uint24.yang
1 module odl-uint24 {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:uint24";
4     prefix "uint24";
5
6     organization "OpenDaylight";
7     contact "Robert Varga <robert.varga@pantheon.tech>";
8
9     description
10         "This module contains the definition of uint24, an uint32 restricted
11          to 24 bits.
12
13          Copyright (c)2019 PANTHEON.tech, s.r.o and others. All rights reserved.
14
15          This program and the accompanying materials are made available
16          under the terms of the Eclipse Public License v1.0 which
17          accompanies this distribution, and is available at
18          http://www.eclipse.org/legal/epl-v10.html";
19
20     revision "2020-01-04" {
21         description "Initial revision.";
22     }
23
24     typedef uint24 {
25         type uint32 {
26             range "0..16777215";
27         }
28         description "24-bit unsigned integer.";
29     }
30 }