public final class MaskUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getAddressStringForIpPrefix(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpPrefix prefix) |
static String |
getAddressStringForIpv4Prefix(Ipv4Prefix prefix) |
static String |
getAddressStringForIpv6Prefix(Ipv6Prefix prefix) |
static short |
getMaskForAddress(Address address) |
static short |
getMaskForAddress(SimpleAddress address) |
static short |
getMaskForIpPrefix(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpPrefix prefix) |
static int |
getMaxMask(Address address) |
static boolean |
isMaskable(Address address) |
static boolean |
isMaskable(SimpleAddress address) |
static Eid |
normalize(Eid eid) |
static Eid |
normalize(Eid eid,
short mask) |
public static boolean isMaskable(Address address)
public static boolean isMaskable(SimpleAddress address)
public static int getMaxMask(Address address)
public static short getMaskForAddress(SimpleAddress address)
public static short getMaskForIpPrefix(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpPrefix prefix)
public static String getAddressStringForIpPrefix(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpPrefix prefix)
public static String getAddressStringForIpv4Prefix(Ipv4Prefix prefix)
public static String getAddressStringForIpv6Prefix(Ipv6Prefix prefix)
public static short getMaskForAddress(Address address)
Copyright © 2017 OpenDaylight. All rights reserved.