Interface PacketSwitchCapable
-
- All Superinterfaces:
Augmentable<PacketSwitchCapable>
,BindingObject
,ChildOf<InterfaceSwitchingCapabilities>
,DataContainer
,DataObject
public interface PacketSwitchCapable extends ChildOf<InterfaceSwitchingCapabilities>, Augmentable<PacketSwitchCapable>
Interface has packet-switching capabilitiesThis class represents the following YANG schema fragment defined in module ted
container packet-switch-capable { when "../switching-capability = PSC-1 or ../switching-capability = PSC-2 or ../switching-capability = PSC-3 or ../switching-capability = PSC-4"; leaf minimum-lsp-bandwidth { type decimal64 { fraction-digits 2; } } leaf interface-mtu { type uint16; } }
The schema path to identify an instance is ted/srlg-attributes/interface-switching-capabilities/packet-switch-capableTo create instances of this class use
PacketSwitchCapableBuilder
.- See Also:
PacketSwitchCapableBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable Uint16
getInterfaceMtu()
Interface MTU@Nullable BigDecimal
getMinimumLspBandwidth()
Minimum LSP Bandwidth.default Class<PacketSwitchCapable>
implementedInterface()
Return the interface implemented by this object.-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation
-
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
default Class<PacketSwitchCapable> implementedInterface()
Description copied from interface:DataContainer
Return the interface implemented by this object. This method differs fromObject.getClass()
in that it returns the interface contract, not a concrete implementation class.- Specified by:
implementedInterface
in interfaceDataContainer
- Specified by:
implementedInterface
in interfaceDataObject
- Returns:
- Implemented contract
-
getMinimumLspBandwidth
@Nullable BigDecimal getMinimumLspBandwidth()
Minimum LSP Bandwidth. Units in bytes per second- Returns:
java.math.BigDecimal
minimumLspBandwidth
, ornull
if not present
-
getInterfaceMtu
@Nullable Uint16 getInterfaceMtu()
Interface MTU- Returns:
org.opendaylight.yangtools.yang.common.Uint16
interfaceMtu
, ornull
if not present
-
-