aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-10-18 10:57:19 -0700
committerVictor Morales <victor.morales@intel.com>2018-10-18 10:57:23 -0700
commita18ffae615a8f1774de6b4efb615dfe861b79343 (patch)
treeabd6ce1952f2b98fec7f63fbecac06674ad7f05c /lib
parent0d41bc49d18ebf126faa9a709dbe59b2bccc8ee1 (diff)
Add license headers
Change-Id: Ie361141e2c70ad515fcf3d57621c8801fc80095a Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_commons8
-rwxr-xr-xlib/_composed_functions8
-rwxr-xr-xlib/_installers8
-rwxr-xr-xlib/_onap_functions8
-rwxr-xr-xlib/aai9
-rwxr-xr-xlib/appc8
-rwxr-xr-xlib/ccsdk8
-rwxr-xr-xlib/config/env-vars8
-rwxr-xr-xlib/dcae8
-rwxr-xr-xlib/dmaap8
-rw-r--r--lib/files/aio_inventory.cfg9
-rw-r--r--lib/files/all-in-one9
-rwxr-xr-xlib/functions8
-rwxr-xr-xlib/integration8
-rwxr-xr-xlib/mr8
-rwxr-xr-xlib/msb8
-rwxr-xr-xlib/multicloud8
-rwxr-xr-xlib/oom8
-rwxr-xr-xlib/openstack8
-rwxr-xr-xlib/policy8
-rwxr-xr-xlib/portal8
-rwxr-xr-xlib/robot8
-rwxr-xr-xlib/sdc8
-rwxr-xr-xlib/sdnc8
-rwxr-xr-xlib/vfc8
-rwxr-xr-xlib/vid8
-rwxr-xr-xlib/vnfsdk8
-rwxr-xr-xlib/vvp8
28 files changed, 226 insertions, 1 deletions
diff --git a/lib/_commons b/lib/_commons
index 90f73d2..d433b46 100755
--- a/lib/_commons
+++ b/lib/_commons
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
# update_repos() - Function that updates linux repositories
function update_repos {
diff --git a/lib/_composed_functions b/lib/_composed_functions
index 9f2d0a1..71268c8 100755
--- a/lib/_composed_functions
+++ b/lib/_composed_functions
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
# build_docker_image() - Build Docker container image from source code
function build_docker_image {
diff --git a/lib/_installers b/lib/_installers
index 3273f8c..52dc20b 100755
--- a/lib/_installers
+++ b/lib/_installers
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/_commons
source /var/onap/_onap_functions
diff --git a/lib/_onap_functions b/lib/_onap_functions
index c5ee7fc..07dc637 100755
--- a/lib/_onap_functions
+++ b/lib/_onap_functions
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
# create_configuration_files() - Store credentials in files
function create_configuration_files {
diff --git a/lib/aai b/lib/aai
index 3ad4adb..e993dac 100755
--- a/lib/aai
+++ b/lib/aai
@@ -1,8 +1,15 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
-
# compile_aai_repos() - Function that compiles AAI source repo.
function compile_aai_repos {
local repos="aai/aai-common aai/resources aai/logging-service aai/traversal"
diff --git a/lib/appc b/lib/appc
index 4f6e037..3eeb705 100755
--- a/lib/appc
+++ b/lib/appc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/sdnc
source /var/onap/functions
diff --git a/lib/ccsdk b/lib/ccsdk
index 93ee0c8..0dc708b 100755
--- a/lib/ccsdk
+++ b/lib/ccsdk
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/config/env-vars b/lib/config/env-vars
index a3a4c33..2cd766f 100755
--- a/lib/config/env-vars
+++ b/lib/config/env-vars
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
# URL repository
git_url="https://git.onap.org/"
diff --git a/lib/dcae b/lib/dcae
index 93b2ac8..9af6036 100755
--- a/lib/dcae
+++ b/lib/dcae
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/dmaap b/lib/dmaap
index cd2e244..3462a8f 100755
--- a/lib/dmaap
+++ b/lib/dmaap
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/files/aio_inventory.cfg b/lib/files/aio_inventory.cfg
index d7ab09b..4aa655d 100644
--- a/lib/files/aio_inventory.cfg
+++ b/lib/files/aio_inventory.cfg
@@ -1,3 +1,12 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
+
[all]
localhost ansible_connection=local
diff --git a/lib/files/all-in-one b/lib/files/all-in-one
index efdb2bf..60a8efa 100644
--- a/lib/files/all-in-one
+++ b/lib/files/all-in-one
@@ -1,3 +1,12 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
+
# These initial groups are the only groups required to be modified. The
# additional groups are for more control of the environment.
[control]
diff --git a/lib/functions b/lib/functions
index 198074b..e3354fc 100755
--- a/lib/functions
+++ b/lib/functions
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/_commons
source /var/onap/config/env-vars
diff --git a/lib/integration b/lib/integration
index 3f106ab..42e49c3 100755
--- a/lib/integration
+++ b/lib/integration
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/mr b/lib/mr
index bba7486..0e280ec 100755
--- a/lib/mr
+++ b/lib/mr
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/msb b/lib/msb
index bcf27fe..e406e2d 100755
--- a/lib/msb
+++ b/lib/msb
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/multicloud b/lib/multicloud
index ff6f970..337acdd 100755
--- a/lib/multicloud
+++ b/lib/multicloud
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/oom b/lib/oom
index fb2d594..8e5dab3 100755
--- a/lib/oom
+++ b/lib/oom
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/openstack b/lib/openstack
index 53e474d..c698138 100755
--- a/lib/openstack
+++ b/lib/openstack
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/policy b/lib/policy
index 57add71..9d665a8 100755
--- a/lib/policy
+++ b/lib/policy
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/portal b/lib/portal
index 0d59dab..c921b49 100755
--- a/lib/portal
+++ b/lib/portal
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/robot b/lib/robot
index c00bb60..c7088e7 100755
--- a/lib/robot
+++ b/lib/robot
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/sdc b/lib/sdc
index 71a5fea..2352e1e 100755
--- a/lib/sdc
+++ b/lib/sdc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/sdnc b/lib/sdnc
index 3d1d592..e3397bc 100755
--- a/lib/sdnc
+++ b/lib/sdnc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
source /var/onap/ccsdk
diff --git a/lib/vfc b/lib/vfc
index 64f7df0..0fd818e 100755
--- a/lib/vfc
+++ b/lib/vfc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/vid b/lib/vid
index 331dc2b..cbfa02d 100755
--- a/lib/vid
+++ b/lib/vid
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/vnfsdk b/lib/vnfsdk
index ea7fa33..f1a9856 100755
--- a/lib/vnfsdk
+++ b/lib/vnfsdk
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions
diff --git a/lib/vvp b/lib/vvp
index f24431e..efa5cda 100755
--- a/lib/vvp
+++ b/lib/vvp
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# 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
+#############################################################################
source /var/onap/functions