BUG 4973 - Wrong time type in statistics and statistics-store 19/32919/1
authorMatej Perina <matej.perina@pantheon.sk>
Fri, 15 Jan 2016 09:31:45 +0000 (10:31 +0100)
committerMatej Perina <matej.perina@pantheon.sk>
Mon, 18 Jan 2016 10:49:25 +0000 (10:49 +0000)
Timestamp type changed to uint64

Change-Id: I448c7cf3d1f0066c6e434e4a86da41c5b3e8630c
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
groupbasedpolicy/src/main/yang/model/statistics-store.yang
groupbasedpolicy/src/main/yang/model/statistics.yang

index c243d693d9696c0b2328d08d5aaa13bb8f488dd5..1d90692d9b97bd252e941b88a15a616105f8d1a7 100644 (file)
@@ -90,7 +90,7 @@ module statistics-store {
                 type record-id;
             }
             leaf timestamp {
-                type int64;
+                type uint64;
                 description
                     "Date and time of record creation in milliseconds
                         counting from 1.1.1970 00:00:00 UTC (= 0)";
index 3882e19ca3070cb2485b194029171072dce8a04c..0a43ecc6431072ac994d04c26587ceade1a0b88a 100644 (file)
@@ -58,7 +58,7 @@ module statistics {
                     type gbp-common:tenant-id;
                 }
                 leaf timestamp {
-                    type int64;
+                    type uint64;
                     description
                         "Date and time of record creation in milliseconds
                         counting from 1.1.1970 00:00:00 UTC (= 0)";