Interface Tunnel

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Tunnel>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Match>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Tunnel
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Match>, org.opendaylight.yangtools.yang.binding.Augmentable<Tunnel>

    This class represents the following YANG schema fragment defined in module opendaylight-match-types

     container tunnel {
       leaf tunnel-id {
         type uint64;
       }
       leaf tunnel-mask {
         type uint64;
       }
     }
     
    The schema path to identify an instance is opendaylight-match-types/match/tunnel

    To create instances of this class use TunnelBuilder.

    See Also:
    TunnelBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<Tunnel> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTunnelId

        org.opendaylight.yangtools.yang.common.Uint64 getTunnelId()
        Metadata associated in the logical port
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 tunnelId, or null if not present
      • getTunnelMask

        org.opendaylight.yangtools.yang.common.Uint64 getTunnelMask()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 tunnelMask, or null if not present