summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdministrator <michellehzg@gmail.com>2016-05-29 11:27:33 +0800
committerAdministrator <michellehzg@gmail.com>2016-05-29 11:27:33 +0800
commitc1545db27f98bb605421140b72f0a9c86f48ab45 (patch)
tree9a9405c41945db3ef0bfca9abfea7433e2670946
parent18d30c36cedc037c7d6617a3305abdb2fb28b44e (diff)
downloadpython-vyos-mgmt-c1545db27f98bb605421140b72f0a9c86f48ab45.tar.gz
python-vyos-mgmt-c1545db27f98bb605421140b72f0a9c86f48ab45.zip
add license
-rw-r--r--setup.py2
-rw-r--r--vyroute/LICENSE24
-rw-r--r--vyroute/Router.py3
-rw-r--r--vyroute/basic_function/DeleteRoute.py2
-rw-r--r--vyroute/basic_function/Modifylo.py2
-rw-r--r--vyroute/basic_function/OSPFRoute.py2
-rw-r--r--vyroute/basic_function/RIPRoute.py2
-rw-r--r--vyroute/basic_function/StaticRoute.py2
8 files changed, 32 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index 3369e1f..9367eb5 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
from setuptools import setup, find_packages
setup(
diff --git a/vyroute/LICENSE b/vyroute/LICENSE
new file mode 100644
index 0000000..86d5b91
--- /dev/null
+++ b/vyroute/LICENSE
@@ -0,0 +1,24 @@
+Copyright (c) 2016 Hochikong
+
+The following license applies to all parts of this library.
+
+=====
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without
+limitation the rights to use, copy, modify, merge, publish, distribute,
+sublicense, and/or sell copies of the Software, and to permit persons to
+whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+==== \ No newline at end of file
diff --git a/vyroute/Router.py b/vyroute/Router.py
index dd833b5..28b3184 100644
--- a/vyroute/Router.py
+++ b/vyroute/Router.py
@@ -1,4 +1,5 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
+
from Exscript.protocols import SSH2
from Exscript import Account
from vyroute.basic_function import Modifylo
diff --git a/vyroute/basic_function/DeleteRoute.py b/vyroute/basic_function/DeleteRoute.py
index 93d10fc..d612466 100644
--- a/vyroute/basic_function/DeleteRoute.py
+++ b/vyroute/basic_function/DeleteRoute.py
@@ -1,4 +1,4 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
from Exscript.protocols import SSH2
from Exscript import Account
diff --git a/vyroute/basic_function/Modifylo.py b/vyroute/basic_function/Modifylo.py
index 9c64e66..b2a7959 100644
--- a/vyroute/basic_function/Modifylo.py
+++ b/vyroute/basic_function/Modifylo.py
@@ -1,4 +1,4 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
def modifylo(obj, data):
"""This method provide a loopback address configuration function
diff --git a/vyroute/basic_function/OSPFRoute.py b/vyroute/basic_function/OSPFRoute.py
index 0d2fa33..1290467 100644
--- a/vyroute/basic_function/OSPFRoute.py
+++ b/vyroute/basic_function/OSPFRoute.py
@@ -1,4 +1,4 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
def ospfarea(obj, data):
"""This method provide a OSPF area configuration function
diff --git a/vyroute/basic_function/RIPRoute.py b/vyroute/basic_function/RIPRoute.py
index 627bb8b..2ce73cd 100644
--- a/vyroute/basic_function/RIPRoute.py
+++ b/vyroute/basic_function/RIPRoute.py
@@ -1,4 +1,4 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
def riproute(obj, data):
"""This method provide a RIP protocols router configuration function
diff --git a/vyroute/basic_function/StaticRoute.py b/vyroute/basic_function/StaticRoute.py
index 115ab6b..ac6627d 100644
--- a/vyroute/basic_function/StaticRoute.py
+++ b/vyroute/basic_function/StaticRoute.py
@@ -1,4 +1,4 @@
-# author=Hochikong
+# Copyright (c) 2016 Hochikong
def staticroute(obj, data):
"""This method provide a basic static router configuration function