public class VirtualIntentInstallCoordinator extends Object
| Constructor and Description |
|---|
VirtualIntentInstallCoordinator(NetworkId networkId,
VirtualIntentInstallerRegistry installerRegistry,
VirtualNetworkIntentStore intentStore)
Creates an InstallCoordinator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
failed(org.onosproject.net.intent.IntentOperationContext context)
Handles failed operation context.
|
void |
installIntents(Optional<org.onosproject.net.intent.IntentData> toUninstall,
Optional<org.onosproject.net.intent.IntentData> toInstall)
Applies Intent data to be uninstalled and to be installed.
|
void |
success(org.onosproject.net.intent.IntentOperationContext context)
Handles success operation context.
|
public VirtualIntentInstallCoordinator(NetworkId networkId, VirtualIntentInstallerRegistry installerRegistry, VirtualNetworkIntentStore intentStore)
networkId - virtual network identifierinstallerRegistry - the installer registryintentStore - the Intent storepublic void installIntents(Optional<org.onosproject.net.intent.IntentData> toUninstall, Optional<org.onosproject.net.intent.IntentData> toInstall)
toUninstall - Intent data to be uninstalledtoInstall - Intent data to be installedpublic void success(org.onosproject.net.intent.IntentOperationContext context)
context - the operation contextpublic void failed(org.onosproject.net.intent.IntentOperationContext context)
context - the operation context