diff options
author | 2018-01-25 18:33:54 +0000 | |
---|---|---|
committer | 2018-01-25 18:33:54 +0000 | |
commit | d8cf4a9b8fb25af7fed10b8b9e69f70b601ccbce (patch) | |
tree | 907e9f0452a4e057c8b7b11241124b5f090b1438 /mcp/scripts/lib.sh | |
parent | 03e9296cebe0f38f459f7ae225ab7843fc37480e (diff) | |
parent | 7c79115c2a1b6716f23f73be244bd1840a9e6f82 (diff) |
Merge "Add support for different public network netmask"
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r-- | mcp/scripts/lib.sh | 7 |
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 +} |