Tabnine Logo
Identity
Code IndexAdd Tabnine to your IDE (free)

How to use
Identity
in
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ipsec.rev181214.ike.general.policy.profile.grouping

Best Java code snippets using org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ipsec.rev181214.ike.general.policy.profile.grouping.Identity (Showing top 3 results out of 315)

origin: io.fd.hc2vpp.ipsec/ipsec-api

public IdentityBuilder(Identity base) {
  this._local = base.getLocal();
  this._remote = base.getRemote();
  if (base instanceof IdentityImpl) {
    IdentityImpl impl = (IdentityImpl) base;
    if (!impl.augmentation.isEmpty()) {
      this.augmentation = new HashMap<>(impl.augmentation);
    }
  } else if (base instanceof AugmentationHolder) {
    @SuppressWarnings("unchecked")
    AugmentationHolder<Identity> casted =(AugmentationHolder<Identity>) base;
    if (!casted.augmentations().isEmpty()) {
      this.augmentation = new HashMap<>(casted.augmentations());
    }
  }
}
origin: io.fd.hc2vpp.ipsec/ipsec-api

if (!Objects.equals(_local, other.getLocal())) {
  return false;
if (!Objects.equals(_remote, other.getRemote())) {
  return false;
    if (!e.getValue().equals(other.augmentation(e.getKey()))) {
      return false;
origin: io.fd.hc2vpp.ipsec/ipsec-impl

@Override
public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<Identity> id,
                  @Nonnull final Identity dataAfter,
                  @Nonnull final WriteContext writeContext) throws WriteFailedException {
  String name = id.firstKeyOf(Policy.class).getName();
  if (dataAfter.getLocal() != null) {
    setProfileId(id, name, dataAfter.getLocal().getIdentity(), true);
  }
  if (dataAfter.getRemote() != null) {
    setProfileId(id, name, dataAfter.getRemote().getIdentity(), false);
  }
}
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ipsec.rev181214.ike.general.policy.profile.groupingIdentity

Javadoc

Specify IKE identity value

This class represents the following YANG schema fragment defined in module hc2vpp-ietf-ipsec

 
container identity { 
container local { 
uses identity-grouping; 
} 
container remote { 
uses identity-grouping; 
} 
} 
The schema path to identify an instance is hc2vpp-ietf-ipsec/ike-general-policy-profile-grouping/identity

To create instances of this class use IdentityBuilder.

Most used methods

  • getLocal
    Specify the identity of the local IP Security (IPSec)tunnel endpoint in an Internet Key Exchange (IK
  • getRemote
    Specify the identity of the remote IP Security (IPSec)tunnel endpoint in anInternet Key Exchange (IK
  • augmentation

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • BoxLayout (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now