Interface AfiSafi
- 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<AfiSafi,,AfiSafiKey> org.opendaylight.yangtools.binding.Grouping,Ipv4LabelledUnicastGroup,Ipv4UnicastGroup,Ipv6LabelledUnicastGroup,Ipv6UnicastGroup,org.opendaylight.yangtools.binding.KeyAware<AfiSafiKey>,L2vpnEvpnGroup,L2vpnVplsGroup,L3vpnIpv4MulticastGroup,L3vpnIpv4UnicastGroup,L3vpnIpv6MulticastGroup,L3vpnIpv6UnicastGroup
@Generated("mdsal-binding-generator")
public interface AfiSafi
extends org.opendaylight.yangtools.binding.ChildOf<BgpCommonAfiSafiList>, ApplyPolicyGroup, Ipv4UnicastGroup, Ipv6UnicastGroup, Ipv4LabelledUnicastGroup, Ipv6LabelledUnicastGroup, L3vpnIpv4UnicastGroup, L3vpnIpv6UnicastGroup, L3vpnIpv4MulticastGroup, L3vpnIpv6MulticastGroup, L2vpnVplsGroup, L2vpnEvpnGroup, org.opendaylight.yangtools.binding.EntryObject<AfiSafi,AfiSafiKey>
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingEquals(@NonNull AfiSafi thisObj, Object obj) Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull AfiSafi obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull AfiSafi obj) Default implementation ofObject.toString()contract for this interface.Return afiSafiName, ornullif it is not present.Return config, ornullif it is not present.Return gracefulRestart, ornullif it is not present.getState()Return state, ornullif it is not present.key()@NonNull ConfigReturn config, or an empty instance if it is not present.@NonNull GracefulRestartReturn gracefulRestart, or an empty instance if it is not present.@NonNull StateReturn state, or an empty instance if it is not present.default @NonNull AfiSafiTypeReturn afiSafiName, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.ApplyPolicyGroup
getApplyPolicy, nonnullApplyPolicyMethods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv4LabelledUnicastGroup
getIpv4LabelledUnicast, nonnullIpv4LabelledUnicastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv4UnicastGroup
getIpv4Unicast, nonnullIpv4UnicastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv6LabelledUnicastGroup
getIpv6LabelledUnicast, nonnullIpv6LabelledUnicastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv6UnicastGroup
getIpv6Unicast, nonnullIpv6UnicastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L2vpnEvpnGroup
getL2vpnEvpn, nonnullL2vpnEvpnMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L2vpnVplsGroup
getL2vpnVpls, nonnullL2vpnVplsMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv4MulticastGroup
getL3vpnIpv4Multicast, nonnullL3vpnIpv4MulticastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv4UnicastGroup
getL3vpnIpv4Unicast, nonnullL3vpnIpv4UnicastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv6MulticastGroup
getL3vpnIpv6Multicast, nonnullL3vpnIpv6MulticastMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv6UnicastGroup
getL3vpnIpv6Unicast, nonnullL3vpnIpv6Unicast
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject
-
bindingHashCode
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjisnull
-
bindingEquals
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjisnull
-
bindingToString
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjisnull
-
key
AfiSafiKey key()- Specified by:
keyin interfaceorg.opendaylight.yangtools.binding.KeyAware<AfiSafiKey>
-
getAfiSafiName
AfiSafiType getAfiSafiName()Return afiSafiName, ornullif it is not present.Reference to the AFI-SAFI name used as a key for the AFI-SAFI list- Returns:
AfiSafiTypeafiSafiName, ornullif it is not present.
-
requireAfiSafiName
Return afiSafiName, guaranteed to be non-null.Reference to the AFI-SAFI name used as a key for the AFI-SAFI list- Returns:
AfiSafiTypeafiSafiName, guaranteed to be non-null.- Throws:
NoSuchElementException- if afiSafiName is not present
-
getGracefulRestart
GracefulRestart getGracefulRestart()Return gracefulRestart, ornullif it is not present.Parameters relating to BGP graceful-restart- Returns:
GracefulRestartgracefulRestart, ornullif it is not present.
-
nonnullGracefulRestart
@NonNull GracefulRestart nonnullGracefulRestart()Return gracefulRestart, or an empty instance if it is not present.- Returns:
GracefulRestartgracefulRestart, or an empty instance if it is not present.
-
getConfig
Config getConfig()Return config, ornullif it is not present.Configuration parameters for the AFI-SAFI- Returns:
Configconfig, ornullif it is not present.
-
nonnullConfig
@NonNull Config nonnullConfig()Return config, or an empty instance if it is not present.- Returns:
Configconfig, or an empty instance if it is not present.
-
getState
State getState()Return state, ornullif it is not present.State information relating to the AFI-SAFI- Returns:
Statestate, ornullif it is not present.
-
nonnullState
@NonNull State nonnullState()Return state, or an empty instance if it is not present.- Returns:
Statestate, or an empty instance if it is not present.
-