Interface LspErrorCode

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<LspErrorCode>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<LspErrorCodeTlv>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Tlv

    public interface LspErrorCode
    extends org.opendaylight.yangtools.yang.binding.ChildOf<LspErrorCodeTlv>, org.opendaylight.yangtools.yang.binding.Augmentable<LspErrorCode>, Tlv

    This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful07

     container lsp-error-code {
       uses pcep:tlv;
       leaf error-code {
         type uint32;
       }
     }
     
    The schema path to identify an instance is odl-pcep-ietf-stateful07/lsp-error-code-tlv/lsp-error-code

    To create instances of this class use LspErrorCodeBuilder.

    See Also:
    LspErrorCodeBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getErrorCode()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 errorCode, or null if not present