DemoAPI.InstallType| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cluster.ClusterService |
clusterService |
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.host.HostService |
hostService |
protected org.onosproject.net.intent.IntentBatchService |
intentBatchService |
protected org.onosproject.net.intent.IntentService |
intentService |
protected org.onosproject.mastership.MastershipService |
mastershipService |
| Constructor and Description |
|---|
DemoInstaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
setup(DemoAPI.InstallType type,
Optional<com.fasterxml.jackson.databind.JsonNode> runParams)
Installs intents based on the installation type.
|
void |
tearDown()
Uninstalls all existing intents.
|
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.intent.IntentService intentService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.host.HostService hostService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.mastership.MastershipService mastershipService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.intent.IntentBatchService intentBatchService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Activate public void activate()
@Deactivate public void deactivate()
public void setup(DemoAPI.InstallType type, Optional<com.fasterxml.jackson.databind.JsonNode> runParams)
DemoAPICopyright © 2015. All rights reserved.