summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/lib.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-25 18:33:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-25 18:33:54 +0000
commitd8cf4a9b8fb25af7fed10b8b9e69f70b601ccbce (patch)
tree907e9f0452a4e057c8b7b11241124b5f090b1438 /mcp/scripts/lib.sh
parent03e9296cebe0f38f459f7ae225ab7843fc37480e (diff)
parent7c79115c2a1b6716f23f73be244bd1840a9e6f82 (diff)
Merge "Add support for different public network netmask"
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r--mcp/scripts/lib.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 29c27d9e9..298590309 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -456,3 +456,10 @@ function wait_for {
return 1
)
}
+
+function get_nova_compute_pillar_data {
+ local value=$(salt -C 'I@nova:compute and *01*' pillar.get _param:"${1}" --out yaml | cut -d ' ' -f2)
+ if [ "${value}" != "''" ]; then
+ echo ${value}
+ fi
+}