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
All Known Subinterfaces:
AddressFamilies, AfiSafi, AfiSafiGaugeTlv, BgpAddPathTableType, BGPBestPathSelection, MpReachNlri, MpUnreachNlri, MultiprotocolCapability, PerAfiSafiAdjRibInTlv, PerAfiSafiLocRibTlv, RouteRefresh, RouteRefreshRequestInput, RrMsgArgs, SupportedTables, Tables, Tables, Tables
All Known Implementing Classes:
BgpTableTypeImpl

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

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

 grouping bgp-table-type {
   leaf afi {
     type identityref {
       base address-family;
     }
   }
   leaf safi {
     type identityref {
       base subsequent-address-family;
     }
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return afi, or null if it is not present.
    Return safi, or null if it is not present.
    default @NonNull AddressFamily
    Return afi, guaranteed to be non-null.
    default @NonNull SubsequentAddressFamily
    Return safi, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getAfi

      AddressFamily getAfi()
      Return afi, or null if it is not present.
      Returns:
      AddressFamily afi, or null if it is not present.
    • requireAfi

      default @NonNull AddressFamily requireAfi()
      Return afi, guaranteed to be non-null.
      Returns:
      AddressFamily afi, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if afi is not present
    • getSafi

      Return safi, or null if it is not present.
      Returns:
      SubsequentAddressFamily safi, or null if it is not present.
    • requireSafi

      default @NonNull SubsequentAddressFamily requireSafi()
      Return safi, guaranteed to be non-null.
      Returns:
      SubsequentAddressFamily safi, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if safi is not present