Default experimenter bundle migrated to ConfigSubsystem 15/8615/5
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 9 May 2014 13:21:05 +0000 (15:21 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 4 Jul 2014 09:38:02 +0000 (09:38 +0000)
 - updated copyright for ext bundle

Change-Id: I031afe7f1674d4fc44e91be64b5a1cb51bef44ac
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
49 files changed:
openflow-protocol-api/src/main/yang/openflow-augments.yang
openflow-protocol-ext/pom.xml
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/ExtensionRegistrator.java [new file with mode: 0644]
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/DefaultExperimenterDeserializerInitializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF10StatsReplyVendorDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF10VendorActionDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF10VendorMessageDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterActionDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterErrorMessageDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterInstructionDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterMessageDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13MultipartReplyExperimenterDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13QueueGetConfigReplyExperimenterDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13TableFeaturesExperimenterDeserializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/DefaultExperimenterSerializerInitializer.java [moved from openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/DefaultExperimenterInitializer.java with 76% similarity]
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF10StatsRequestVendorSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF10VendorActionSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF10VendorInputMessageFactory.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13ExperimenterActionSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13ExperimenterInputMessageFactory.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13ExperimenterInstructionSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13MeterBandExperimenterSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13MultipartExperimenterSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13TableFeatExpSerializer.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/util/ExtBufferUtils.java
openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/util/ExtConstants.java
openflow-protocol-ext/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/ext/rev140509/ExtensionRegistratorModule.java [new file with mode: 0644]
openflow-protocol-ext/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/ext/rev140509/ExtensionRegistratorModuleFactory.java [new file with mode: 0644]
openflow-protocol-ext/src/main/yang/openflow-ext.yang [new file with mode: 0644]
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF10StatsReplyVendorDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF10VendorActionDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF10VendorMessageDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterActionDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterErrorMessageDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterInstructionDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13ExperimenterMessageDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13MultipartReplyExperimenterDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13QueueGetConfigReplyExperimenterDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/deserialization/OF13TableFeaturesExperimenterDeserializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF10StatsRequestVendorSerializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF10VendorActionSerializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF10VendorInputMessageFactoryTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13ExperimenterActionSerializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13ExperimenterInputMessageFactoryTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13ExperimenterInstructionSerializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13MeterBandExperimenterSerializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13MultipartExperimenterSerializerTest.java
openflow-protocol-ext/src/test/java/org/opendaylight/openflowjava/protocol/ext/serialization/OF13TableFeatExpSerializerTest.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/DeserializerRegistryImpl.java

index ed6d01d15c23d1735544821bbeefd2fc2b110abd..2ac2d248bdbac6a0eb90616965c837b3202569f1 100644 (file)
          leaf experimenter {\r
              type uint32;\r
          }\r
-         leaf data {\r
-             type binary; \r
+         leaf exp-data {\r
+             type binary;\r
          }\r
      }\r
 \r
index 171aa3f6326378f8fbef15ecc1943368531d248b..935449c4d22b8253f00a48f97f212fd709b3bdbd 100644 (file)
         <tag>HEAD</tag>
     </scm>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.opendaylight.yangtools</groupId>
+                <artifactId>yang-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>generate-sources</goal>
+                        </goals>
+                        <configuration>
+                            <codeGenerators>
+                                <generator>
+                                    <codeGeneratorClass>
+                                        org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
+                                    </codeGeneratorClass>
+                                    <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
+                                    <additionalConfiguration>
+                                        <namespaceToPackage1>
+                                            urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
+                                        </namespaceToPackage1>
+                                    </additionalConfiguration>
+                                </generator>
+                                <generator>
+                                    <codeGeneratorClass>
+                                        org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
+                                    </codeGeneratorClass>
+                                    <outputBaseDir>${salGeneratorPath}</outputBaseDir>
+                                </generator>
+                                <generator>
+                                    <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
+                                    <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
+                                </generator>
+                            </codeGenerators>
+                            <inspectDependencies>true</inspectDependencies>
+                        </configuration>
+                    </execution>
+                </executions>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.opendaylight.controller</groupId>
+                        <artifactId>yang-jmx-generator-plugin</artifactId>
+                        <version>${config.version}</version>
+                    </dependency>
+                    <dependency>
+                        <groupId>org.opendaylight.yangtools</groupId>
+                        <artifactId>maven-sal-api-gen-plugin</artifactId>
+                        <version>${yangtools.generator.version}</version>
+                        <type>jar</type>
+                    </dependency>
+                </dependencies>
+            </plugin>
+        </plugins>
+    </build>
+
+
     <dependencies>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>openflow-protocol-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.openflowjava</groupId>
+            <artifactId>openflow-protocol-impl</artifactId>
+            <version>${project.version}</version>
+        </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-buffer</artifactId>
             <artifactId>slf4j-log4j12</artifactId>
             <version>${slf4j.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.controller</groupId>
+            <artifactId>config-api</artifactId>
+            <version>${config.version}</version>
+        </dependency>
     </dependencies>
 </project>
diff --git a/openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/ExtensionRegistrator.java b/openflow-protocol-ext/src/main/java/org/opendaylight/openflowjava/protocol/ext/ExtensionRegistrator.java
new file mode 100644 (file)
index 0000000..19ee4f4
--- /dev/null
@@ -0,0 +1,49 @@
+/*\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+\r
+package org.opendaylight.openflowjava.protocol.ext;\r
+\r
+import java.util.List;\r
+\r
+import org.opendaylight.openflowjava.protocol.ext.deserialization.DefaultExperimenterDeserializerInitializer;\r
+import org.opendaylight.openflowjava.protocol.ext.serialization.DefaultExperimenterSerializerInitializer;\r
+import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;\r
+\r
+/**\r
+ * @author michal.polkorab\r
+ *\r
+ */\r
+public class ExtensionRegistrator implements AutoCloseable {\r
+\r
+    /**\r
+     * @param providers providesr that shall be filled with serializers\r
+     */\r
+    public void registerDefaultExperimenterSerializers(List<SwitchConnectionProvider> providers) {\r
+        if (providers != null) {\r
+            for (SwitchConnectionProvider provider : providers) {\r
+                DefaultExperimenterSerializerInitializer.registerSerializers(provider);\r
+            }\r
+        }\r
+    }\r
+\r
+    /**\r
+     * @param providers providers that shall be filled with deserializers\r
+     */\r
+    public void registerDefaultExperimenterDeserializers(List<SwitchConnectionProvider> providers) {\r
+        if (providers != null) {\r
+            for (SwitchConnectionProvider provider : providers) {\r
+                DefaultExperimenterDeserializerInitializer.registerDeserializers(provider);\r
+            }\r
+        }\r
+    }\r
+\r
+    @Override\r
+    public void close() throws Exception {\r
+        // no need to close - registrator only registers (de)serializers and quits\r
+    }\r
+}\r
index 9dde85e341a4f05a4cd764db6c246ac82408bb10..c57e67e8d39db4ee39f66ca5d91b110915566325 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
@@ -8,9 +8,9 @@
 \r
 package org.opendaylight.openflowjava.protocol.ext.deserialization;\r
 \r
-import org.opendaylight.openflowjava.protocol.api.extensibility.DeserializerRegistry;\r
 import org.opendaylight.openflowjava.protocol.api.extensibility.MessageCodeKey;\r
 import org.opendaylight.openflowjava.protocol.ext.util.ExtConstants;\r
+import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;\r
 \r
@@ -22,19 +22,19 @@ public class DefaultExperimenterDeserializerInitializer {
 \r
     /**\r
      * Registers default experimenter deserializers\r
-     * @param registry registry to be filled with deserializers\r
+     * @param provider provider to be filled with deserializers\r
      */\r
-    public static void registerDeserializers(DeserializerRegistry registry) {\r
+    public static void registerDeserializers(SwitchConnectionProvider provider) {\r
         // register OF v1.0 default experimenter deserializers\r
         // - default action deserializer\r
-        registry.registerDeserializer(new MessageCodeKey(ExtConstants.OF10_VERSION_ID,\r
+        provider.registerDeserializer(new MessageCodeKey(ExtConstants.OF10_VERSION_ID,\r
                 ExtConstants.EXPERIMENTER_VALUE, Action.class), new OF13ExperimenterActionDeserializer());\r
         // register OF v1.3 default experimenter deserializers\r
         // - default action deserializer\r
-        registry.registerDeserializer(new MessageCodeKey(ExtConstants.OF13_VERSION_ID,\r
+        provider.registerDeserializer(new MessageCodeKey(ExtConstants.OF13_VERSION_ID,\r
                 ExtConstants.EXPERIMENTER_VALUE, Action.class), new OF13ExperimenterActionDeserializer());\r
         // - default instruction deserializer\r
-        registry.registerDeserializer(new MessageCodeKey(ExtConstants.OF13_VERSION_ID,\r
+        provider.registerDeserializer(new MessageCodeKey(ExtConstants.OF13_VERSION_ID,\r
                 ExtConstants.EXPERIMENTER_VALUE, Instruction.class), new OF13ExperimenterInstructionDeserializer());\r
     }\r
 }\r
index f2447447533d617d4bbcb2b6396060cfb707398a..e981c1b8caa0f1c9049255b706ee00918a067310 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index f52d83107600e874b12e486e5cd0ae6fa823e3db..2ce0be6c7c4fd79276bedb839c5321f82275218e 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 493b35af9b1df8c84b327104355b7279ff5ee061..d421e593e8a4f02113c3355a7e0f12449b7f3813 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 0da1c33f25f10058dc6e3cc4fb7190a5816059eb..86acddcebda5adcb9e10d2c631b27919f537f53f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 2239d119b3d97f8a96693f7f2706e8302be9e274..a95769ca97f5f976aeb8324a2450b7c3946afb4b 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
@@ -28,7 +28,7 @@ public class OF13ExperimenterErrorMessageDeserializer implements OFDeserializer<
         if (message.readableBytes() > 0) {\r
             byte[] data = new byte[message.readableBytes()];\r
             message.readBytes(data);\r
-            expBuilder.setData(data);\r
+            expBuilder.setExpData(data);\r
         }\r
         return expBuilder.build();\r
     }\r
index c6a3b389e756f49f57558b64f57f4a6d455a0dab..2474a7dd5d80d9b2f8a4d916b40d6f164eeb0329 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 43b0356fbfebd5d6cb0d3c31c33a313fbd99303d..fafdd4498ac18fc48a2544bbf840966d70de540e 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 138bb702bd3d7f052549daf0cff22b6809b11671..54027e9055ec3d14ef088f542e06186515e24caf 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 87bcff00c6c5cf75f5fe71752336b15a1f5bf98b..fdbd051cf4842b8c9b62743ecc508bc70caf51d3 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index ef9a811e53dd75a5584c92700fcbf3847385c691..aa9993d5c9b7f7263c738a4f4e11caf09fc4e246 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
@@ -10,8 +10,8 @@ package org.opendaylight.openflowjava.protocol.ext.serialization;
 \r
 import org.opendaylight.openflowjava.protocol.api.extensibility.EnhancedMessageTypeKey;\r
 import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey;\r
-import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistry;\r
 import org.opendaylight.openflowjava.protocol.ext.util.ExtConstants;\r
+import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.Experimenter;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;\r
@@ -24,45 +24,45 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731
  * @author michal.polkorab\r
  *\r
  */\r
-public class DefaultExperimenterInitializer {\r
+public class DefaultExperimenterSerializerInitializer {\r
 \r
     /**\r
      * Registers message serializers into provided registry\r
-     * @param registry registry to be initialized with message serializers\r
+     * @param provider provider to be initialized with message serializers\r
      */\r
-    public static void registerDefaultExperimenterSerializers(SerializerRegistry registry) {\r
+    public static void registerSerializers(SwitchConnectionProvider provider) {\r
         // register OF v1.0 default experimenter serializers\r
         short version = ExtConstants.OF10_VERSION_ID;\r
         // - default vendor (experimenter) message serializer\r
-        registry.registerSerializer(new MessageTypeKey<>(version, ExperimenterInput.class),\r
+        provider.registerSerializer(new MessageTypeKey<>(version, ExperimenterInput.class),\r
                 new OF10VendorInputMessageFactory());\r
         // - default vendor (experimenter) action serializer\r
-        registry.registerSerializer(new EnhancedMessageTypeKey<>(version, Action.class,\r
+        provider.registerSerializer(new EnhancedMessageTypeKey<>(version, Action.class,\r
                 Experimenter.class), new OF10VendorActionSerializer());\r
         // - default vendor stats (experimenter multipart) serializer\r
-        registry.registerSerializer(new MessageTypeKey<>(version, MultipartRequestExperimenter.class),\r
+        provider.registerSerializer(new MessageTypeKey<>(version, MultipartRequestExperimenter.class),\r
                 new OF10StatsRequestVendorSerializer());\r
 \r
         // register OF v1.3 default experimenter serializers\r
         version = ExtConstants.OF13_VERSION_ID;\r
         // - default experimenter message serializer\r
-        registry.registerSerializer(new MessageTypeKey<>(version, ExperimenterInput.class),\r
+        provider.registerSerializer(new MessageTypeKey<>(version, ExperimenterInput.class),\r
                 new OF13ExperimenterInputMessageFactory());\r
         // - default experimenter action serializer\r
-        registry.registerSerializer(new EnhancedMessageTypeKey<>(version, Action.class,\r
+        provider.registerSerializer(new EnhancedMessageTypeKey<>(version, Action.class,\r
                 Experimenter.class), new OF13ExperimenterActionSerializer());\r
         // - default vendor stats (experimenter multipart) serializer\r
-        registry.registerSerializer(new MessageTypeKey<>(version, MultipartRequestExperimenter.class),\r
+        provider.registerSerializer(new MessageTypeKey<>(version, MultipartRequestExperimenter.class),\r
                 new OF13MultipartExperimenterSerializer());\r
         // - default experimenter instruction serializer\r
-        registry.registerSerializer(new EnhancedMessageTypeKey<>(version, Instruction.class,\r
+        provider.registerSerializer(new EnhancedMessageTypeKey<>(version, Instruction.class,\r
                 org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common\r
                 .instruction.rev130731.Experimenter.class), new OF13ExperimenterInstructionSerializer());\r
         // - default experimenter message serializer\r
-        registry.registerSerializer(new MessageTypeKey<>(version, TableFeatureProperties.class),\r
+        provider.registerSerializer(new MessageTypeKey<>(version, TableFeatureProperties.class),\r
                 new OF13TableFeatExpSerializer());\r
         // - default experimenter message serializer\r
-        registry.registerSerializer(new MessageTypeKey<>(version, MeterBandExperimenter.class),\r
+        provider.registerSerializer(new MessageTypeKey<>(version, MeterBandExperimenter.class),\r
                 new OF13MeterBandExperimenterSerializer());\r
     }\r
 }\r
index a2f94f3e458aff4e29d68ceab58c7ae59a9941c5..2958d363c001732375a986f93154b63023226048 100644 (file)
@@ -1,3 +1,11 @@
+/*\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+\r
 package org.opendaylight.openflowjava.protocol.ext.serialization;\r
 \r
 import io.netty.buffer.ByteBuf;\r
index 83d20ad78fc4d9162e972ba10c786088a80fbf0b..2f2deab10219e55ede2b11ac7c23934bd6608459 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index ef1f763367e454906d5b372f6443500206a4fc25..b20cef695cd9400e57f99388c942ad52cf48c658 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index c0fbb480535004bcd3ea713455fa810c56bf3170..83acd146c0721c04fc12c14fb5e0b9976afb2ae6 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 0b5752c8befe0c1349e901e02369ac6f2ddf5d5c..1dcb8bbbffaf6cbed8d40bc95feb1cadca6762ad 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 6cd2cf72d0f94c6a7c42ccf857399dcb6f1c2f57..88e28cb4a0fb1c97c37475a91f30495d636dcdfd 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index f65f5fbc4b4558b966ff05a21ec6834a0fa90a86..fad246bbb51380b769617aeef4b57e67ea48c40b 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index d018bf758e724badc70000dfc338a250ffff21f1..be8e4a709225646371470a81842fc133d3e964d2 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 5eba6bf11901af9aa106eec5facbb78f831a21e0..8eab0c3c4a0aa574a39e22df7e6d8375a6d160da 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 1bae5d9bc69884843f46b1fb9291dfe03b00157c..4c878f3880318a41430db45baac06281cb388ba1 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 80c384f3e7b1247fa6f2c83e4a7ba403083d4e28..06f51eb663e6d109efd5932ba96b20df438bade8 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
diff --git a/openflow-protocol-ext/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/ext/rev140509/ExtensionRegistratorModule.java b/openflow-protocol-ext/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/ext/rev140509/ExtensionRegistratorModule.java
new file mode 100644 (file)
index 0000000..86ef855
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+* Copyright (c) 2013 Cisco Systems, Inc. and others.  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
+*/
+package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.ext.rev140509;
+
+import org.opendaylight.openflowjava.protocol.ext.ExtensionRegistrator;
+
+public class ExtensionRegistratorModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.ext.rev140509.AbstractExtensionRegistratorModule {
+    public ExtensionRegistratorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
+        super(identifier, dependencyResolver);
+    }
+
+    public ExtensionRegistratorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.ext.rev140509.ExtensionRegistratorModule oldModule, java.lang.AutoCloseable oldInstance) {
+        super(identifier, dependencyResolver, oldModule, oldInstance);
+    }
+
+    @Override
+    public void customValidation() {
+        // add custom validation form module attributes here.
+    }
+
+    @Override
+    public java.lang.AutoCloseable createInstance() {
+        ExtensionRegistrator registrator =  new ExtensionRegistrator();
+        registrator.registerDefaultExperimenterSerializers(getOpenflowSwitchConnectionProviderDependency());
+        registrator.registerDefaultExperimenterDeserializers(getOpenflowSwitchConnectionProviderDependency());
+        return registrator;
+    }
+
+}
diff --git a/openflow-protocol-ext/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/ext/rev140509/ExtensionRegistratorModuleFactory.java b/openflow-protocol-ext/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/ext/rev140509/ExtensionRegistratorModuleFactory.java
new file mode 100644 (file)
index 0000000..139c492
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+* Copyright (c) 2013 Cisco Systems, Inc. and others.  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
+*/
+/*
+* Generated file
+*
+* Generated from: yang module name: openflow-ext yang module local name: openflow-ext
+* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
+* Generated at: Fri May 09 15:50:56 CEST 2014
+*
+* Do not modify this file unless it is present under src/main directory
+*/
+package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.ext.rev140509;
+public class ExtensionRegistratorModuleFactory extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.ext.rev140509.AbstractExtensionRegistratorModuleFactory {
+
+}
diff --git a/openflow-protocol-ext/src/main/yang/openflow-ext.yang b/openflow-protocol-ext/src/main/yang/openflow-ext.yang
new file mode 100644 (file)
index 0000000..aa78e3e
--- /dev/null
@@ -0,0 +1,45 @@
+/*\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+\r
+module openflow-ext {\r
+       yang-version 1;\r
+    namespace "urn:opendaylight:params:xml:ns:yang:openflow:ext";\r
+    prefix "openflow-ext";\r
+\r
+    import config {prefix config; revision-date 2013-04-05;}\r
+    import openflow-switch-connection-provider {prefix openflow-switch-connection-provider;revision-date 2014-03-28;}\r
+\r
+\r
+    description\r
+        "openflow library default extension package";\r
+\r
+    revision "2014-05-09" {\r
+        description\r
+            "Initial revision";\r
+    }\r
+\r
+    identity openflow-ext {\r
+        base config:module-type;\r
+        config:java-name-prefix ExtensionRegistrator;\r
+    }\r
+\r
+    augment "/config:modules/config:module/config:configuration" {\r
+        case openflow-ext {\r
+            when "/config:modules/config:module/config:type = 'openflow-ext'";\r
+\r
+            list openflow-switch-connection-provider {\r
+                uses config:service-ref {\r
+                    refine type {\r
+                        mandatory true;\r
+                        config:required-identity openflow-switch-connection-provider:openflow-switch-connection-provider;\r
+                    }\r
+                }\r
+            }\r
+        }\r
+    }\r
+}
\ No newline at end of file
index 8979b7dd375528c86dfc70cb9db11c954dbf016e..0a20e935f24df749660b1dfb3248f86fb0d959df 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 46f4a4104c43f7fad03403cdb1854dc126ec6b3a..4894fae19b36d25ec6428492879177266dd7e3c0 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 76514bd8d46934fd8b26bb08e76bba59c8696865..02eb4b0fc844da576ccec6dab41f20ddfab79aff 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 4ea3bf3c5e41e3900c3718aedf8919ef7759e0b2..3088c2e57efd962fc6d92f039de5b2c7a2e5fb32 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index e37f62e404dda22f833caf1238279b7500ec9ef5..5f3aa96d4ba5b2d942dcadbdedb8157d0e6b9aeb 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
@@ -39,7 +39,7 @@ public class OF13ExperimenterErrorMessageDeserializerTest {
 \r
         Assert.assertEquals("Wrong exp-type", 35000, message.getExpType().intValue());\r
         Assert.assertEquals("Wrong experimenter", 70000, message.getExperimenter().intValue());\r
-        Assert.assertArrayEquals("Wrong data", data, message.getData());\r
+        Assert.assertArrayEquals("Wrong data", data, message.getExpData());\r
     }\r
 \r
     /**\r
@@ -58,6 +58,6 @@ public class OF13ExperimenterErrorMessageDeserializerTest {
 \r
         Assert.assertEquals("Wrong exp-type", 35000, message.getExpType().intValue());\r
         Assert.assertEquals("Wrong experimenter", 70000, message.getExperimenter().intValue());\r
-        Assert.assertNull("Unexpected data", message.getData());\r
+        Assert.assertNull("Unexpected data", message.getExpData());\r
     }\r
 }\r
index bd9f8db06b8b6ed71170046d8d882710745d7617..aed3fac46b736d71a6e389fafd5b708e13236ec4 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index f5cc9619d0f2e001a259798936ef9f0978c77d53..c1b0da7a9f0c6ee1a6816d31f07a5a5cd051bef6 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index ad36b542a9e2e226c4dd9a6b0b419895c5f6bc68..dc789a98f551a42f1d3ab159ff83416bdbd4f0f7 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index b11d466d86f2cd1af2511b434da4a67c088025dd..27133e66dfa6eba6acb20dfe283bdde3bf5539dc 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 600a36fd86647d7ac8190e74969bc90418e519cd..e7cb027f1f21e9015ee10b98a9cbf447d1d5b051 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index e5fd1f6b22c8661358f20d18fe2dcf2371419050..7a55990bc9782287750637be00a730faa6988f91 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index bdb06aaa66279b86f7122c5a5d494599812615c2..130fcc0ebb5947f2ff0bdeae062f10b318990b7d 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 2d9e82f9112e8b29173f59be26a8379a8d09a86a..8c7f1c702fa0f5be3aff6c1fce2ce090b67c3f73 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 2eaf92bcc58c1b32f0603c1d78c4f3fbe26d8cf7..e7cb7e762c3dd149c174976433397d71eaa88526 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 1a14b9d69e24296d51cca411d56188f24efbddfe..ba0bbf4a5f0c3c5ef1bef05c2ea18a728ad924ab 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 177ef6317f364320084e3f42deee2b3fccf639ee..cf01dffc5eabc9dbac5231fa8b804bb2e6a60f4a 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 624a653659ed3e5dbca6625c6ae9480bb63027ae..7cc5b493bcb83a18e70d07c56c76543e71c8f2cf 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index 216e5c7283cacac9d0e05cd2e01a664fe90e04f3..aa332ab45acc3139d378c593139d79142a9b920d 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index b6f89c541b975685c890f07be155166319638910..cee23f6a4cb0d3c25f7e3a84bdc0746efc7f2983 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
  *\r
  * This program and the accompanying materials are made available under the\r
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
index f7f8b6fba9682cefdfbfeb61aa712ce3947d8888..f78dbb85f188193bc5b09a754414426e3de6a17f 100644 (file)
@@ -26,7 +26,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.matc
  * @author michal.polkorab
  */
 public class DeserializerRegistryImpl implements DeserializerRegistry {
-    
+
     private Map<MessageCodeKey, OFGeneralDeserializer> registry;
 
     /**