aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-08-18 10:57:34 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-08-18 14:08:37 -0400
commit6e84a44ae6d05818824016801108d9f73bc19632 (patch)
tree0201b0010602e2ba4e96888b430c414a29721848 /aai-traversal/bundleconfig-local
parentbd69c7782c74f5bc57f234e568d0ba9f7220be05 (diff)
[AAI-194 Amsterdam] Add the stored query and test
Change-Id: Idfcf4dacb9b778d187ef74fbfa1a33305aabecab Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal/bundleconfig-local')
-rw-r--r--aai-traversal/bundleconfig-local/etc/query/stored-queries.properties6
1 files changed, 5 insertions, 1 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
index d04f11f..f29518e 100644
--- a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
+++ b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
@@ -234,4 +234,8 @@ spaas-topology-fromServiceInstance=builder.createEdgeTraversal(EdgeType.COUSIN,
builder.newInstance().createEdgeTraversal(EdgeType.TREE, 'pserver', 'p-interface')\
.createEdgeTraversal(EdgeType.COUSIN, 'p-interface', 'physical-link').store('x')\
)\
- ).cap('x').unfold().dedup() \ No newline at end of file
+ ).cap('x').unfold().dedup()
+
+vnfs-fromServiceInstance=builder.createEdgeTraversal(EdgeType.COUSIN, 'service-instance', 'generic-vnf')\
+ .store('x').cap('x').unfold().dedup()
+ \ No newline at end of file