All Superinterfaces:
ApplyPolicyGroup, org.opendaylight.yangtools.binding.Augmentable<AfiSafi>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<BgpCommonAfiSafiList>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.EntryObject<BgpCommonAfiSafiList,AfiSafi,AfiSafiKey>, org.opendaylight.yangtools.binding.Grouping, org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>, Ipv4LabelledUnicastGroup, Ipv4UnicastGroup, Ipv6LabelledUnicastGroup, Ipv6UnicastGroup, org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,AfiSafi>, org.opendaylight.yangtools.binding.lib.JavaDataContainer<AfiSafi>, org.opendaylight.yangtools.binding.KeyAware<AfiSafiKey>, L2vpnEvpnGroup, L2vpnVplsGroup, L3vpnIpv4MulticastGroup, L3vpnIpv4UnicastGroup, L3vpnIpv6MulticastGroup, L3vpnIpv6UnicastGroup, org.opendaylight.yangtools.binding.ParentObject<AfiSafi>

AFI,SAFI configuration available for the neighbour or group

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

 list afi-safi {
   key afi-safi-name;
   leaf afi-safi-name {
     type leafref {
       path ../config/afi-safi-name;
     }
   }
   container graceful-restart {
     container config {
       uses bgp-afi-safi-graceful-restart_config;
     }
     container state {
       config false;
       uses bgp-afi-safi-graceful-restart_config;
     }
   }
   container config {
     uses bgp-afi-safi_config;
   }
   container state {
     config false;
     uses bgp-afi-safi_config;
     uses bgp-op:bgp-afi-safi_state;
   }
   uses rpol:apply-policy-group;
   uses ipv4-unicast-group;
   uses ipv6-unicast-group;
   uses ipv4-labelled-unicast-group;
   uses ipv6-labelled-unicast-group;
   uses l3vpn-ipv4-unicast-group;
   uses l3vpn-ipv6-unicast-group;
   uses l3vpn-ipv4-multicast-group;
   uses l3vpn-ipv6-multicast-group;
   uses l2vpn-vpls-group;
   uses l2vpn-evpn-group;
 }
 

To create instances of this class use AfiSafiBuilder.

See Also:
  • Field Details

    • QNAME

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

    • getAfiSafiName

      AfiSafiType getAfiSafiName()
      Return afiSafiName, or null if it is not present.
           
               Reference to the AFI-SAFI name used as a key for the AFI-SAFI list
           
       
      Returns:
      AfiSafiType afiSafiName, or null if it is not present.
    • requireAfiSafiName

      default @NonNull AfiSafiType requireAfiSafiName()
      Return afiSafiName, guaranteed to be non-null.
           
               Reference to the AFI-SAFI name used as a key for the AFI-SAFI list
           
       
      Returns:
      AfiSafiType afiSafiName, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if afiSafiName is not present
    • getGracefulRestart

      GracefulRestart getGracefulRestart()
      Return gracefulRestart, or null if it is not present.
           
               Parameters relating to BGP graceful-restart
           
       
      Returns:
      GracefulRestart gracefulRestart, or null if it is not present.
    • nonnullGracefulRestart

      @NonNull GracefulRestart nonnullGracefulRestart()
      Return gracefulRestart, or an empty instance if it is not present.
           
               Parameters relating to BGP graceful-restart
           
       
      Returns:
      GracefulRestart gracefulRestart, or an empty instance if it is not present.
    • getConfig

      Config getConfig()
      Return config, or null if it is not present.
           
               Configuration parameters for the AFI-SAFI
           
       
      Returns:
      Config config, or null if it is not present.
    • nonnullConfig

      @NonNull Config nonnullConfig()
      Return config, or an empty instance if it is not present.
           
               Configuration parameters for the AFI-SAFI
           
       
      Returns:
      Config config, or an empty instance if it is not present.
    • getState

      State getState()
      Return state, or null if it is not present.
           
               State information relating to the AFI-SAFI
           
       
      Returns:
      State state, or null if it is not present.
    • nonnullState

      @NonNull State nonnullState()
      Return state, or an empty instance if it is not present.
           
               State information relating to the AFI-SAFI
           
       
      Returns:
      State state, or an empty instance if it is not present.
    • implementedInterface

      default Class<AfiSafi> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.ParentObject<AfiSafi>
    • javaHC

      default int javaHC()
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,AfiSafi>
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<AfiSafi>
    • javaEQ

      default boolean javaEQ(AfiSafi obj)
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,AfiSafi>
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<AfiSafi>
    • javaTS

      default String javaTS()
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,AfiSafi>
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<AfiSafi>