Interface TapFlowAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    TapFlow

    @Generated("mdsal-binding-generator")
    public interface TapFlowAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Grouping for Tap Flow

    This class represents the following YANG schema fragment defined in module neutron-tapaas

     grouping tap-flow-attributes {
       leaf tap-service-id {
         type yang:uuid;
       }
       leaf source-port {
         type yang:uuid;
       }
       leaf direction {
         type identityref {
           base direction-base;
         }
       }
     }
     
    The schema path to identify an instance is neutron-tapaas/tap-flow-attributes
    • 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

        Class<? extends TapFlowAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTapServiceId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getTapServiceId()
        Return tapServiceId, or null if it is not present.
             
                 UUID of the Tap Service Instance
             
         
        Returns:
        Uuid tapServiceId, or null if it is not present.
      • requireTapServiceId

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireTapServiceId()
        Return tapServiceId, guaranteed to be non-null.
             
                 UUID of the Tap Service Instance
             
         
        Returns:
        Uuid tapServiceId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if tapServiceId is not present
      • getSourcePort

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSourcePort()
        Return sourcePort, or null if it is not present.
             
                 Source port of traffic 
             
         
        Returns:
        Uuid sourcePort, or null if it is not present.
      • requireSourcePort

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireSourcePort()
        Return sourcePort, guaranteed to be non-null.
             
                 Source port of traffic 
             
         
        Returns:
        Uuid sourcePort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if sourcePort is not present
      • getDirection

        Class<? extends DirectionBase> getDirection()
        Return direction, or null if it is not present.
             
                 Direction of traffic
             
         
        Returns:
        Class<? extends DirectionBase> direction, or null if it is not present.
      • requireDirection

        default @NonNull Class<? extends DirectionBase> requireDirection()
        Return direction, guaranteed to be non-null.
             
                 Direction of traffic
             
         
        Returns:
        Class<? extends DirectionBase> direction, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if direction is not present