X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fnetty-event-executor-config%2Fsrc%2Fmain%2Fyang%2Fnetty-event-executor.yang;h=ca15334ea29d7916092d792db8991d1a5b87be7e;hp=d45eccded8f7fd6b5c20c3f68f67898e559815a5;hb=7843fba86f5b123755eb53d19f7a001312897a72;hpb=fd51e941751a3c0ef78b2b8d110ded138f763cf4 diff --git a/opendaylight/config/netty-event-executor-config/src/main/yang/netty-event-executor.yang b/opendaylight/config/netty-event-executor-config/src/main/yang/netty-event-executor.yang index d45eccded8..ca15334ea2 100644 --- a/opendaylight/config/netty-event-executor-config/src/main/yang/netty-event-executor.yang +++ b/opendaylight/config/netty-event-executor-config/src/main/yang/netty-event-executor.yang @@ -1,44 +1,55 @@ // vi: set smarttab et sw=4 tabstop=4: module netty-event-executor { yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor"; - prefix "netty-t"; + namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor"; + prefix "netty-ee"; import config { prefix config; revision-date 2013-04-05; } - import threadpool { prefix th; revision-date 2013-04-09; } + import netty { prefix netty; revision-date 2013-11-19; } organization "Cisco Systems, Inc."; contact "Milos Fabian "; description - "This module contains the base YANG definitions for NS-OS - thread-related services. + "This module contains the base YANG definitions for + netty event executor implementation. 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-11-12" { description "Initial revision"; } - + identity netty-global-event-executor { + status deprecated; base config:module-type; - config:provided-service th:netty-event-executor; + config:provided-service netty:netty-event-executor; config:java-name-prefix GlobalEventExecutor; } augment "/config:modules/config:module/config:configuration" { case netty-global-event-executor { when "/config:modules/config:module/config:type = 'netty-global-event-executor'"; - } } + identity netty-immediate-event-executor { + status deprecated; + base config:module-type; + config:provided-service netty:netty-event-executor; + config:java-name-prefix ImmediateEventExecutor; + } + augment "/config:modules/config:module/config:configuration" { + case netty-immediate-event-executor { + when "/config:modules/config:module/config:type = 'netty-immediate-event-executor'"; + } + } }