1 // vi: set smarttab et sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:timer";
7 import config { prefix config; revision-date 2013-04-05; }
8 import netty { prefix netty; revision-date 2013-11-19; }
9 import threadpool { prefix th; revision-date 2013-04-09; }
11 organization "Cisco Systems, Inc.";
13 contact "Milos Fabian <milfabia@cisco.com>";
16 "This module contains the base YANG definitions for
17 netty timer implementation.
19 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
21 This program and the accompanying materials are made available
22 under the terms of the Eclipse Public License v1.0 which
23 accompanies this distribution, and is available at
24 http://www.eclipse.org/legal/epl-v10.html";
26 revision "2013-11-19" {
31 identity netty-hashed-wheel-timer {
32 base config:module-type;
33 config:provided-service netty:netty-timer;
34 config:java-name-prefix HashedWheelTimer;
37 augment "/config:modules/config:module/config:configuration" {
38 case netty-hashed-wheel-timer {
39 when "/config:modules/config:module/config:type = 'netty-hashed-wheel-timer'";
45 leaf ticks-per-wheel {
49 container thread-factory {
50 uses config:service-ref {
53 config:required-identity th:threadfactory;