Adding first-seen timestamp and last-seen timestamp for addresstracker model. 98/8398/1
authorAlex Fan <railor33@gmail.com>
Fri, 27 Jun 2014 02:11:59 +0000 (19:11 -0700)
committerAlex Fan <railor33@gmail.com>
Fri, 27 Jun 2014 02:11:59 +0000 (19:11 -0700)
Change-Id: I1cdf780c20708b9f655ae21cb2416207a43f7b47
Signed-off-by: Alex Fan <railor33@gmail.com>
addresstracker/model/src/main/yang/address-tracker.yang

index 642167c7d944be598ae5bfd46e6a5203f4c54c3d..0d703230cdd492b949b7c992e3cdf6b9f4e230cd 100644 (file)
@@ -42,9 +42,13 @@ module address-tracker {
         type uint16;
         description "VLAN id";
       }
-      leaf timestamp {
+      leaf first-seen {
         type yang:timestamp;
-        description "Timestamp of observing this address";
+        description "Timestamp of observing this address for the first time";
+      }
+      leaf last-seen {
+        type yang:timestamp;
+        description "The most recent timestamp of observing this address";
       }
     }
   }