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 71cbff4bcd136167dbf64afff8f741000965de8b..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
@@
-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,11
+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'";
- }
- }
-
}
}