diff options
Diffstat (limited to 'aai-traversal/bundleconfig-local')
-rw-r--r-- | aai-traversal/bundleconfig-local/etc/query/stored-queries.properties | 11 |
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 |