Clean up container.yang 42/106542/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 19 Jun 2023 22:47:26 +0000 (00:47 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 20 Jun 2023 07:29:44 +0000 (07:29 +0000)
Fix whitespace, making the module more readable.

Change-Id: I1b8c2d52f164ffde1fdacaa6020d7dbffba04af5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/test/resources/modules/container.yang

index 14a39ab290a755d79190e9439d26c2db4d5b3764..5e8bc80d062d89912956ee69378d5e18a1802046 100644 (file)
@@ -1,31 +1,30 @@
 module base {
-namespace "ns";
-prefix "mod1";
-revision "2016-02-28";
+  namespace "ns";
+  prefix "mod1";
+  revision "2016-02-28";
 
-
-    container cont {
-        leaf exampleLeaf {
-            type string;
-            default "i am leaf";
+  container cont {
+    leaf exampleLeaf {
+      type string;
+      default "i am leaf";
+    }
+    list exampleList {
+      leaf leafInList {
+        type string;
+        default "I am leaf in list";
+      }
+      container containerBool {
+        leaf leafBool{
+          type boolean;
+          default true;
         }
-        list exampleList{
-              leaf leafInList{
-                type string;
-                default "I am leaf in list";
-              }
-              container containerBool{
-                  leaf leafBool{
-                     type boolean;
-                     default true;
-                  }
-              }
-              container containerInt{
-                  leaf leafInt{
-                     type int8;
-                     default 12;
-                  }
-              }
+      }
+      container containerInt {
+        leaf leafInt{
+          type int8;
+          default 12;
         }
+      }
     }
-}
\ No newline at end of file
+  }
+}