public class EcmpFabricApp
extends org.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApp
| Modifier and Type | Field and Description |
|---|---|
protected static org.onosproject.bmv2.api.context.Bmv2DeviceContext |
ECMP_CONTEXT |
| Constructor and Description |
|---|
EcmpFabricApp() |
| Modifier and Type | Method and Description |
|---|---|
List<org.onosproject.net.flow.FlowRule> |
generateLeafRules(org.onosproject.net.DeviceId leaf,
org.onosproject.net.Host srcHost,
Collection<org.onosproject.net.Host> dstHosts,
Collection<org.onosproject.net.DeviceId> availableSpines,
org.onosproject.net.topology.Topology topo) |
List<org.onosproject.net.flow.FlowRule> |
generateSpineRules(org.onosproject.net.DeviceId deviceId,
Collection<org.onosproject.net.Host> dstHosts,
org.onosproject.net.topology.Topology topo) |
int |
groupIdOf(org.onosproject.net.DeviceId deviceId,
Set<org.onosproject.net.PortNumber> ports) |
boolean |
initDevice(org.onosproject.net.DeviceId deviceId) |
activate, bindAppService, bindBmv2ContextService, bindCoreService, bindDeviceService, bindFlowRuleService, bindHostService, bindTopologyService, deactivate, deployDevice, flowRuleBuilder, isFabricPort, unbindAppService, unbindBmv2ContextService, unbindCoreService, unbindDeviceService, unbindFlowRuleService, unbindHostService, unbindTopologyServiceprotected static final org.onosproject.bmv2.api.context.Bmv2DeviceContext ECMP_CONTEXT
public boolean initDevice(org.onosproject.net.DeviceId deviceId)
initDevice in class org.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApppublic List<org.onosproject.net.flow.FlowRule> generateLeafRules(org.onosproject.net.DeviceId leaf, org.onosproject.net.Host srcHost, Collection<org.onosproject.net.Host> dstHosts, Collection<org.onosproject.net.DeviceId> availableSpines, org.onosproject.net.topology.Topology topo) throws org.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApp.FlowRuleGeneratorException
generateLeafRules in class org.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApporg.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApp.FlowRuleGeneratorExceptionpublic List<org.onosproject.net.flow.FlowRule> generateSpineRules(org.onosproject.net.DeviceId deviceId, Collection<org.onosproject.net.Host> dstHosts, org.onosproject.net.topology.Topology topo) throws org.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApp.FlowRuleGeneratorException
generateSpineRules in class org.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApporg.onosproject.bmv2.demo.app.common.AbstractUpgradableFabricApp.FlowRuleGeneratorExceptionpublic int groupIdOf(org.onosproject.net.DeviceId deviceId,
Set<org.onosproject.net.PortNumber> ports)
Copyright © 2016. All rights reserved.