All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping, PathIdGrouping
All Known Subinterfaces:
Ipv4Prefixes, Ipv4Prefixes, Nlri, WithdrawnRoutes

@Generated("mdsal-binding-generator") public interface Ipv4PrefixAndPathId extends org.opendaylight.yangtools.binding.Grouping, PathIdGrouping

This class represents the following YANG schema fragment defined in module bgp-message

 grouping ipv4-prefix-and-path-id {
   leaf prefix {
     type inet:ipv4-prefix;
   }
   uses path-id-grouping;
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
    Return prefix, or null if it is not present.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
    Return prefix, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathIdGrouping

    getPathId, requirePathId
  • Method Details

    • getPrefix

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getPrefix()
      Return prefix, or null if it is not present.
      Returns:
      Ipv4Prefix 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.Ipv4Prefix requirePrefix()
      Return prefix, guaranteed to be non-null.
      Returns:
      Ipv4Prefix prefix, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if prefix is not present