All Superinterfaces:
BgpNeighborPrefixCountersState, 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:
NeighborAfiSafiStateAugmentation, State3

@Generated("mdsal-binding-generator") public interface BgpNeighborAfiSafiState extends org.opendaylight.yangtools.yang.binding.DataObject, BgpNeighborPrefixCountersState
Operational state on a per-AFI-SAFI basis for a BGP neighbor

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

 grouping bgp-neighbor-afi-safi_state {
   leaf active {
     type boolean;
   }
   uses bgp-neighbor-prefix-counters_state;
 }
 
  • 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 BgpNeighborAfiSafiState> implementedInterface()
      Specified by:
      implementedInterface in interface BgpNeighborPrefixCountersState
      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
    • getActive

      Boolean getActive()
      Return active, or null if it is not present.
           
               This value indicates whether a particular AFI-SAFI has been succesfully
               negotiated with the peer. An AFI-SAFI may be enabled in the current running
               configuration, but a session restart may be required in order to negotiate the
               new capability.
           
       
      Returns:
      Boolean active, or null if it is not present.
    • requireActive

      default @NonNull Boolean requireActive()
      Return active, guaranteed to be non-null.
           
               This value indicates whether a particular AFI-SAFI has been succesfully
               negotiated with the peer. An AFI-SAFI may be enabled in the current running
               configuration, but a session restart may be required in order to negotiate the
               new capability.
           
       
      Returns:
      Boolean active, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if active is not present