diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-09-13 10:58:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-13 10:58:25 +0000 |
commit | adb0f6b01771e8f017fc33d4dc91f6fc4fe9066c (patch) | |
tree | b5760465d3bf0ef130bbfd8459ffb402bfc1e181 /deploy/adapters/ansible/kubernetes/roles | |
parent | 052f11551e0c817e41454ea877ca90dc56c9580d (diff) | |
parent | f1161160215e2027988a2e557fece399b65d2eae (diff) |
Merge "Add license"
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles')
-rw-r--r-- | deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh | 9 | ||||
-rwxr-xr-x | deploy/adapters/ansible/kubernetes/roles/kargo/files/generate_inventories.py | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh b/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh index 62e79b3b..db44246a 100644 --- a/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh +++ b/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2016-2018 compass4nfv and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + #!/bin/bash count=`ss -tnl | grep 6443 | wc -l` diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/files/generate_inventories.py b/deploy/adapters/ansible/kubernetes/roles/kargo/files/generate_inventories.py index 2ffb4cae..8f836011 100755 --- a/deploy/adapters/ansible/kubernetes/roles/kargo/files/generate_inventories.py +++ b/deploy/adapters/ansible/kubernetes/roles/kargo/files/generate_inventories.py @@ -1,3 +1,12 @@ +##############################################################################
+# Copyright (c) 2016-2018 compass4nfv and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
import yaml
import sys
import os
|