From f9e3090cdad73757ea36c5fe4e7ae7572da712e3 Mon Sep 17 00:00:00 2001 From: "Lamont, William (wl2432)" Date: Tue, 1 Aug 2017 11:32:34 -0400 Subject: [AAI-110 Amsterdam] checkin source code Change-Id: Ia39b30d1b10d7ee916ebead063b40169bd7b051c Signed-off-by: Lamont, William (wl2432) --- .../bundleconfig-local/etc/query/stored-queries.properties | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'aai-traversal/bundleconfig-local/etc/query') 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 -- cgit 1.2.3-korg