BGPCEP-685: Add Peer Release session rpc
[bgpcep.git] / bgp / rib-api / src / main / yang / bgp-peer-rpc.yang
index 5a0d6a1679ab973c5eca4c26e9409c93a1fb5d03..22d450ced9faf785bbe8342887186275312a112a 100644 (file)
@@ -23,6 +23,10 @@ module bgp-peer-rpc {
         description "Initial revision";
     }
 
+    revision 2017-10-27 {
+        description "Add reset session RPC";
+    }
+
     identity peer-context {
         description "Identity used to mark the Peer context for binding RPCs in a particular RIB.";
     }
@@ -54,4 +58,11 @@ module bgp-peer-rpc {
     augment "/rib:bgp-rib/rib:rib/rib:peer" {
         ext:context-instance "peer-context";
     }
+
+    rpc release-connection {
+        description "Release the peer session";
+        input {
+            uses peer-reference;
+        }
+    }
 }
\ No newline at end of file