Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Deprecate netty config modules
[controller.git]
/
opendaylight
/
config
/
netty-threadgroup-config
/
src
/
main
/
yang
/
netty-threadgroup.yang
diff --git
a/opendaylight/config/netty-threadgroup-config/src/main/yang/netty-threadgroup.yang
b/opendaylight/config/netty-threadgroup-config/src/main/yang/netty-threadgroup.yang
index e648c5328a71349f9261efa82f8c8ef02a798a58..44c33f6fea96c8492f99897843a46e88ac6deca2 100644
(file)
--- a/
opendaylight/config/netty-threadgroup-config/src/main/yang/netty-threadgroup.yang
+++ b/
opendaylight/config/netty-threadgroup-config/src/main/yang/netty-threadgroup.yang
@@
-1,7
+1,7
@@
// vi: set smarttab et sw=4 tabstop=4:
module threadgroup {
yang-version 1;
// 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; }
prefix "netty-th";
import config { prefix config; revision-date 2013-04-05; }
@@
-23,6
+23,7
@@
module threadgroup {
}
identity netty-threadgroup-fixed {
}
identity netty-threadgroup-fixed {
+ status deprecated;
base config:module-type;
config:provided-service netty:netty-threadgroup;
config:java-name-prefix NettyThreadgroup;
base config:module-type;
config:provided-service netty:netty-threadgroup;
config:java-name-prefix NettyThreadgroup;
@@
-33,6
+34,7
@@
module threadgroup {
when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";
leaf thread-count {
when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";
leaf thread-count {
+ status deprecated;
type uint16;
description "Number of threads to be used by NioEventLoopGroup. This attribute is optional and default value will be 2* Number of CPUs";
type uint16;
description "Number of threads to be used by NioEventLoopGroup. This attribute is optional and default value will be 2* Number of CPUs";
@@
-42,12
+44,4
@@
module threadgroup {
}
}
}
}
-
- augment "/config:modules/config:module/config:state" {
- case netty-threadgroup-fixed {
- when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";
- }
- }
-
-
}
}