Fix YANG file formatting in concepts 94/86694/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 4 Jan 2020 08:37:03 +0000 (09:37 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 4 Jan 2020 08:37:03 +0000 (09:37 +0100)
We have mis-indented models here, making them hard to read. Fix
indentation.

Change-Id: I80aa153e419292a24379f383d36c15e1fad5716e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
concepts/src/main/yang/iana.yang
concepts/src/main/yang/ieee754.yang
concepts/src/main/yang/rfc2385.yang

index fd7423c6b4d9dbcc2ca936e34f93cffdd3deb2b3..f140b81486175149f07fcf5933cffe11ede39296 100644 (file)
@@ -1,27 +1,26 @@
 module iana {
-        yang-version 1;
-        namespace "urn:opendaylight:params:xml:ns:yang:iana";
-        prefix "iana";
+    yang-version 1;
+    namespace "urn:opendaylight:params:xml:ns:yang:iana";
+    prefix "iana";
 
-        organization "Cisco Systems, Inc.";
-        contact "Robert Varga <rovarga@cisco.com>";
+    organization "Cisco Systems, Inc.";
+    contact "Robert Varga <rovarga@cisco.com>";
 
-        description
-                "This module contains the definition of types related to
-        Internet Assigned Numbers Authority.
+    description
+        "This module contains the definition of types related to
+         Internet Assigned Numbers Authority.
 
-                Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
+         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
 
-                This program and the accompanying materials are made available
-                under the terms of the Eclipse Public License v1.0 which
-                accompanies this distribution, and is available at
-                http://www.eclipse.org/legal/epl-v10.html";
+         This program and the accompanying materials are made available
+         under the terms of the Eclipse Public License v1.0 which
+         accompanies this distribution, and is available at
+         http://www.eclipse.org/legal/epl-v10.html";
 
-        revision "2013-08-16" {
-                description
-                        "Initial revision.";
-                reference "https://www.iana.org/";
-        }
+    revision "2013-08-16" {
+        description "Initial revision.";
+        reference "https://www.iana.org/";
+    }
 
     typedef enterprise-number {
         description "Private enterprise number.";
index c64c84a1e8657e8ac3ae77571902d9e0ff735385..92cac8a3f3aad9f8a28662f24de506987ba241a9 100644 (file)
@@ -1,40 +1,39 @@
 module ieee754 {
-        yang-version 1;
-        namespace "urn:opendaylight:params:xml:ns:yang:ieee754";
-        prefix "ieee754";
+    yang-version 1;
+    namespace "urn:opendaylight:params:xml:ns:yang:ieee754";
+    prefix "ieee754";
 
-        organization "Cisco Systems, Inc.";
-        contact "Robert Varga <rovarga@cisco.com>";
+    organization "Cisco Systems, Inc.";
+    contact "Robert Varga <rovarga@cisco.com>";
 
-        description
-                "This module contains the definition of basic float types.
+    description
+        "This module contains the definition of basic float types.
 
-                Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
+        Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
 
-                This program and the accompanying materials are made available
-                under the terms of the Eclipse Public License v1.0 which
-                accompanies this distribution, and is available at
-                http://www.eclipse.org/legal/epl-v10.html";
+        This program and the accompanying materials are made available
+        under the terms of the Eclipse Public License v1.0 which
+        accompanies this distribution, and is available at
+        http://www.eclipse.org/legal/epl-v10.html";
 
-        revision "2013-08-19" {
-                description
-                        "Initial revision.";
-                reference "IEEE 754-2008";
-        }
+    revision "2013-08-19" {
+        description "Initial revision.";
+        reference "IEEE 754-2008";
+    }
 
-        typedef float32 {
+    typedef float32 {
         type binary {
             length 4;
         }
     }
 
-        typedef float64 {
+    typedef float64 {
         type binary {
             length 8;
         }
     }
 
-        typedef float128 {
+    typedef float128 {
         type binary {
             length 16;
         }
index 9912144e69f0545e22f87f202f912213cc57870f..eb00969e695788bfb6a090086f285ed9aac28e01 100644 (file)
@@ -24,12 +24,10 @@ module rfc2385 {
             "Initial revision";
     }
 
-
     typedef rfc2385-key {
         reference "https://tools.ietf.org/html/rfc2385#section-4.5";
         type string {
             length 1..80;
         }
     }
-
 }