Fix errors reported by pyang 60/3560/1
authorRobert Varga <robert.varga@pantheon.sk>
Sun, 8 Dec 2013 18:41:22 +0000 (19:41 +0100)
committerRobert Varga <robert.varga@pantheon.sk>
Sun, 8 Dec 2013 18:41:22 +0000 (19:41 +0100)
Change-Id: Ia94339d7e9e759d02070a94507a340c80bc46100
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
opendaylight/config/logback-config/src/main/yang/config-logging.yang

index 7f4ea39dd4ccb66d5e65979ce994848b884d2dd0..3b28b574696683540391dd53ab041b0b40dd7ebb 100644 (file)
@@ -51,6 +51,7 @@ module config-logging {
                     type string;
                     mandatory true;
                 }
+                key name;
                 config:java-name-prefix FileAppenderTO;
             }
             
@@ -89,6 +90,7 @@ module config-logging {
                     type string;
                     mandatory true;
                 }
+                key name;
 
                 leaf file-name-pattern {
                     type string;
@@ -107,7 +109,7 @@ module config-logging {
                 
                 leaf clean-history-on-start {
                     type boolean;
-                    default 0;
+                    default false;
                 }
                 config:java-name-prefix RollingFileAppenderTO;
             }
@@ -128,6 +130,8 @@ module config-logging {
                     type string;
                     mandatory true;
                 }
+                key name;
+
                 config:java-name-prefix ConsoleAppenderTO;
             }
 
@@ -136,6 +140,7 @@ module config-logging {
                     type string;
                     mandatory true;
                 }
+                key logger-name;
 
                 leaf level {
                     type string;