Interface AfiSafi
-
- All Superinterfaces:
ApplyPolicyGroup
,org.opendaylight.yangtools.yang.binding.Augmentable<AfiSafi>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<BgpCommonAfiSafiList>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<AfiSafiKey>
,Ipv4LabelledUnicastGroup
,Ipv4UnicastGroup
,Ipv6LabelledUnicastGroup
,Ipv6UnicastGroup
,L2vpnEvpnGroup
,L2vpnVplsGroup
,L3vpnIpv4MulticastGroup
,L3vpnIpv4UnicastGroup
,L3vpnIpv6MulticastGroup
,L3vpnIpv6UnicastGroup
@Generated("mdsal-binding-generator") public interface AfiSafi extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpCommonAfiSafiList>, org.opendaylight.yangtools.yang.binding.Augmentable<AfiSafi>, ApplyPolicyGroup, Ipv4UnicastGroup, Ipv6UnicastGroup, Ipv4LabelledUnicastGroup, Ipv6LabelledUnicastGroup, L3vpnIpv4UnicastGroup, L3vpnIpv6UnicastGroup, L3vpnIpv4MulticastGroup, L3vpnIpv6MulticastGroup, L2vpnVplsGroup, L2vpnEvpnGroup, org.opendaylight.yangtools.yang.binding.Identifiable<AfiSafiKey>
AFI,SAFI configuration available for the neighbour or groupThis 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:
AfiSafiBuilder
,AfiSafiKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull AfiSafi thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull AfiSafi obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull AfiSafi obj)
Default implementation ofObject.toString()
contract for this interface.Class<? extends AfiSafiType>
getAfiSafiName()
Return afiSafiName, ornull
if it is not present.Config
getConfig()
Return config, ornull
if it is not present.GracefulRestart
getGracefulRestart()
Return gracefulRestart, ornull
if it is not present.State
getState()
Return state, ornull
if it is not present.default Class<AfiSafi>
implementedInterface()
AfiSafiKey
key()
default @NonNull Class<? extends AfiSafiType>
requireAfiSafiName()
Return afiSafiName, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.ApplyPolicyGroup
getApplyPolicy
-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv4LabelledUnicastGroup
getIpv4LabelledUnicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv4UnicastGroup
getIpv4Unicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv6LabelledUnicastGroup
getIpv6LabelledUnicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.Ipv6UnicastGroup
getIpv6Unicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L2vpnEvpnGroup
getL2vpnEvpn
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L2vpnVplsGroup
getL2vpnVpls
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv4MulticastGroup
getL3vpnIpv4Multicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv4UnicastGroup
getL3vpnIpv4Unicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv6MulticastGroup
getL3vpnIpv6Multicast
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.L3vpnIpv6UnicastGroup
getL3vpnIpv6Unicast
-
-
-
-
Method Detail
-
implementedInterface
default Class<AfiSafi> implementedInterface()
- Specified by:
implementedInterface
in interfaceApplyPolicyGroup
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceIpv4LabelledUnicastGroup
- Specified by:
implementedInterface
in interfaceIpv4UnicastGroup
- Specified by:
implementedInterface
in interfaceIpv6LabelledUnicastGroup
- Specified by:
implementedInterface
in interfaceIpv6UnicastGroup
- Specified by:
implementedInterface
in interfaceL2vpnEvpnGroup
- Specified by:
implementedInterface
in interfaceL2vpnVplsGroup
- Specified by:
implementedInterface
in interfaceL3vpnIpv4MulticastGroup
- Specified by:
implementedInterface
in interfaceL3vpnIpv4UnicastGroup
- Specified by:
implementedInterface
in interfaceL3vpnIpv6MulticastGroup
- Specified by:
implementedInterface
in interfaceL3vpnIpv6UnicastGroup
-
bindingHashCode
static int bindingHashCode(@NonNull AfiSafi obj)
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
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull AfiSafi thisObj, Object obj)
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
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull AfiSafi obj)
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:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
key
AfiSafiKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AfiSafiKey>
-
getAfiSafiName
Class<? extends AfiSafiType> getAfiSafiName()
Return afiSafiName, ornull
if it is not present.Reference to the AFI-SAFI name used as a key for the AFI-SAFI list
- Returns:
Class<? extends AfiSafiType>
afiSafiName, ornull
if it is not present.
-
requireAfiSafiName
default @NonNull Class<? extends 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:
Class<? extends AfiSafiType>
afiSafiName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if afiSafiName is not present
-
getGracefulRestart
GracefulRestart getGracefulRestart()
Return gracefulRestart, ornull
if it is not present.Parameters relating to BGP graceful-restart
- Returns:
GracefulRestart
gracefulRestart, ornull
if it is not present.
-
getConfig
Config getConfig()
Return config, ornull
if it is not present.Configuration parameters for the AFI-SAFI
- Returns:
Config
config, ornull
if it is not present.
-
getState
State getState()
Return state, ornull
if it is not present.State information relating to the AFI-SAFI
- Returns:
State
state, ornull
if it is not present.
-
-