when "/config:modules/config:module/config:type = 'logback'";
list file-appenders {
- leaf append {
+ leaf append {
type boolean;
mandatory false;
}
type string;
mandatory true;
}
-
+
leaf encoder-pattern {
type string;
mandatory true;
}
-
+
leaf name {
type string;
mandatory true;
key name;
config:java-name-prefix FileAppenderTO;
}
-
+
list rolling-appenders {
leaf append {
type boolean;
type string;
mandatory true;
}
-
+
leaf rolling-policy-type {
type string;
mandatory true;
}
-
+
leaf max-history {
type int32;
mandatory true;
}
-
+
leaf clean-history-on-start {
type boolean;
default false;
// vi: set smarttab et sw=4 tabstop=4:
module netty {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:netty";
- prefix "netty";
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:netty";
+ prefix "netty";
- import config { prefix config; revision-date 2013-04-05; }
+ import config { prefix config; revision-date 2013-04-05; }
- organization "Cisco Systems, Inc.";
+ organization "Cisco Systems, Inc.";
- contact "Milos Fabian <milfabia@cisco.com>";
+ contact "Milos Fabian <milfabia@cisco.com>";
description
"This module contains the base YANG definitions for
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";
+ 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-11-19" {
description
"Initial revision.";
}
-
+
identity netty-threadgroup {
description
"Configuration wrapper around netty's threadgroup";
base "config:service-type";
config:java-class "io.netty.channel.EventLoopGroup";
}
-
+
identity netty-event-executor {
description
"Configuration wrapper around netty's event executor";
base "config:service-type";
config:java-class "io.netty.util.concurrent.EventExecutor";
}
-
+
identity netty-timer {
description
"Configuration wrapper around netty's timer";
base "config:service-type";
- config:java-class "io.netty.util.Timer";
+ config:java-class "io.netty.util.Timer";
}
}
\ No newline at end of file
// vi: set smarttab et sw=4 tabstop=4:
module netty-event-executor {
yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor";
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor";
prefix "netty-ee";
import config { prefix config; revision-date 2013-04-05; }
netty event executor implementation.
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";
+ 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-11-12" {
description
"Initial revision";
}
-
+
identity netty-global-event-executor {
base config:module-type;
config:provided-service netty:netty-event-executor;
// vi: set smarttab et sw=4 tabstop=4:
module threadgroup {
yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup";
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup";
prefix "netty-th";
import config { prefix config; revision-date 2013-04-05; }
}
}
-
}
// vi: set smarttab et sw=4 tabstop=4:
module netty-timer {
yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:timer";
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:timer";
prefix "netty-timer";
import config { prefix config; revision-date 2013-04-05; }
netty timer implementation.
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";
+ 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-11-19" {
description
"Initial revision";
}
-
+
identity netty-hashed-wheel-timer {
base config:module-type;
config:provided-service netty:netty-timer;
augment "/config:modules/config:module/config:configuration" {
case netty-hashed-wheel-timer {
when "/config:modules/config:module/config:type = 'netty-hashed-wheel-timer'";
-
+
leaf tick-duration {
type uint32;
}
-
+
leaf ticks-per-wheel {
type uint16;
}
-
- container thread-factory {
- uses config:service-ref {
- refine type {
- mandatory false;
- config:required-identity th:threadfactory;
- }
- }
- }
+
+ container thread-factory {
+ uses config:service-ref {
+ refine type {
+ mandatory false;
+ config:required-identity th:threadfactory;
+ }
+ }
+ }
}
}
}
\ No newline at end of file
// vi: set smarttab et sw=4 tabstop=4:
module threadpool {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:threadpool";
- prefix "th";
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:threadpool";
+ prefix "th";
- import config { prefix config; revision-date 2013-04-05; }
+ import config { prefix config; revision-date 2013-04-05; }
- organization "Cisco Systems, Inc.";
+ organization "Cisco Systems, Inc.";
- contact "Robert Varga <rovarga@cisco.com>";
+ contact "Robert Varga <rovarga@cisco.com>";
description
"This module contains the base YANG definitions for
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";
+ 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-04-09" {
description
config:java-class "java.util.concurrent.ThreadFactory";
}
- identity threadpool {
+ identity threadpool {
description
"A simple pool of threads able to execute work.";
- base "config:service-type";
+ base "config:service-type";
config:java-class "org.opendaylight.controller.config.threadpool.ThreadPool";
- }
+ }
- identity scheduled-threadpool {
+ identity scheduled-threadpool {
description
"An extension of the simple pool of threads able to schedule
work to be executed at some point in time.";
- base "threadpool";
+ base "threadpool";
config:java-class "org.opendaylight.controller.config.threadpool.ScheduledThreadPool";
- }
+ }
}
description
"This module contains the base YANG definitions for
- thread services pure Java implementation.
+ thread services pure Java implementation.
Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
description
"This module contains the base YANG definitions for
- thread services pure Java implementation.
+ thread services pure Java implementation.
Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;