projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New feature: Code changes for project support
[osm/SO.git]
/
rwmon
/
plugins
/
yang
/
rwmon.yang
diff --git
a/rwmon/plugins/yang/rwmon.yang
b/rwmon/plugins/yang/rwmon.yang
index
20c364d
..
4e1612d
100644
(file)
--- a/
rwmon/plugins/yang/rwmon.yang
+++ b/
rwmon/plugins/yang/rwmon.yang
@@
-1,7
+1,7
@@
/*
*
/*
*
- * Copyright 2016 RIFT.IO Inc
+ * Copyright 2016
-2017
RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-43,6
+43,15
@@
module rwmon
prefix "manotypes";
}
prefix "manotypes";
}
+ import rw-project {
+ prefix "rw-project";
+ }
+
+ revision 2017-02-08 {
+ description
+ "Update model to support projects.";
+ }
+
revision 2015-10-28 {
description
"Initial revision.";
revision 2015-10-28 {
description
"Initial revision.";
@@
-50,26
+59,28
@@
module rwmon
"RIFT monitoring";
}
"RIFT monitoring";
}
- container nfvi-metrics {
- rwpb:msg-new NfviMetrics;
+ augment "/rw-project:project" {
+ container nfvi-metrics {
+ rwpb:msg-new NfviMetrics;
- leaf timestamp {
- description
+
leaf timestamp {
+
description
"This is the time when the metric was captured. The timestamp is
represented as the number of seconds since the beginning of the Unix
epoch.";
"This is the time when the metric was captured. The timestamp is
represented as the number of seconds since the beginning of the Unix
epoch.";
- type decimal64 {
- fraction-digits 3;
+ type decimal64 {
+ fraction-digits 3;
+ }
}
}
- }
- uses manotypes:nfvi-metrics;
- }
+
uses manotypes:nfvi-metrics;
+
}
- container alarm {
- rwpb:msg-new Alarm;
+
container alarm {
+
rwpb:msg-new Alarm;
- uses manotypes:alarm;
+ uses manotypes:alarm;
+ }
}
}
}
}