Fix for Bug 511 (model + integration-test)
authorMartin Vitez <mvitez@cisco.com>
Tue, 18 Mar 2014 08:18:30 +0000 (09:18 +0100)
committerMartin Vitez <mvitez@cisco.com>
Tue, 18 Mar 2014 08:18:30 +0000 (09:18 +0100)
Removed \r characters from yang-ext.yang and from integration-test project.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
model/yang-ext/src/main/yang/yang-ext.yang

index 498b46f63e036baf4e72508d62b1d593fc0fe9d5..0fbe94ddc4c472aa33fe13fd01857a060345f288 100644 (file)
@@ -1,79 +1,79 @@
-module yang-ext {\r
-    yang-version 1;\r
-    namespace "urn:opendaylight:yang:extension:yang-ext";\r
-    prefix "ext";\r
-    \r
-    contact "Anton Tkacik <ttkacik@cisco.com>";\r
-\r
-    description \r
-            "Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
-\r
-            This program and the accompanying materials are made available under the\r
-            terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
-            and is available at http://www.eclipse.org/legal/epl-v10.html";\r
-\r
-    revision "2013-07-09" {\r
-        description "";\r
-    }\r
-\r
-    // Augmentation name\r
-\r
-    extension "augment-identifier" {\r
-        description \r
-           "YANG language extension which assigns an identifier to \r
-            augmentation. Augment identifier is used to identify\r
-            specific augment statement by name. \r
-\r
-            The identifier syntax is defined formally defined by the rule\r
-            'identifier' in Section 12 of RFC 6020.\r
-\r
-            All augment identifiers defined in a namespace MUST be unique.\r
-            The namespace of augment identifiers is shared by module and\r
-            its submodules.";\r
-\r
-            /*\r
-                Discussion:\r
-                This extension allows for ease of development / debug\r
-                of YANG modules and it is suitable for code generation,\r
-                where each augment statement is nicely identified by\r
-                unique name instead of combination of augment target\r
-                and when condition. \r
-            */\r
-        argument "identifier";\r
-    }\r
-\r
-\r
-    // Context-aware RPCs\r
-\r
-    grouping rpc-context-ref {\r
-        description \r
-           "A reference to RPC context.";\r
-        leaf context-instance {\r
-            type instance-identifier;\r
-            description "Pointer to the context. ";\r
-        }\r
-    }\r
-\r
-    extension "rpc-context-instance" {\r
-        description\r
-           "YANG language extension which defines enclosing (parent) \r
-            schema node as referencable context for RPCs.\r
-\r
-            The argument is identity which is used to identify RPC context\r
-            type.";\r
-\r
-        argument "context-type";\r
-    }\r
-\r
-    extension "context-reference" {\r
-        argument "context-type";\r
-    }\r
-\r
-    extension "context-instance" {\r
-        argument "context-type";\r
-    }\r
-    \r
-    extension "instance-target" {\r
-       argument "path";\r
-    }\r
-}\r
+module yang-ext {
+    yang-version 1;
+    namespace "urn:opendaylight:yang:extension:yang-ext";
+    prefix "ext";
+    
+    contact "Anton Tkacik <ttkacik@cisco.com>";
+
+    description 
+            "Copyright (c) 2013 Cisco Systems, Inc. and others.  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";
+
+    revision "2013-07-09" {
+        description "";
+    }
+
+    // Augmentation name
+
+    extension "augment-identifier" {
+        description 
+           "YANG language extension which assigns an identifier to 
+            augmentation. Augment identifier is used to identify
+            specific augment statement by name. 
+
+            The identifier syntax is defined formally defined by the rule
+            'identifier' in Section 12 of RFC 6020.
+
+            All augment identifiers defined in a namespace MUST be unique.
+            The namespace of augment identifiers is shared by module and
+            its submodules.";
+
+            /*
+                Discussion:
+                This extension allows for ease of development / debug
+                of YANG modules and it is suitable for code generation,
+                where each augment statement is nicely identified by
+                unique name instead of combination of augment target
+                and when condition. 
+            */
+        argument "identifier";
+    }
+
+
+    // Context-aware RPCs
+
+    grouping rpc-context-ref {
+        description 
+           "A reference to RPC context.";
+        leaf context-instance {
+            type instance-identifier;
+            description "Pointer to the context. ";
+        }
+    }
+
+    extension "rpc-context-instance" {
+        description
+           "YANG language extension which defines enclosing (parent) 
+            schema node as referencable context for RPCs.
+
+            The argument is identity which is used to identify RPC context
+            type.";
+
+        argument "context-type";
+    }
+
+    extension "context-reference" {
+        argument "context-type";
+    }
+
+    extension "context-instance" {
+        argument "context-type";
+    }
+    
+    extension "instance-target" {
+       argument "path";
+    }
+}