[ONOS-6467] (vNet) Deprecate tunnel operations
We plan to remove tunnel operations which augmented through
virtual intent.
As one of efforts to redesign vNet Intent Service, we'll deprecate
those tunnel operations.
Change-Id: I029ceda320b7c02068ab2ebbfe43b26dd2efa66e
diff --git a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkStore.java b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkStore.java
index 0e6b2a9..0f1936e 100644
--- a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkStore.java
+++ b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkStore.java
@@ -240,6 +240,7 @@
* @param intent intent
* @param tunnelId tunnel identifier
*/
+ @Deprecated
void addTunnelId(Intent intent, TunnelId tunnelId);
/**
@@ -248,6 +249,7 @@
* @param intent intent
* @return set of tunnel identifiers
*/
+ @Deprecated
Set<TunnelId> getTunnelIds(Intent intent);
/**
@@ -256,5 +258,6 @@
* @param intent intent
* @param tunnelId tunnel identifier
*/
+ @Deprecated
void removeTunnelId(Intent intent, TunnelId tunnelId);
}