Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.openconfig.extensions.rev180329
Interface NetworkInstanceProtocol
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentation<Protocol>,BgpTop,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface NetworkInstanceProtocol
extends org.opendaylight.yangtools.binding.Augmentation<Protocol>, BgpTop
This class represents the following YANG schema fragment defined in module bgp-openconfig-extensions
augment /netinst:network-instances/netinst:network-instance/netinst:protocols/netinst:protocol {
oce:augment-identifier network-instance-protocol;
uses openconfig-bgp:bgp-top {
augment bgp/neighbors/neighbor/afi-safis/afi-safi {
oce:augment-identifier neighbor-add-paths-config;
uses openconfig-bgp:bgp-neighbor-add-paths_config;
}
augment bgp/global/afi-safis/afi-safi {
oce:augment-identifier global-add-paths-config;
uses openconfig-bgp:bgp-neighbor-add-paths_config;
}
augment bgp/global/afi-safis/afi-safi/state {
oce:augment-identifier global-afi-safi_state-augmentation;
uses bgp-op:bgp-global-afi-safi_state;
}
augment bgp/neighbors/neighbor/transport/config {
oce:augment-identifier neighbor-transport-config;
uses transport-config;
}
augment bgp/neighbors/neighbor/config {
oce:augment-identifier neighbor-peer-group-config;
uses openconfig-bgp:bgp-neighbor-peer-group_config;
}
augment bgp/global/config {
oce:augment-identifier global-config-augmentation;
leaf route-reflector-cluster-id {
type bgp-types:rr-cluster-id-type;
}
}
augment bgp/neighbors/neighbor/state {
oce:augment-identifier neighbor_state-augmentation;
uses bgp-op:bgp-neighbor_state;
}
augment bgp/neighbors/neighbor/state {
oce:augment-identifier bgp-neighbor_state-augmentation;
container messages {
container sent {
uses bgp-op:bgp-neighbor-message-counters-sent_state;
}
container received {
uses bgp-op:bgp-neighbor-message-counters-received_state;
}
}
container queues {
uses bgp-op:bgp-neighbor-queue-counters_state;
}
}
augment bgp/neighbors/neighbor/timers/state {
oce:augment-identifier neighbor-timers_state-augmentation;
uses bgp-op:bgp-neighbor-timers_state;
}
augment bgp/neighbors/neighbor/transport/state {
oce:augment-identifier neighbor-transport_state-augmentation;
uses bgp-op:bgp-neighbor-transport_state;
}
augment bgp/neighbors/neighbor/error-handling/state {
oce:augment-identifier neighbor-error-handling_state-augmentation;
uses bgp-op:bgp-neighbor-error-handling_state;
}
augment bgp/neighbors/neighbor/afi-safis/afi-safi/state {
oce:augment-identifier neighbor-afi-safi_state-augmentation;
uses bgp-op:bgp-neighbor-afi-safi_state;
}
augment bgp/neighbors/neighbor/graceful-restart/state {
oce:augment-identifier neighbor-graceful-restart_state-augmentation;
uses bgp-op:bgp-afi-safi-graceful-restart_state;
}
augment bgp/neighbors/neighbor/afi-safis/afi-safi/graceful-restart/state {
oce:augment-identifier neighbor-afi-safi-graceful-restart_state-augmentation;
uses bgp-op:bgp-neighbor-afi-safi-graceful-restart_state;
uses neighbor-afi-safi-ll-graceful-restart-state;
}
augment bgp/peer-groups/peer-group/state {
oce:augment-identifier peer-group_state-augmentation;
uses bgp-op:bgp-peer-group_state;
}
augment bgp/peer-groups/peer-group/transport/config {
oce:augment-identifier peer-group-transport-config;
uses transport-config;
}
augment bgp/peer-groups/peer-group/afi-safis/afi-safi {
oce:augment-identifier group-add-paths-config;
uses openconfig-bgp:bgp-neighbor-add-paths_config;
}
}
}
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingEquals(@NonNull NetworkInstanceProtocol thisObj, Object obj) Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull NetworkInstanceProtocol obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull NetworkInstanceProtocol obj) Default implementation ofObject.toString()contract for this interface.default Class<NetworkInstanceProtocol>
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.Augmentation<Protocol>- 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
-