Class InterVpnLinkDataComposite


  • public class InterVpnLinkDataComposite
    extends java.lang.Object
    It holds all info about an InterVpnLink, combining both configurational and stateful.
    • Constructor Detail

      • InterVpnLinkDataComposite

        public InterVpnLinkDataComposite​(InterVpnLink interVpnLink)
      • InterVpnLinkDataComposite

        public InterVpnLinkDataComposite​(InterVpnLinkState interVpnLinkState)
    • Method Detail

      • getInterVpnLinkConfig

        public InterVpnLink getInterVpnLinkConfig()
      • setInterVpnLinkConfig

        public void setInterVpnLinkConfig​(InterVpnLink interVpnLink)
      • setInterVpnLinkState

        public void setInterVpnLinkState​(InterVpnLinkState interVpnLinkState)
      • isComplete

        public boolean isComplete()
      • isActive

        public boolean isActive()
      • stepsOnDpn

        public boolean stepsOnDpn​(java.math.BigInteger dpnId)
      • isBgpRoutesLeaking

        public boolean isBgpRoutesLeaking()
      • isStaticRoutesLeaking

        public boolean isStaticRoutesLeaking()
      • isConnectedRoutesLeaking

        public boolean isConnectedRoutesLeaking()
      • isFirstEndpointVpnName

        public boolean isFirstEndpointVpnName​(java.lang.String vpnName)
      • isSecondEndpointVpnName

        public boolean isSecondEndpointVpnName​(java.lang.String vpnName)
      • isVpnLinked

        public boolean isVpnLinked​(java.lang.String vpnName)
      • isFirstEndpointIpAddr

        public boolean isFirstEndpointIpAddr​(java.lang.String endpointIp)
      • isSecondEndpointIpAddr

        public boolean isSecondEndpointIpAddr​(java.lang.String endpointIp)
      • isIpAddrTheOtherVpnEndpoint

        public boolean isIpAddrTheOtherVpnEndpoint​(java.lang.String ipAddr,
                                                   java.lang.String vpnUuid)
      • getInterVpnLinkName

        public @Nullable java.lang.String getInterVpnLinkName()
      • getFirstEndpointVpnUuid

        public java.util.Optional<java.lang.String> getFirstEndpointVpnUuid()
      • getFirstEndpointIpAddr

        public java.util.Optional<java.lang.String> getFirstEndpointIpAddr()
      • getFirstEndpointLportTag

        public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> getFirstEndpointLportTag()
      • getFirstEndpointDpns

        public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getFirstEndpointDpns()
      • getSecondEndpointVpnUuid

        public java.util.Optional<java.lang.String> getSecondEndpointVpnUuid()
      • getSecondEndpointIpAddr

        public java.util.Optional<java.lang.String> getSecondEndpointIpAddr()
      • getSecondEndpointLportTag

        public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> getSecondEndpointLportTag()
      • getSecondEndpointDpns

        public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getSecondEndpointDpns()
      • getVpnNameByIpAddress

        public @Nullable java.lang.String getVpnNameByIpAddress​(java.lang.String endpointIpAddr)
      • getOtherEndpoint

        public @Nullable java.lang.String getOtherEndpoint​(java.lang.String vpnUuid)
      • getOtherVpnNameByIpAddress

        public @Nullable java.lang.String getOtherVpnNameByIpAddress​(java.lang.String endpointIpAddr)
      • getEndpointLportTagByVpnName

        public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> getEndpointLportTagByVpnName​(java.lang.String vpnName)
      • getEndpointLportTagByIpAddr

        public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> getEndpointLportTagByIpAddr​(java.lang.String endpointIp)
      • getOtherEndpointLportTagByVpnName

        public java.util.Optional<org.opendaylight.yangtools.yang.common.Uint32> getOtherEndpointLportTagByVpnName​(java.lang.String vpnName)
      • getOtherVpnName

        public @Nullable java.lang.String getOtherVpnName​(java.lang.String vpnName)
      • getOtherEndpointIpAddr

        public @Nullable java.lang.String getOtherEndpointIpAddr​(java.lang.String vpnUuid)
      • getEndpointIpAddr

        public @Nullable java.lang.String getEndpointIpAddr​(java.lang.String vpnUuid)
      • getEndpointDpnsByVpnName

        public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getEndpointDpnsByVpnName​(java.lang.String vpnUuid)
      • getOtherEndpointDpnsByVpnName

        public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getOtherEndpointDpnsByVpnName​(java.lang.String vpnUuid)
      • getEndpointDpnsByIpAddr

        public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getEndpointDpnsByIpAddr​(java.lang.String endpointIp)
      • getOtherEndpointDpnsByIpAddr

        public java.util.List<org.opendaylight.yangtools.yang.common.Uint64> getOtherEndpointDpnsByIpAddr​(java.lang.String endpointIp)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object