Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Replace tabs with spaces in config yang files"
[controller.git]
/
opendaylight
/
config
/
threadpool-config-api
/
src
/
main
/
yang
/
threadpool.yang
diff --git
a/opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang
b/opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang
index 9c73711c17bf98e0547b87674be96fd6451a64f1..4c34513591f51314769c89c8eaa3d409c0aea6a8 100644
(file)
--- a/
opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang
+++ b/
opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang
@@
-1,14
+1,14
@@
// vi: set smarttab et sw=4 tabstop=4:
module threadpool {
// 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
description
"This module contains the base YANG definitions for
@@
-17,9
+17,9
@@
module threadpool {
Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
This program and the accompanying materials are made available
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
revision "2013-04-09" {
description
@@
-57,39
+57,20
@@
module threadpool {
config:java-class "java.util.concurrent.ThreadFactory";
}
config:java-class "java.util.concurrent.ThreadFactory";
}
-
identity threadpool {
+ identity threadpool {
description
"A simple pool of threads able to execute work.";
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";
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.";
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";
config:java-class "org.opendaylight.controller.config.threadpool.ScheduledThreadPool";
- }
-
-
- 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";
- }
-
-
}
}