[spp] [PATCH 4/7] controller: convert license to SPDX tag

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Mon Apr 23 08:28:45 CEST 2018


From: ogawa.yasufumi at lab.ntt.co.jp

From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
 src/controller/command/hello.py    | 3 ++-
 src/controller/conn_thread.py      | 5 +++++
 src/controller/shell.py            | 5 +++++
 src/controller/shell_lib/common.py | 4 ++++
 src/controller/spp.py              | 4 +++-
 src/controller/spp_common.py       | 5 +++++
 src/controller/topo.py             | 3 ++-
 src/spp.py                         | 4 +++-
 8 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/src/controller/command/hello.py b/src/controller/command/hello.py
index e3d974b..418bc16 100644
--- a/src/controller/command/hello.py
+++ b/src/controller/command/hello.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python
-# coding: utf-8
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
 
 
 class Hello(object):
diff --git a/src/controller/conn_thread.py b/src/controller/conn_thread.py
index 039a3ad..6325843 100644
--- a/src/controller/conn_thread.py
+++ b/src/controller/conn_thread.py
@@ -1,3 +1,8 @@
+#!/usr/bin/env python
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2015-2016 Intel Corporation
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
+
 from Queue import Queue
 import select
 import socket
diff --git a/src/controller/shell.py b/src/controller/shell.py
index 1cf712c..e0d13ca 100644
--- a/src/controller/shell.py
+++ b/src/controller/shell.py
@@ -1,3 +1,8 @@
+#!/usr/bin/env python
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2015-2016 Intel Corporation
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
+
 import cmd
 import json
 import os
diff --git a/src/controller/shell_lib/common.py b/src/controller/shell_lib/common.py
index b4e8fb9..360d601 100644
--- a/src/controller/shell_lib/common.py
+++ b/src/controller/shell_lib/common.py
@@ -1,3 +1,7 @@
+#!/usr/bin/env python
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
+
 import os
 
 
diff --git a/src/controller/spp.py b/src/controller/spp.py
index d5cbf46..757a1d4 100644
--- a/src/controller/spp.py
+++ b/src/controller/spp.py
@@ -1,5 +1,7 @@
 #!/usr/bin/env python
-"""Soft Patch Panel"""
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2015-2016 Intel Corporation
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
 
 from __future__ import print_function
 
diff --git a/src/controller/spp_common.py b/src/controller/spp_common.py
index b1ab60f..c507d55 100644
--- a/src/controller/spp_common.py
+++ b/src/controller/spp_common.py
@@ -1,3 +1,8 @@
+#!/usr/bin/env python
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2015-2016 Intel Corporation
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
+
 import logging
 import os
 from Queue import Queue
diff --git a/src/controller/topo.py b/src/controller/topo.py
index ff1349c..a09a873 100644
--- a/src/controller/topo.py
+++ b/src/controller/topo.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python
-# coding: utf-8
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
 
 import os
 import re
diff --git a/src/spp.py b/src/spp.py
index c494327..f52e063 100755
--- a/src/spp.py
+++ b/src/spp.py
@@ -1,5 +1,7 @@
 #!/usr/bin/env python
-# coding: utf-8
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2015-2016 Intel Corporation
+# Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
 
 from controller import spp
 import sys
-- 
2.13.1




More information about the spp mailing list