public final class IpAddressUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
addressForByteBuf(io.netty.buffer.ByteBuf buffer)
Returns IpAddress from byte array containing ipAddress lenght + ipAddress.
|
static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
addressForByteBufWOLength(io.netty.buffer.ByteBuf buffer)
Returns IpAddress from byte array containing ipAddress based on ByteArray length.
|
static io.netty.buffer.ByteBuf |
bytesFor(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress address)
Returns byte array containing IpAddress length and IpAddress.
|
static io.netty.buffer.ByteBuf |
bytesWOLengthFor(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress address)
Returns byte array containing IpAddress.
|
static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
extractIpAddress(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<?> route,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier rdNid) |
@Nonnull public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress addressForByteBuf(@Nonnull io.netty.buffer.ByteBuf buffer)
buffer
- containing ip address@Nonnull public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress addressForByteBufWOLength(@Nonnull io.netty.buffer.ByteBuf buffer)
buffer
- containing ip address@Nonnull public static io.netty.buffer.ByteBuf bytesFor(@Nonnull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress address)
address
- containing ipv4 or ipv6 address@Nonnull public static io.netty.buffer.ByteBuf bytesWOLengthFor(@Nonnull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress address)
address
- containing ipv4 or ipv6 addresspublic static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress extractIpAddress(@Nonnull org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<?> route, @Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier rdNid)
Copyright © 2019 OpenDaylight. All rights reserved.