summaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local/etc/query
diff options
context:
space:
mode:
authorLamont, William (wl2432) <wl2432@att.com>2017-08-01 11:32:34 -0400
committerLamont, William (wl2432) <wl2432@att.com>2017-08-01 17:00:41 -0400
commitf9e3090cdad73757ea36c5fe4e7ae7572da712e3 (patch)
tree15ed25ec967e2af1837a6da306cc722a7b3c4046 /aai-traversal/bundleconfig-local/etc/query
parentce2f3dde02dbc33ab0705f3e5a000d01d42b0028 (diff)
[AAI-110 Amsterdam] checkin source code
Change-Id: Ia39b30d1b10d7ee916ebead063b40169bd7b051c Signed-off-by: Lamont, William (wl2432) <wl2432@att.com>
Diffstat (limited to 'aai-traversal/bundleconfig-local/etc/query')
-rw-r--r--aai-traversal/bundleconfig-local/etc/query/stored-queries.properties11
1 files changed, 11 insertions, 0 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
index af76574..f62bf9b 100644
--- a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
+++ b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
@@ -87,4 +87,15 @@ colocated-devices=store('x').union(\
__.in('locatedIn').has('aai-node-type', 'pnf').store('x')\
.out('hasPinterface').store('x').out('usesPhysicalLink').store('x')\
)).cap('x').unfold().dedup()
+
+
+cloudRegion-fromNfType=union(\
+ __.out('runsOnPserver').out('locatedIn').has('aai-node-type','cloud-region').store('x'),\
+ __.out('runsOnVserver').out('runsOnPserver').out('locatedIn').has('aai-node-type','cloud-region').store('x')\
+ ).cap('x').unfold().dedup()
+
+pservers-fromVnf=union(\
+ __.out('runsOnPserver').store('x'),\
+ __.out('runsOnVserver').out('runsOnPserver').store('x')\
+ ).cap('x').unfold().dedup()
\ No newline at end of file