All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
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.yang.binding.DataObject

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;
     }
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends BgpTableType> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • 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