Upgrade ietf-{inet,yang}-types to 2013-07-15
[vpnservice.git] / alivenessmonitor / alivenessmonitor-api / src / main / yang / aliveness-monitor.yang
index 134288f6542e598977e164edf30d248c4c28f71e..9a360f5180b964928308161abbf8ffeab7327dfc 100644 (file)
@@ -4,7 +4,7 @@ module aliveness-monitor {
 
     import ietf-inet-types {
         prefix inet;
-        revision-date "2010-09-24";
+        revision-date "2013-07-15";
     }
 
     revision "2015-06-29" {
@@ -65,6 +65,17 @@ module aliveness-monitor {
         }
     }
 
+    rpc monitor-profile-get {
+            input {
+                container profile {
+                    uses monitor-profile-params;
+                }
+            }
+            output {
+                leaf profile-id { type uint32; }
+            }
+        }
+
     rpc monitor-start {
         input {
             container config {
@@ -178,4 +189,4 @@ module aliveness-monitor {
             leaf-list monitor-ids { type uint32; }
         }
     }
-}
\ No newline at end of file
+}