BUG-2825: refactor to allow for embedding 01/35401/2
authorRobert Varga <robert.varga@pantheon.sk>
Thu, 25 Feb 2016 14:24:38 +0000 (15:24 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 25 Feb 2016 15:23:31 +0000 (15:23 +0000)
commit008fe5f4ec99745f5e52b9c196618e5d7941cdeb
treefa26a531ad2828fcbf7839e33a537a0c64bd4575
parent3afc8f31a37138cc4c0a6864f14233435e95df53
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>
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