The reason for migration is that TCP-MD5 are part of the netty library so There is no need to inject any md5 config modules.
This will require upgrade Netty 4.0.33.Final -> 4.0.36.Final and Added new rfc2385.yang and KeyMapping for md5 key as base changes.
this base changes will be extended to other module like pcep,bgp and pcc-mock for the migration.
Change-Id: I13ce392759cadb569ffed37fcee8e7095bbcc2e7
Signed-off-by: Om Prakash <op317q@att.com>
--- /dev/null
+/*
+ * Copyright (c) 2016 AT&T Services, 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.protocol.concepts;
+
+import java.net.InetAddress;
+import java.util.HashMap;
+import java.util.Map;
+
+public final class KeyMapping extends HashMap<InetAddress, byte[]> {
+ private static final long serialVersionUID = 1L;
+
+ public KeyMapping() {
+ super();
+ }
+
+ public KeyMapping(final int initialCapacity, final float loadFactor) {
+ super(initialCapacity, loadFactor);
+ }
+
+ public KeyMapping(final int initialCapacity) {
+ super(initialCapacity);
+ }
+
+ public KeyMapping(final Map<? extends InetAddress, ? extends byte[]> m) {
+ super(m);
+ }
+}
--- /dev/null
+// Contents of "rfc2385"
+module rfc2385 {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:rfc2385:cfg";
+ prefix "rfc2385";
+
+ organization "AT&T Services, Inc.";
+
+ contact "Om Prakash <op317q@att.com>";
+
+ description
+ "This module contains the base YANG definitions for
+ Netty Epoll Signature option.
+
+ Copyright (c)2016 AT&T Services, 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";
+
+ revision "2016-03-24" {
+ description
+ "Initial revision";
+ }
+
+
+ typedef rfc2385-key {
+ reference "https://tools.ietf.org/html/rfc2385#section-4.5";
+ type string {
+ length 1..80;
+ }
+ }
+
+}
<!-- TCP-MD5 artifacts -->
<tcpmd5.version>1.3.0-SNAPSHOT</tcpmd5.version>
+ <!-- EPOLL artifacts -->
+ <os.detected.classifier>linux-x86_64</os.detected.classifier>
+
<bgpcep.version>0.6.0-SNAPSHOT</bgpcep.version>
</properties>