BUG-634: introduce netty ChannelFactory wrapper 25/6425/4
authorRobert Varga <rovarga@cisco.com>
Sun, 27 Apr 2014 15:55:42 +0000 (17:55 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 30 Apr 2014 12:25:12 +0000 (12:25 +0000)
Adds a wrapper for services exposing ChannelFactory. Needed for
protocols which need to extended netty functionality.

Change-Id: I8b29e3a91380519f03e5a2c5299077876d1c9edf
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/config/netty-config-api/src/main/yang/netty.yang

index 7cac5ad5bc6202265be39f385b8749d61bc77e62..e274b058dccce43045ac6647d9c8775e65ceb78f 100644 (file)
@@ -49,4 +49,12 @@ module netty {
         base "config:service-type";
         config:java-class "io.netty.util.Timer";
     }
-}
\ No newline at end of file
+
+    identity channel-factory {
+        description
+            "Configuration wrapper around netty's channel factory";
+
+        base "config:service-type";
+        config:java-class "io.netty.bootstrap.ChannelFactory";
+    }
+}