summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-12-13 18:12:18 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-12-13 18:12:18 +0900
commit3d26e755ad0af37678b65fc7c31169c4c07029c5 (patch)
treef44326be0d1887dc5c59107b1ce7f2729a753ee5
parentf3e3ccc98fdf56900be97c3784f49615575c1aed (diff)
add license to ospf files
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/lib/packet/ospf.py15
-rw-r--r--ryu/tests/unit/packet/test_ospf.py15
2 files changed, 30 insertions, 0 deletions
diff --git a/ryu/lib/packet/ospf.py b/ryu/lib/packet/ospf.py
index 49a7a6a1..5c5a1799 100644
--- a/ryu/lib/packet/ospf.py
+++ b/ryu/lib/packet/ospf.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation.
+#
+# 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.
+
"""
RFC 2328 OSPF version 2
"""
diff --git a/ryu/tests/unit/packet/test_ospf.py b/ryu/tests/unit/packet/test_ospf.py
index 75013a4c..4c9bab55 100644
--- a/ryu/tests/unit/packet/test_ospf.py
+++ b/ryu/tests/unit/packet/test_ospf.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation.
+#
+# 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.
+
import unittest
from nose.tools import eq_
from nose.tools import ok_