Interface ApplyLabel

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

    public interface ApplyLabel
    extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnAfConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<ApplyLabel>
    Apply one label mode for the VPN instance route.

    This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces

     container apply-label {
       choice apply-label-mode {
         case per-route {
           leaf apply-label-per-route {
             type boolean;
             default true;
           }
         }
         case per-instance {
           leaf apply-label-per-instance {
             type boolean;
             default false;
           }
         }
       }
     }
     
    The schema path to identify an instance is l3vpn-instances-interfaces/vpn-af-config/apply-label

    To create instances of this class use ApplyLabelBuilder.

    See Also:
    ApplyLabelBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<ApplyLabel> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getApplyLabelMode

        @Nullable ApplyLabelMode getApplyLabelMode()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.apply.label.ApplyLabelMode applyLabelMode, or null if not present