clean yang files
[transportpce.git] / ordmodels / device / src / main / yang / org-openroadm-syslog@2016-10-14.yang
index b0d7709acc549024dd12eac985ddbaa3a76f0f87..cdac3e8c10a76e3aed8b50ee5eadddf3334ecfe9 100644 (file)
@@ -10,41 +10,41 @@ module org-openroadm-syslog {
   contact
     "OpenROADM.org";
   description
   contact
     "OpenROADM.org";
   description
-    "This module contains a collection of YANG definitions 
+    "This module contains a collection of YANG definitions
      for Syslog configuration.
      for Syslog configuration.
-     
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, 
+
+     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
      AT&T Intellectual Property.  All other rights reserved.
      AT&T Intellectual Property.  All other rights reserved.
-     
-     Redistribution and use in source and binary forms, with or without modification, 
+
+     Redistribution and use in source and binary forms, with or without modification,
      are permitted provided that the following conditions are met:
      are permitted provided that the following conditions are met:
-     
-     * Redistributions of source code must retain the above copyright notice, this 
+
+     * Redistributions of source code must retain the above copyright notice, this
        list of conditions and the following disclaimer.
        list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice, 
-       this list of conditions and the following disclaimer in the documentation and/or 
+     * Redistributions in binary form must reproduce the above copyright notice,
+       this list of conditions and the following disclaimer in the documentation and/or
        other materials provided with the distribution.
        other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its 
-       contributors may be used to endorse or promote products derived from this software 
+     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
+       contributors may be used to endorse or promote products derived from this software
        without specific prior written permission.
        without specific prior written permission.
-     
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS'' 
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT, 
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA, 
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+
+     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
+     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
+     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
+     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
      POSSIBILITY OF SUCH DAMAGE.
      POSSIBILITY OF SUCH DAMAGE.
-     
+
      Also contains code components extracted from IETF Interfaces.  These code components
      are copyrighted and licensed as follows:
      Also contains code components extracted from IETF Interfaces.  These code components
      are copyrighted and licensed as follows:
-     
+
      Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
      All rights reserved.
      Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
      All rights reserved.
-     
+
      This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
      to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
      publication of this document. Please review these documents carefully, as they
      This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
      to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
      publication of this document. Please review these documents carefully, as they
@@ -61,8 +61,8 @@ module org-openroadm-syslog {
 
   feature selector-sevop-config {
     description
 
   feature selector-sevop-config {
     description
-      "This feature represents the ability to select messages 
-       using the additional operators equal to, or not equal to 
+      "This feature represents the ability to select messages
+       using the additional operators equal to, or not equal to
        when comparing the Syslog message severity.";
   }
 
        when comparing the Syslog message severity.";
   }
 
@@ -125,13 +125,13 @@ module org-openroadm-syslog {
       enum "all" {
         value 8;
         description
       enum "all" {
         value 8;
         description
-          "This enum describes the case where all severities 
+          "This enum describes the case where all severities
            are selected.";
       }
       enum "none" {
         value 9;
         description
            are selected.";
       }
       enum "none" {
         value 9;
         description
-          "This enum describes the case where no severities 
+          "This enum describes the case where no severities
            are selected.";
       }
     }
            are selected.";
       }
     }
@@ -142,15 +142,15 @@ module org-openroadm-syslog {
 
   grouping syslog-severity {
     description
 
   grouping syslog-severity {
     description
-      "This grouping defines the Syslog severity which is used to 
+      "This grouping defines the Syslog severity which is used to
        select log messages.";
     leaf severity {
       type severity;
       mandatory true;
       description
        select log messages.";
     leaf severity {
       type severity;
       mandatory true;
       description
-        "This leaf specifies the Syslog message severity. When 
-         severity is specified, the default severity comparison 
-         is all messages of the specified severity and greater are 
+        "This leaf specifies the Syslog message severity. When
+         severity is specified, the default severity comparison
+         is all messages of the specified severity and greater are
          selected. 'all' is a special case which means all severities
          are selected. 'none' is a special case which means that
          no selection should occur or disable this filter.";
          selected. 'all' is a special case which means all severities
          are selected. 'none' is a special case which means that
          no selection should occur or disable this filter.";
@@ -160,75 +160,75 @@ module org-openroadm-syslog {
         "../severity != 'all' and
                     ../severity != 'none'" {
         description
         "../severity != 'all' and
                     ../severity != 'none'" {
         description
-          "The severity-operator is not applicable for severity 'all' or 
+          "The severity-operator is not applicable for severity 'all' or
            severity 'none'";
       }
       if-feature selector-sevop-config;
       type enumeration {
         enum "equals-or-higher" {
           description
            severity 'none'";
       }
       if-feature selector-sevop-config;
       type enumeration {
         enum "equals-or-higher" {
           description
-            "This enum specifies all messages of the specified 
-             severity and higher are logged according to the 
+            "This enum specifies all messages of the specified
+             severity and higher are logged according to the
              given log-action";
         }
         enum "equals" {
           description
              given log-action";
         }
         enum "equals" {
           description
-            "This enum specifies all messages that are for 
-             the specified severity are logged according to the 
+            "This enum specifies all messages that are for
+             the specified severity are logged according to the
              given log-action";
         }
         enum "not-equals" {
           description
              given log-action";
         }
         enum "not-equals" {
           description
-            "This enum specifies all messages that are not for 
-             the specified severity are logged according to the 
+            "This enum specifies all messages that are not for
+             the specified severity are logged according to the
              given log-action";
         }
       }
       default "equals-or-higher";
       description
              given log-action";
         }
       }
       default "equals-or-higher";
       description
-        "This leaf describes the option to specify how the 
+        "This leaf describes the option to specify how the
          severity comparison is performed.";
     }
   }
 
   grouping syslog-selector {
     description
          severity comparison is performed.";
     }
   }
 
   grouping syslog-selector {
     description
-      "This grouping defines a Syslog selector which is used to 
-       select log messages for the log-action (buffer, file, 
+      "This grouping defines a Syslog selector which is used to
+       select log messages for the log-action (buffer, file,
        etc). Choose one of the following:
          no-log-facility
          log-facility [<facility> <severity>...]";
     container log-selector {
       description
        etc). Choose one of the following:
          no-log-facility
          log-facility [<facility> <severity>...]";
     container log-selector {
       description
-        "This container describes the log selector parameters 
+        "This container describes the log selector parameters
          for Syslog.";
       choice selector-facility {
         mandatory true;
         description
          for Syslog.";
       choice selector-facility {
         mandatory true;
         description
-          "This choice describes the option to specify no 
+          "This choice describes the option to specify no
            facilities, or a specific facility which can be
            all for all facilities.";
         case no-log-facility {
           description
            facilities, or a specific facility which can be
            all for all facilities.";
         case no-log-facility {
           description
-            "This case specifies no facilities will match when 
-             comparing the Syslog message facility. This is a 
-             method that can be used to effectively disable a 
+            "This case specifies no facilities will match when
+             comparing the Syslog message facility. This is a
+             method that can be used to effectively disable a
              particular log-action (buffer, file, etc).";
           leaf no-facilities {
             type empty;
             description
              particular log-action (buffer, file, etc).";
           leaf no-facilities {
             type empty;
             description
-              "This leaf specifies that no facilities are selected 
+              "This leaf specifies that no facilities are selected
                for this log-action.";
           }
         }
         case log-facility {
           description
                for this log-action.";
           }
         }
         case log-facility {
           description
-            "This case specifies one or more specified facilities 
+            "This case specifies one or more specified facilities
              will match when comparing the Syslog message facility.";
           list log-facility {
             key "facility";
             description
              will match when comparing the Syslog message facility.";
           list log-facility {
             key "facility";
             description
-              "This list describes a collection of Syslog 
+              "This list describes a collection of Syslog
                facilities and severities.";
             leaf facility {
               type union {
                facilities and severities.";
             leaf facility {
               type union {
@@ -238,7 +238,7 @@ module org-openroadm-syslog {
                 type enumeration {
                   enum "all" {
                     description
                 type enumeration {
                   enum "all" {
                     description
-                      "This enum describes the case where all 
+                      "This enum describes the case where all
                        facilities are requested.";
                   }
                 }
                        facilities are requested.";
                   }
                 }
@@ -255,20 +255,20 @@ module org-openroadm-syslog {
 
   container syslog {
     description
 
   container syslog {
     description
-      "This container describes the configuration parameters for 
+      "This container describes the configuration parameters for
        Syslog.";
     container log-actions {
       description
        Syslog.";
     container log-actions {
       description
-        "This container describes the log-action parameters 
+        "This container describes the log-action parameters
          for Syslog.";
       container remote {
         description
          for Syslog.";
       container remote {
         description
-          "This container describes the configuration parameters for 
+          "This container describes the configuration parameters for
            remote logging.";
         list destination {
           key "name";
           description
            remote logging.";
         list destination {
           key "name";
           description
-            "This list describes a collection of remote logging 
+            "This list describes a collection of remote logging
              destinations.";
           leaf name {
             type string;
              destinations.";
           leaf name {
             type string;
@@ -288,16 +288,16 @@ module org-openroadm-syslog {
                 leaf address {
                   type inet:host;
                   description
                 leaf address {
                   type inet:host;
                   description
-                    "The leaf uniquely specifies the address of 
-                     the remote host. One of the following must 
-                     be specified: an ipv4 address, an ipv6 
+                    "The leaf uniquely specifies the address of
+                     the remote host. One of the following must
+                     be specified: an ipv4 address, an ipv6
                      address, or a host name.";
                 }
                 leaf port {
                   type inet:port-number;
                   default "514";
                   description
                      address, or a host name.";
                 }
                 leaf port {
                   type inet:port-number;
                   default "514";
                   description
-                    "This leaf specifies the port number used to 
+                    "This leaf specifies the port number used to
                      deliver messages to the remote server.";
                 }
               }
                      deliver messages to the remote server.";
                 }
               }
@@ -311,16 +311,16 @@ module org-openroadm-syslog {
                 leaf address {
                   type inet:host;
                   description
                 leaf address {
                   type inet:host;
                   description
-                    "The leaf uniquely specifies the address of 
-                     the remote host. One of the following must be 
-                     specified: an ipv4 address, an ipv6 address, 
+                    "The leaf uniquely specifies the address of
+                     the remote host. One of the following must be
+                     specified: an ipv4 address, an ipv6 address,
                      or a host name.";
                 }
                 leaf port {
                   type inet:port-number;
                   default "514";
                   description
                      or a host name.";
                 }
                 leaf port {
                   type inet:port-number;
                   default "514";
                   description
-                    "This leaf specifies the port number used to 
+                    "This leaf specifies the port number used to
                      deliver messages to the remote server.";
                 }
               }
                      deliver messages to the remote server.";
                 }
               }