summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-06-22 21:37:35 +0200
committerGeorg Kunz <georg.kunz@ericsson.com>2018-06-29 21:58:55 +0000
commitb87595c644421e9ddd72ad15634382b89c902dcc (patch)
tree98da2e8216de0db0e67fd4a74b0a343f69dbcc21
parent964b0aaceaff268d6e12d50d92ed766b8e6cd2d4 (diff)
Update licence headers to comply with guidelines
Updating the licence headers to comply with the community guidelines [1] and anteater checks. [1] https://wiki.opnfv.org/display/DEV/Contribution+Guidelines#ContributionGuidelines-License Change-Id: Idec787e32daf76c0b1bd6108977b78828125da5e Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
-rw-r--r--dovetail/cli/commands/cli_report.py8
-rw-r--r--dovetail/constants.py3
-rw-r--r--dovetail/container.py4
-rw-r--r--dovetail/parser.py3
-rw-r--r--dovetail/report.py5
-rw-r--r--dovetail/test_runner.py2
-rw-r--r--dovetail/testcase.py3
-rw-r--r--dovetail/tests/unit/test_parser.py5
-rw-r--r--dovetail/utils/dovetail_config.py2
-rw-r--r--dovetail/utils/dovetail_logger.py3
-rw-r--r--dovetail/utils/dovetail_utils.py5
-rw-r--r--dovetail/utils/openstack_utils.py10
12 files changed, 42 insertions, 11 deletions
diff --git a/dovetail/cli/commands/cli_report.py b/dovetail/cli/commands/cli_report.py
index e69de29b..6dbd8d79 100644
--- a/dovetail/cli/commands/cli_report.py
+++ b/dovetail/cli/commands/cli_report.py
@@ -0,0 +1,8 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd 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
+##############################################################################
diff --git a/dovetail/constants.py b/dovetail/constants.py
index 00203f53..edb8b00a 100644
--- a/dovetail/constants.py
+++ b/dovetail/constants.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
#
-# feng.xiaowei@zte.com.cn
+# Copyright (c) 2018 feng.xiaowei@zte.com.cn 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
diff --git a/dovetail/container.py b/dovetail/container.py
index 1465cb5c..89c68ccb 100644
--- a/dovetail/container.py
+++ b/dovetail/container.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
+
+#
+# Copyright (c) 2017 grakiss.wanglei@huawei.com and others.
#
-# grakiss.wanglei@huawei.com
# 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
diff --git a/dovetail/parser.py b/dovetail/parser.py
index 1b539c85..55ba6b80 100644
--- a/dovetail/parser.py
+++ b/dovetail/parser.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
#
-# grakiss.wanglei@huawei.com
+# Copyright (c) 2018 grakiss.wanglei@huawei.com 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
diff --git a/dovetail/report.py b/dovetail/report.py
index 9808c7a5..c74595cc 100644
--- a/dovetail/report.py
+++ b/dovetail/report.py
@@ -1,11 +1,14 @@
#!/usr/bin/env python
+
+#
+# Copyright (c) 2017 grakiss.wanglei@huawei.com and others.
#
-# grakiss.wanglei@huawei.com
# 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
#
+
from __future__ import division
import json
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index 7aa5854c..68364fda 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# grakiss.wanglei@huawei.com
+# Copyright (c) 2018 grakiss.wanglei@huawei.com 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
diff --git a/dovetail/testcase.py b/dovetail/testcase.py
index 272cf43c..23220aeb 100644
--- a/dovetail/testcase.py
+++ b/dovetail/testcase.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
#
-# grakiss.wanglei@huawei.com
+# Copyright (c) 2018 grakiss.wanglei@huawei.com 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
diff --git a/dovetail/tests/unit/test_parser.py b/dovetail/tests/unit/test_parser.py
index 5cc3fe9f..53484400 100644
--- a/dovetail/tests/unit/test_parser.py
+++ b/dovetail/tests/unit/test_parser.py
@@ -1,10 +1,13 @@
#!/usr/bin/env python
#
-# lingui.zeng@huawei.com
+##############################################################################
+# Copyright (c) 2016 lingui.zeng@huawei.com 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
+##############################################################################
#
"""
Test 'parser' module
diff --git a/dovetail/utils/dovetail_config.py b/dovetail/utils/dovetail_config.py
index 67ad9612..e448888f 100644
--- a/dovetail/utils/dovetail_config.py
+++ b/dovetail/utils/dovetail_config.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
#
+# Copyright (c) 2018 grakiss.wanglei@huawei.com and others.
+#
# grakiss.wanglei@huawei.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
diff --git a/dovetail/utils/dovetail_logger.py b/dovetail/utils/dovetail_logger.py
index 5ad127ba..e22ef4d6 100644
--- a/dovetail/utils/dovetail_logger.py
+++ b/dovetail/utils/dovetail_logger.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
#
-# jose.lausuch@ericsson.com
+# Copyright (c) 2018 jose.lausuch@ericsson.com 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
diff --git a/dovetail/utils/dovetail_utils.py b/dovetail/utils/dovetail_utils.py
index e758a84b..aceb36d5 100644
--- a/dovetail/utils/dovetail_utils.py
+++ b/dovetail/utils/dovetail_utils.py
@@ -1,8 +1,7 @@
#!/usr/bin/env python
#
-# jose.lausuch@ericsson.com
-# valentin.boucher@orange.com
-# grakiss.wanglei@huawei.com
+# Copyright (c) 2018 grakiss.wanglei@huawei.com 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
diff --git a/dovetail/utils/openstack_utils.py b/dovetail/utils/openstack_utils.py
index c4dfabf9..2c57b7c8 100644
--- a/dovetail/utils/openstack_utils.py
+++ b/dovetail/utils/openstack_utils.py
@@ -1,3 +1,13 @@
+#!/usr/bin/env python
+#
+# Copyright (c) 2018 xudan16@huawei.com 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 json
import os_client_config
import shade