commit | 8691428c40f32368fd6ec5d3a5a3e13147156bce | [log] [tgz] |
---|---|---|
author | Brian Stanke <bstanke@ciena.com> | Wed May 25 15:36:50 2016 -0400 |
committer | Thomas Vachuska <tom@onlab.us> | Wed Jun 01 19:37:08 2016 +0000 |
tree | 7fad150c08c5af42321350e25f87c195a93ab868 | |
parent | 2617dac983c84b328060f2bb2fd2eb9de5770d7c [diff] |
ONOS-2184 - Implemented Virtual Network DeviceService and LinkService to use VirtualNetwork service. Change-Id: I695af440bc2fc5d688f8b9cf5201375bacd02e8a
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 663c208..11bcc7b 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
@@ -145,6 +145,14 @@ Set<VirtualNetwork> getNetworks(TenantId tenantId); /** + * Returns the virtual network for the given network identifier. + * + * @param networkId network identifier + * @return the virtual network + */ + VirtualNetwork getNetwork(NetworkId networkId); + + /** * Returns the list of devices in the specified virtual network. * * @param networkId network identifier