Interface FabricOptions
-
- All Superinterfaces:
BindingObject
,DataContainer
,DataObject
- All Known Subinterfaces:
Options
@Generated("mdsal-binding-generator") public interface FabricOptions extends DataObject
Options for a fabricThis class represents the following YANG schema fragment defined in module ietf-dc-fabric-topology
grouping fabric-options { leaf gateway-mode { type enumeration { enum centralized { } enum distributed { } } default distributed; } leaf traffic-behavior { type enumeration { enum normal { } enum policy-driven { } } default normal; } leaf-list capability-supported { type fabrictypes:service-capabilities; } }
The schema path to identify an instance is ietf-dc-fabric-topology/fabric-options
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FabricOptions.GatewayMode
static class
FabricOptions.TrafficBehavior
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable List<Class<? extends ServiceCapability>>
getCapabilitySupported()
Return capabilitySupported, ornull
if it is not present.FabricOptions.GatewayMode
getGatewayMode()
Return gatewayMode, ornull
if it is not present.FabricOptions.TrafficBehavior
getTrafficBehavior()
Return trafficBehavior, ornull
if it is not present.Class<? extends FabricOptions>
implementedInterface()
Return the interface implemented by this object.
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
Class<? extends FabricOptions> 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
-
getGatewayMode
FabricOptions.GatewayMode getGatewayMode()
Return gatewayMode, ornull
if it is not present.Gateway mode of the fabric
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.dc.fabric.topology.rev190225.FabricOptions.GatewayMode
gatewayMode, ornull
if it is not present.
-
getTrafficBehavior
FabricOptions.TrafficBehavior getTrafficBehavior()
Return trafficBehavior, ornull
if it is not present.Traffic behavior of the fabric
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.dc.fabric.topology.rev190225.FabricOptions.TrafficBehavior
trafficBehavior, ornull
if it is not present.
-
getCapabilitySupported
@Nullable List<Class<? extends ServiceCapability>> getCapabilitySupported()
Return capabilitySupported, ornull
if it is not present.It provides a list of supported services of the fabric. The service-capabilities is defined as identity-ref. Users can define more services by defining new identities.
- Returns:
java.util.List
capabilitySupported, ornull
if it is not present.
-
-