Interface LspIdentifiersTlv

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

    @Generated("mdsal-binding-generator")
    public interface LspIdentifiersTlv
    extends org.opendaylight.yangtools.yang.binding.DataObject
    LSP Identifiers TLV

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

     grouping lsp-identifiers-tlv {
       container lsp-identifiers {
         uses pcep:tlv;
         leaf lsp-id {
           type rsvp:lsp-id;
         }
         leaf tunnel-id {
           type rsvp:tunnel-id;
         }
         choice address-family {
           case ipv4-case {
             container ipv4 {
               leaf ipv4-tunnel-sender-address {
                 type inet:ipv4-address-no-zone;
               }
               leaf ipv4-extended-tunnel-id {
                 type rsvp:ipv4-extended-tunnel-id;
               }
               leaf ipv4-tunnel-endpoint-address {
                 type inet:ipv4-address-no-zone;
               }
             }
           }
           case ipv6-case {
             container ipv6 {
               leaf ipv6-tunnel-sender-address {
                 type inet:ipv6-address-no-zone;
               }
               leaf ipv6-extended-tunnel-id {
                 type rsvp:ipv6-extended-tunnel-id;
               }
               leaf ipv6-tunnel-endpoint-address {
                 type inet:ipv6-address-no-zone;
               }
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-pcep-ietf-statefullsp-identifiers-tlv
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        LspIdentifiers getLspIdentifiers()
        Return lspIdentifiers, or null if it is not present.
        Returns:
        LspIdentifiers lspIdentifiers, or null if it is not present.