Auto-convert String IP EIDs in AuthenticationKey 73/39773/1
authorLorand Jakab <lojakab@cisco.com>
Thu, 2 Jun 2016 13:47:17 +0000 (16:47 +0300)
committerLorand Jakab <lojakab@cisco.com>
Thu, 2 Jun 2016 14:35:16 +0000 (17:35 +0300)
commit16710c990947322f72f8a43df7c46a176e1fa676
tree3e7ef0c015a89fec4e9c053140b459847cf5e8d0
parent6438786b80b4b45a1d0ede684908fcb3ee0612ed
Auto-convert String IP EIDs in AuthenticationKey

When performing operations with AuthenticationKey objects from the
Northbound, auto-convert the IP addresses and prefixes inside the object
to binary, if sent in String form, when storing to the InMemoryDb. Keep
the original objects in MD-SAL.

Change-Id: I0afb41d765f3a782d160ef1a01d01a4c101ea946
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/mdsal/AuthenticationKeyDataListener.java
mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/util/LispAddressUtil.java
mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/lisp/AuthenticationKeyDataListener.java