From b3fc2a0ec31d4d8b3e2385d6706b3a88df32d105 Mon Sep 17 00:00:00 2001 From: Austin Cormier Date: Mon, 23 May 2016 21:46:17 -0400 Subject: [PATCH] Add apache license to newly added files. --- Makefile | 18 ++++++++++++++++ README | 19 +++++++++++++++++ src/gen_nsd_pkg.sh | 18 ++++++++++++++++ src/gen_vnfd_pkg.sh | 18 ++++++++++++++++ src/generate_descriptor_pkg.sh | 21 ++++++++++++++++--- .../mwc16_pe_ns/scripts/add_corporation.py | 18 ++++++++++++++++ 6 files changed, 109 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c4179ea..8fca853 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,21 @@ +# +# Copyright 2016 RIFT.IO Inc +# +# 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. +# +# Author(s): Austin Cormier +# Creation Date: 2016/05/23 +# BUILD_DIR = build NSDS := gw_corpa_ns ims_allin1_corpa mwc16_gen_ns mwc16_pe_ns diff --git a/README b/README index 28be851..82443e2 100644 --- a/README +++ b/README @@ -1,3 +1,22 @@ +# +# Copyright 2016 RIFT.IO Inc +# +# 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. +# +# Author(s): Austin Cormier +# Creation Date: 2016/05/23 + + Generates the MWC16 NSD and VNFD descriptor packages from source. To generate the packages type "make". The VNF and NSD packages will be located diff --git a/src/gen_nsd_pkg.sh b/src/gen_nsd_pkg.sh index ea5e6a7..07761d2 100755 --- a/src/gen_nsd_pkg.sh +++ b/src/gen_nsd_pkg.sh @@ -1,4 +1,22 @@ #!/bin/bash +# +# Copyright 2016 RIFT.IO Inc +# +# 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. +# +# Author(s): Austin Cormier +# Creation Date: 2016/05/23 +# # Generates a NSD descriptor package from a source directory # Usage: diff --git a/src/gen_vnfd_pkg.sh b/src/gen_vnfd_pkg.sh index 478d5c5..81a655c 100755 --- a/src/gen_vnfd_pkg.sh +++ b/src/gen_vnfd_pkg.sh @@ -1,4 +1,22 @@ #!/bin/bash +# +# Copyright 2016 RIFT.IO Inc +# +# 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. +# +# Author(s): Austin Cormier +# Creation Date: 2016/05/23 +# # Generates a NSD descriptor package from a source directory # Usage: diff --git a/src/generate_descriptor_pkg.sh b/src/generate_descriptor_pkg.sh index 82ecda1..8bc3a54 100755 --- a/src/generate_descriptor_pkg.sh +++ b/src/generate_descriptor_pkg.sh @@ -1,7 +1,22 @@ #! /usr/bin/bash -# STANDARD_RIFT_IO_COPYRIGHT -# Author(s): Anil Gunturu -# Creation Date: 2015/10/09 +# +# Copyright 2016 RIFT.IO Inc +# +# 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. +# +# Author(s): Austin Cormier +# Creation Date: 2016/05/23 +# # # This shell script is used to create a descriptor package # The main functions of this script include: diff --git a/src/nsd/mwc16_pe_ns/scripts/add_corporation.py b/src/nsd/mwc16_pe_ns/scripts/add_corporation.py index 4b2bb4c..9b72b3b 100755 --- a/src/nsd/mwc16_pe_ns/scripts/add_corporation.py +++ b/src/nsd/mwc16_pe_ns/scripts/add_corporation.py @@ -1,4 +1,22 @@ #!/usr/bin/env python3 +# +# Copyright 2016 RIFT.IO Inc +# +# 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. +# +# Author(s): Austin Cormier +# Creation Date: 2016/05/23 +# import argparse import hashlib import ipaddress -- 2.25.1