Interface SetTpSrcAction

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

    public interface SetTpSrcAction
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Action>, org.opendaylight.yangtools.yang.binding.Augmentable<SetTpSrcAction>

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

     container set-tp-src-action {
       leaf port {
         type inet:port-number;
       }
       leaf ip-protocol {
         type uint8;
         default 0;
       }
     }
     
    The schema path to identify an instance is opendaylight-action-types/action/action/set-tp-src-action-case/set-tp-src-action

    To create instances of this class use SetTpSrcActionBuilder.

    See Also:
    SetTpSrcActionBuilder
    • 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<SetTpSrcAction> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPort

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getPort()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port, or null if not present
      • getIpProtocol

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getIpProtocol()
        IP protocol.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 ipProtocol, or null if not present