1 // vi: set smarttab et sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup";
7 import config { prefix config; revision-date 2013-04-05; }
8 import netty { prefix netty; revision-date 2013-11-19; }
10 organization "Cisco Systems, Inc.";
12 contact "Robert Varga <rovarga@cisco.com>";
15 "This module contains the base YANG definitions for
16 netty threadgroup implementation.
18 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.";
20 revision "2013-11-07" {
25 identity netty-threadgroup-fixed {
26 base config:module-type;
27 config:provided-service netty:netty-threadgroup;
28 config:java-name-prefix NettyThreadgroup;
31 augment "/config:modules/config:module/config:configuration" {
32 case netty-threadgroup-fixed {
33 when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";
38 description "Number of threads to be used by NioEventLoopGroup. This attribute is optional and default value will be 2* Number of CPUs";
41 // TODO add optional thread factory dependency
46 augment "/config:modules/config:module/config:state" {
47 case netty-threadgroup-fixed {
48 when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";