Interface BgpNeighborAfiSafiState
- All Superinterfaces:
BgpNeighborPrefixCountersState,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:
NeighborAfiSafiStateAugmentation,State3
@Generated("mdsal-binding-generator")
public interface BgpNeighborAfiSafiState
extends org.opendaylight.yangtools.binding.Grouping, 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;
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn active, ornullif it is not present.default @NonNull BooleanReturn active, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.operational.rev151009.BgpNeighborPrefixCountersState
getPrefixes, nonnullPrefixesMethods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getActive
Boolean getActive()Return active, ornullif 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:
Booleanactive, ornullif it is not present.
-
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:
Booleanactive, guaranteed to be non-null.- Throws:
NoSuchElementException- if active is not present
-