X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fnetty-config-api%2Fsrc%2Fmain%2Fyang%2Fnetty.yang;h=e274b058dccce43045ac6647d9c8775e65ceb78f;hb=31b7a44c89d1057489338492fcf62a64147bea24;hp=7f7a3ff4ce83e7b5580a78455dce7943e9efac4c;hpb=c57785bd755dfdeaf829ce80a4b8b383d8c04602;p=controller.git diff --git a/opendaylight/config/netty-config-api/src/main/yang/netty.yang b/opendaylight/config/netty-config-api/src/main/yang/netty.yang index 7f7a3ff4ce..e274b058dc 100644 --- a/opendaylight/config/netty-config-api/src/main/yang/netty.yang +++ b/opendaylight/config/netty-config-api/src/main/yang/netty.yang @@ -1,14 +1,14 @@ // vi: set smarttab et sw=4 tabstop=4: module netty { - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:controller:netty"; - prefix "netty"; + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:controller:netty"; + prefix "netty"; - import config { prefix config; revision-date 2013-04-05; } + import config { prefix config; revision-date 2013-04-05; } - organization "Cisco Systems, Inc."; + organization "Cisco Systems, Inc."; - contact "Milos Fabian "; + contact "Milos Fabian "; description "This module contains the base YANG definitions for @@ -17,15 +17,15 @@ module netty { 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-19" { description "Initial revision."; } - + identity netty-threadgroup { description "Configuration wrapper around netty's threadgroup"; @@ -33,7 +33,7 @@ module netty { base "config:service-type"; config:java-class "io.netty.channel.EventLoopGroup"; } - + identity netty-event-executor { description "Configuration wrapper around netty's event executor"; @@ -41,12 +41,20 @@ module netty { base "config:service-type"; config:java-class "io.netty.util.concurrent.EventExecutor"; } - + identity netty-timer { description "Configuration wrapper around netty's timer"; base "config:service-type"; - config:java-class "io.netty.util.Timer"; + config:java-class "io.netty.util.Timer"; + } + + identity channel-factory { + description + "Configuration wrapper around netty's channel factory"; + + base "config:service-type"; + config:java-class "io.netty.bootstrap.ChannelFactory"; } -} \ No newline at end of file +}