Class LispAddressStringifier


  • public final class LispAddressStringifier
    extends java.lang.Object
    Utility class with static methods returning string representations of supported LISP address types, both for use in URLs and for user friendly output.
    Author:
    Lorand Jakab
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • noAddrSeq

        protected static int noAddrSeq
    • Method Detail

      • getString

        public static java.lang.String getString​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
      • getString

        public static java.lang.String getString​(java.util.Set<Eid> eids)
      • getString

        public static java.lang.String getString​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.Address address)
      • getString

        public static java.lang.String getString​(XtrId xtrId)
      • getURIString

        public static java.lang.String getURIString​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
      • getURIString

        public static java.lang.String getURIString​(XtrId xtrId)
      • getURLString

        public static java.lang.String getURLString​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
      • getURLString

        public static java.lang.String getURLString​(XtrId xtrId)
      • getStringFromNoAddress

        protected static java.lang.String getStringFromNoAddress​(LispAddressStringifier.Destination dst,
                                                                 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.NoAddress addr)
      • getStringFromIpv4

        protected static java.lang.String getStringFromIpv4​(LispAddressStringifier.Destination dst,
                                                            org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.Ipv4 addr)
      • getStringFromIpv4Prefix

        protected static java.lang.String getStringFromIpv4Prefix​(LispAddressStringifier.Destination dst,
                                                                  org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.Ipv4Prefix addr)
      • getStringFromIpv6

        protected static java.lang.String getStringFromIpv6​(LispAddressStringifier.Destination dst,
                                                            org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.Ipv6 addr)
      • getStringFromIpv6Prefix

        protected static java.lang.String getStringFromIpv6Prefix​(LispAddressStringifier.Destination dst,
                                                                  org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.Ipv6Prefix addr)
      • getStringFromDistinguishedName

        protected static java.lang.String getStringFromDistinguishedName​(LispAddressStringifier.Destination dst,
                                                                         org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.DistinguishedName addr)
      • getStringFromAsNumber

        protected static java.lang.String getStringFromAsNumber​(LispAddressStringifier.Destination dst,
                                                                org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.AsNumber addr)
      • getStringFromAfiList

        protected static java.lang.String getStringFromAfiList​(LispAddressStringifier.Destination dst,
                                                               org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.AfiList addr)
      • getStringFromInstanceId

        protected static java.lang.String getStringFromInstanceId​(LispAddressStringifier.Destination dst,
                                                                  org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.InstanceId addr)
      • getStringFromApplicationData

        protected static java.lang.String getStringFromApplicationData​(LispAddressStringifier.Destination dst,
                                                                       org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.ApplicationData addr)
      • getStringFromExplicitLocatorPath

        protected static java.lang.String getStringFromExplicitLocatorPath​(LispAddressStringifier.Destination dst,
                                                                           org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.ExplicitLocatorPath addr)
      • getStringFromSourceDestKey

        protected static java.lang.String getStringFromSourceDestKey​(LispAddressStringifier.Destination dst,
                                                                     org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.SourceDestKey addr)
      • getStringFromKeyValueAddress

        protected static java.lang.String getStringFromKeyValueAddress​(LispAddressStringifier.Destination dst,
                                                                       org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.KeyValueAddress addr)
      • getStringFromMac

        protected static java.lang.String getStringFromMac​(LispAddressStringifier.Destination dst,
                                                           org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.Mac addr)
      • getStringFromServicePath

        protected static java.lang.String getStringFromServicePath​(LispAddressStringifier.Destination dst,
                                                                   org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.ServicePath addr)