Code Review
/
l2switch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3a034f5
)
Adding first-seen timestamp and last-seen timestamp for addresstracker model.
98/8398/1
author
Alex Fan
<railor33@gmail.com>
Fri, 27 Jun 2014 02:11:59 +0000
(19:11 -0700)
committer
Alex 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
patch
|
blob
|
history
diff --git
a/addresstracker/model/src/main/yang/address-tracker.yang
b/addresstracker/model/src/main/yang/address-tracker.yang
index 642167c7d944be598ae5bfd46e6a5203f4c54c3d..0d703230cdd492b949b7c992e3cdf6b9f4e230cd 100644
(file)
--- a/
addresstracker/model/src/main/yang/address-tracker.yang
+++ b/
addresstracker/model/src/main/yang/address-tracker.yang
@@
-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";
}
}
}