X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwmon%2Fplugins%2Fyang%2Frwmon.yang;h=4e1612defbab16e98d48f37349250da7cc20ea91;hb=a3bb91f092d378448cb870eccd45d43865de143c;hp=20c364d83814ea9ad0fb8e11d171bd1c8686e3d8;hpb=49868d2c71eb364cee9707515be6841a568dad40;p=osm%2FSO.git diff --git a/rwmon/plugins/yang/rwmon.yang b/rwmon/plugins/yang/rwmon.yang index 20c364d8..4e1612de 100644 --- 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. @@ -43,6 +43,15 @@ module rwmon 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."; @@ -50,26 +59,28 @@ module rwmon "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."; - 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; + } } }