Interface IgpPrefixAttributes

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

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

    This class represents the following YANG schema fragment defined in module l3-unicast-igp-topology

     grouping igp-prefix-attributes {
       leaf prefix {
         type inet:ip-prefix;
       }
       leaf metric {
         type uint32;
       }
       leaf-list flag {
         type flag-type;
       }
     }
     
    The schema path to identify an instance is l3-unicast-igp-topologyigp-prefix-attributes
    • 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

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
        Return prefix, or null if it is not present.
        Returns:
        IpPrefix prefix, or null if it is not present.
      • requirePrefix

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix requirePrefix()
        Return prefix, guaranteed to be non-null.
        Returns:
        IpPrefix prefix, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if prefix is not present
      • getMetric

        org.opendaylight.yangtools.yang.common.Uint32 getMetric()
        Return metric, or null if it is not present.
        Returns:
        Uint32 metric, or null if it is not present.
      • requireMetric

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMetric()
        Return metric, guaranteed to be non-null.
        Returns:
        Uint32 metric, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if metric is not present
      • getFlag

        @Nullable List<Class<? extends FlagIdentity>> getFlag()
        Return flag, or null if it is not present.
        Returns:
        List<Class<? extends FlagIdentity>> flag, or null if it is not present.
      • requireFlag

        default @NonNull List<Class<? extends FlagIdentity>> requireFlag()
        Return flag, guaranteed to be non-null.
        Returns:
        List<Class<? extends FlagIdentity>> flag, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if flag is not present