BUG-2825: refactor to allow for embedding 51/35651/5
authorRobert Varga <robert.varga@pantheon.sk>
Thu, 25 Feb 2016 14:24:38 +0000 (15:24 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 4 Mar 2016 01:45:35 +0000 (02:45 +0100)
commit8fafd9718425a0c90b38ca957847ce2b28ac2a22
tree5232bc3f334ceda37e4beb86f1815da0701a7ecc
parent6d8487e51d3b7e499ca6ecffb37d2bdb0f39a48d
BUG-2825: refactor to allow for embedding

IetfInetUtils acts as the frontend for both addresses and prefixes,
hence the conversion needs to fill a byte array and get the limits from
its caller.

Change-Id: Ie15723db8c8a6cd37131d9a082aa86c9d6b8e171
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
(cherry picked from commit 008fe5f4ec99745f5e52b9c196618e5d7941cdeb)
model/ietf/ietf-type-util/src/main/java/org/opendaylight/mdsal/model/ietf/util/Ipv6Utils.java
model/ietf/ietf-type-util/src/test/java/org/opendaylight/mdsal/model/ietf/util/Ipv6UtilsTest.java