From 487e995ce3ceb09cfac4568b8836c312acb054e8 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 10 Mar 2008 13:14:21 -0700 Subject: add license text to scripts --- scripts/VyattaQosFairQueue.pm | 20 +++++++++++++++++--- scripts/VyattaQosMatch.pm | 15 +++++++++++++++ scripts/VyattaQosTrafficShaper.pm | 15 +++++++++++++++ scripts/VyattaQosUtil.pm | 17 +++++++++++++++++ scripts/vyatta-qos-util.pl | 14 ++++++++++++++ scripts/vyatta-qos.pl | 14 ++++++++++++++ 6 files changed, 92 insertions(+), 3 deletions(-) diff --git a/scripts/VyattaQosFairQueue.pm b/scripts/VyattaQosFairQueue.pm index efae834..8a9dfdf 100644 --- a/scripts/VyattaQosFairQueue.pm +++ b/scripts/VyattaQosFairQueue.pm @@ -1,10 +1,24 @@ -package VyattaQosFairQueue; - -# # This is a wrapper around Stochastic Fair Queue(SFQ) queue discipline # Since SFQ is a hard to explain, use the name fair-queue since SFQ # is most similar to Weighted Fair Queue (WFQ) on Cisco IOS. # +# +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2008 Vyatta, Inc. +# All Rights Reserved. +# **** End License **** + +package VyattaQosFairQueue; use strict; diff --git a/scripts/VyattaQosMatch.pm b/scripts/VyattaQosMatch.pm index cf54fb0..cfc5ed2 100644 --- a/scripts/VyattaQosMatch.pm +++ b/scripts/VyattaQosMatch.pm @@ -1,3 +1,18 @@ +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2008 Vyatta, Inc. +# All Rights Reserved. +# **** End License **** + package VyattaQosMatch; require VyattaConfig; use VyattaQosUtil; diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm index 201cd8d..8ecb6db 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -2,6 +2,21 @@ # This is a extended form of Hierarchal Token Bucket with # more admin friendly features. Similar in spirt to other shaper scripts # such as wondershaper. +# +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2008 Vyatta, Inc. +# All Rights Reserved. +# **** End License **** { package ShaperClass; diff --git a/scripts/VyattaQosUtil.pm b/scripts/VyattaQosUtil.pm index 9782961..e6bef5c 100644 --- a/scripts/VyattaQosUtil.pm +++ b/scripts/VyattaQosUtil.pm @@ -1,3 +1,20 @@ +# Wrappers for iproute2 utilities +# +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2008 Vyatta, Inc. +# All Rights Reserved. +# **** End License **** + package VyattaQosUtil; use POSIX; require Exporter; diff --git a/scripts/vyatta-qos-util.pl b/scripts/vyatta-qos-util.pl index 6ea1155..36d8a17 100755 --- a/scripts/vyatta-qos-util.pl +++ b/scripts/vyatta-qos-util.pl @@ -3,6 +3,20 @@ # Utility routines for validating input # These functions don't change existing QoS parameters # +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2008 Vyatta, Inc. +# All Rights Reserved. +# **** End License **** use lib "/opt/vyatta/share/perl5/"; use VyattaQosUtil; diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl index 63e2661..8ad3068 100755 --- a/scripts/vyatta-qos.pl +++ b/scripts/vyatta-qos.pl @@ -1,4 +1,18 @@ #!/usr/bin/perl +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2008 Vyatta, Inc. +# All Rights Reserved. +# **** End License **** use lib "/opt/vyatta/share/perl5/"; use VyattaConfig; -- cgit v1.2.3