From c1545db27f98bb605421140b72f0a9c86f48ab45 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 29 May 2016 11:27:33 +0800 Subject: add license --- setup.py | 2 +- vyroute/LICENSE | 24 ++++++++++++++++++++++++ vyroute/Router.py | 3 ++- vyroute/basic_function/DeleteRoute.py | 2 +- vyroute/basic_function/Modifylo.py | 2 +- vyroute/basic_function/OSPFRoute.py | 2 +- vyroute/basic_function/RIPRoute.py | 2 +- vyroute/basic_function/StaticRoute.py | 2 +- 8 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 vyroute/LICENSE 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 -- cgit v1.2.3