Interface DetourObject

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

    @Generated("mdsal-binding-generator")
    public interface DetourObject
    extends org.opendaylight.yangtools.yang.binding.DataObject
    DETOUR Object

    This class represents the following YANG schema fragment defined in module rsvp

     grouping detour-object {
       choice detour-object {
         case ipv4-detour-object {
           uses rsvp-te-object;
           list plr {
             leaf plr-id {
               type inet:ipv4-address-no-zone;
             }
             leaf avoid-node {
               type inet:ipv4-address-no-zone;
             }
           }
         }
         case ipv6-detour-object {
           uses rsvp-te-object;
           list plr-id {
             leaf plr-id {
               type inet:ipv6-address-no-zone;
             }
           }
           list avoid-node {
             leaf avoid-node {
               type inet:ipv6-address-no-zone;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is rsvpdetour-object
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        DetourObject getDetourObject()
        Return detourObject, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.detour.object.DetourObject detourObject, or null if it is not present.