Add schemas with rpc action in augmentation 79/90879/5
authorKailash Khalasi <kailash.khalasi@gmail.com>
Thu, 2 Jul 2020 16:16:29 +0000 (09:16 -0700)
committerJamo Luhrsen <jluhrsen@gmail.com>
Thu, 2 Jul 2020 20:25:16 +0000 (20:25 +0000)
INTTEST-107
Change-Id: I4b7a1f96f2a947c30867eac10ce5cea4ab88c4f8
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
csit/variables/netconf/CRUD/schemas/augment-main-a.yang [new file with mode: 0644]
csit/variables/netconf/CRUD/schemas/main.yang [new file with mode: 0644]

diff --git a/csit/variables/netconf/CRUD/schemas/augment-main-a.yang b/csit/variables/netconf/CRUD/schemas/augment-main-a.yang
new file mode 100644 (file)
index 0000000..0663bbc
--- /dev/null
@@ -0,0 +1,29 @@
+module augment-main-a {
+  yang-version 1.1;
+  namespace "ns:augment:main:a";
+  prefix "aumaa";
+
+  import main {prefix mn; revision-date 2014-01-21;}
+
+  revision "2014-01-21" {}
+
+  augment "/mn:cont" {
+    container cont1 {
+      leaf lf11 {
+       type string;
+      }
+
+      action reset {
+       description "Reset an interface.";
+        input {
+          leaf delay {
+            type uint32;
+            units "seconds";
+            default "0";
+            description "Number of seconds to wait before starting the interface reset.";
+          }
+        }
+      }
+    }
+  }
+}
diff --git a/csit/variables/netconf/CRUD/schemas/main.yang b/csit/variables/netconf/CRUD/schemas/main.yang
new file mode 100644 (file)
index 0000000..c67a80f
--- /dev/null
@@ -0,0 +1,11 @@
+module main {
+  yang-version 1.1;
+  namespace "ns:main";
+  prefix "ma";
+
+  revision "2014-01-21" {
+  }
+
+  container cont {
+  }
+}