aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/vFWDT/policies
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2019-09-19 10:24:20 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2019-09-26 11:55:10 +0000
commit7e8edf7f0f52169cbda36b45dfa67db2d3e34eab (patch)
tree34affa47ce60931b79dd5d5db5b62caea440493f /tutorials/vFWDT/policies
parent3942114478eeda08d0ebd373a9b22da8929bd628 (diff)
vFW DT tutorial improvements
- Fixed workflow script for osdf request - ansible_inventory file generation added - Licence for upload policy script Change-Id: Ia46d19750569f649ce12dcdb49571299d87d8fee Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: INT-751 (cherry picked from commit e659e3afec2f3987d071510efe63e72374ef1a88)
Diffstat (limited to 'tutorials/vFWDT/policies')
-rwxr-xr-xtutorials/vFWDT/policies/rules/uploadPolicies.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tutorials/vFWDT/policies/rules/uploadPolicies.sh b/tutorials/vFWDT/policies/rules/uploadPolicies.sh
index 3200ba94..7d1ccd12 100755
--- a/tutorials/vFWDT/policies/rules/uploadPolicies.sh
+++ b/tutorials/vFWDT/policies/rules/uploadPolicies.sh
@@ -1,5 +1,22 @@
#!/bin/bash
+# ============LICENSE_START=======================================================
+# Copyright (C) 2019 Orange
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END=========================================================
+
`./yq > /dev/null 2>&1`
if [ $? -ne 0 ]; then