Interface BgpNeighborAfiSafiState

  • All Superinterfaces:
    BgpNeighborPrefixCountersState, 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;
     }
     
    The schema path to identify an instance is openconfig-bgp-operationalbgp-neighbor-afi-safi_state
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • 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