Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/SA2T3-OPPD] r765 - in bran ches/perfsonar-oppd-all-0.53/build/debian: . 0.53- 6 perfsonar-client-debian perfsonar-client-debian/perfsona r-client perfsonar-client-debian/perfsonar-client/DEBIAN p erfsonar-client-debian/perfsonar-client/usr perfsonar-clie nt-debian/perfsonar-client/usr/lib perfsonar-client-debian /perfsonar-client/usr/lib/perfsonar perfsonar-client-debia n/perfsonar-client/usr/lib/perfsonar/services perfsonar-cl ient-debian/perfsonar-client/usr/lib/perfsonar/services/op pd perfsonar-client-debian/perfsonar-client/usr/lib/perfso nar/services/oppd/tools perfsonar-client-debian/perfsonar- client/usr/lib/perfsonar/services/oppd/tools/perfsonar-cli ent perfsonar-client-debian/perfsonar-client/usr/share per fsonar-client-debian/perfsonar-client/usr/share/doc perfso nar-client-debian/perfsonar-client/usr/share/doc/perfsonar -client perfsonar-client-debian/source

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/SA2T3-OPPD] r765 - in bran ches/perfsonar-oppd-all-0.53/build/debian: . 0.53- 6 perfsonar-client-debian perfsonar-client-debian/perfsona r-client perfsonar-client-debian/perfsonar-client/DEBIAN p erfsonar-client-debian/perfsonar-client/usr perfsonar-clie nt-debian/perfsonar-client/usr/lib perfsonar-client-debian /perfsonar-client/usr/lib/perfsonar perfsonar-client-debia n/perfsonar-client/usr/lib/perfsonar/services perfsonar-cl ient-debian/perfsonar-client/usr/lib/perfsonar/services/op pd perfsonar-client-debian/perfsonar-client/usr/lib/perfso nar/services/oppd/tools perfsonar-client-debian/perfsonar- client/usr/lib/perfsonar/services/oppd/tools/perfsonar-cli ent perfsonar-client-debian/perfsonar-client/usr/share per fsonar-client-debian/perfsonar-client/usr/share/doc perfso nar-client-debian/perfsonar-client/usr/share/doc/perfsonar -client perfsonar-client-debian/source


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/SA2T3-OPPD] r765 - in bran ches/perfsonar-oppd-all-0.53/build/debian: . 0.53- 6 perfsonar-client-debian perfsonar-client-debian/perfsona r-client perfsonar-client-debian/perfsonar-client/DEBIAN p erfsonar-client-debian/perfsonar-client/usr perfsonar-clie nt-debian/perfsonar-client/usr/lib perfsonar-client-debian /perfsonar-client/usr/lib/perfsonar perfsonar-client-debia n/perfsonar-client/usr/lib/perfsonar/services perfsonar-cl ient-debian/perfsonar-client/usr/lib/perfsonar/services/op pd perfsonar-client-debian/perfsonar-client/usr/lib/perfso nar/services/oppd/tools perfsonar-client-debian/perfsonar- client/usr/lib/perfsonar/services/oppd/tools/perfsonar-cli ent perfsonar-client-debian/perfsonar-client/usr/share per fsonar-client-debian/perfsonar-client/usr/share/doc perfso nar-client-debian/perfsonar-client/usr/share/doc/perfsonar -client perfsonar-client-debian/source
  • Date: Mon, 27 Aug 2012 17:02:31 +0100 (BST)

Author: dfn.calim
Date: 2012-08-27 17:02:31 +0100 (Mon, 27 Aug 2012)
New Revision: 765

Added:

branches/perfsonar-oppd-all-0.53/build/debian/0.53-6/perfsonar-client_0.53-1_all.deb
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.Debian

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.source

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/changelog

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/compat

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/control

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/copyright
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/docs
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/files

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/install

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client.substvars

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/control

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/md5sums

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postinst

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postrm

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/preinst

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-Scheduler.pl

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-reverse-Scheduler.pl

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/EchoRequest.xml

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/OWAMP-Scheduler.pl

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/perfsonar-client.pl

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-bwctl-mp.xml

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-owamp-mp.xml

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/README.Debian

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/changelog.Debian.gz

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/copyright

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postinst

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postrm

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/preinst
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/rules

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/source/

branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/source/format
Log:
Add debiam perfsonar-client package and files

Added:
branches/perfsonar-oppd-all-0.53/build/debian/0.53-6/perfsonar-client_0.53-1_all.deb
===================================================================
(Binary files differ)


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/0.53-6/perfsonar-client_0.53-1_all.deb
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.Debian
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.Debian
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.Debian
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,6 @@
+perfsonar-client for Debian
+---------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Hakan Calim
<>
Mon, 27 Aug 2012 16:26:08 +0200

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.source
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.source
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/README.source
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,9 @@
+perfsonar-client for Debian
+---------------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/changelog
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/changelog
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/changelog
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,5 @@
+perfsonar-client (0.53-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Hakan Calim
<>
Thu, 26 Jul 2012 14:42:53 +0200

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/compat
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/compat
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/compat
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1 @@
+7

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/control
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/control
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/control
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,16 @@
+Source: perfsonar-client
+Section: net
+Priority: extra
+Maintainer: DFN Labor
<>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+Homepage: http://www.win-labor.dfn.de
+#Vcs-Git: git://git.debian.org/collab-maint/perfsonar-client.git
+#Vcs-Browser:
http://git.debian.org/?p=collab-maint/perfsonar-client.git;a=summary
+
+Package: perfsonar-client
+Architecture: all
+Pre-Depends: ${perl:Depends}, perfsonar-oppd (>= 0.53)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: perfSONAR command line client
+ Use this client to sent request messages to perSONAR services.

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/copyright
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/copyright
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/copyright
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,37 @@
+This work was packaged for Debian by:
+
+ Hakan Calim
<>
on Mon, 27 Aug 2012 16:26:08 +0200
+
+It was downloaded from:
+
+ <url://example.com>
+
+Upstream Author(s):
+
+ <put author's name and email here>
+ <likewise for another author>
+
+Copyright:
+
+ <Copyright (C) YYYY Firstname Lastname>
+ <likewise for another author>
+
+License:
+
+ <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is:
+
+ Copyright (C) 2012 Hakan Calim
<>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following lines in.
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/docs
===================================================================
Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/files
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/files
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/files
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1 @@
+perfsonar-client_0.53-1_all.deb net extra

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/install
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/install
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/install
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,7 @@
+BWCTL-reverse-Scheduler.pl
/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/
+OWAMP-Scheduler.pl /usr/lib/perfsonar/services/oppd/tools/perfsonar-client/
+perfsonar-client.pl /usr/lib/perfsonar/services/oppd/tools/perfsonar-client/
+template-owamp-mp.xml
/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/
+BWCTL-Scheduler.pl /usr/lib/perfsonar/services/oppd/tools/perfsonar-client/
+EchoRequest.xml /usr/lib/perfsonar/services/oppd/tools/perfsonar-client/
+template-bwctl-mp.xml
/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/control
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/control
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/control
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,11 @@
+Package: perfsonar-client
+Version: 0.53-1
+Architecture: all
+Maintainer: DFN Labor
<>
+Installed-Size: 112
+Pre-Depends: perl, perfsonar-oppd (>= 0.53)
+Section: net
+Priority: extra
+Homepage: http://www.win-labor.dfn.de
+Description: perfSONAR command line client
+ Use this client to sent request messages to perSONAR services.

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/md5sums
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/md5sums
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/md5sums
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,10 @@
+c9cbd72382f0b531700a4968542b7cd3
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-Scheduler.pl
+262688004e429ecea6000f1e92afa3a2
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-reverse-Scheduler.pl
+8703870479d107f49a68d6a072255b75
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/EchoRequest.xml
+c39244762388a255df3e799589b11c89
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/OWAMP-Scheduler.pl
+69380d60b96181f9ae3d876597dbf8a8
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/perfsonar-client.pl
+fa86c8d3fc34bafb502c601dbd64829b
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-bwctl-mp.xml
+48577db89068278899b3a6419471c7fb
usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-owamp-mp.xml
+57cc0db6b7b5b914034c15700253f5af
usr/share/doc/perfsonar-client/README.Debian
+36bd6eca2f0c87614f1b5a4cb3dc3e8c
usr/share/doc/perfsonar-client/changelog.Debian.gz
+c52b591f825e6014227b93d92c8b2263 usr/share/doc/perfsonar-client/copyright

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postinst
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postinst
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postinst
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,46 @@
+#!/bin/sh
+# postinst script for perfsonar-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+USER=perfsonar
+GROUP=perfsonar
+HOMEDIR=/usr/lib/perfsonar/services/oppd/tools/perfsonar-client
+
+case "$1" in
+ configure)
+ if [ -d $HOMEDIR ];
+ then
+ chown -R $GROUP:$USER $HOMEDIR
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+
+
+exit 0


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postinst
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postrm
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postrm
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postrm
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,42 @@
+#!/bin/sh
+# postrm script for perfsonar-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+HOMEDIR=/usr/lib/perfsonar/services/oppd/tools/perfsonar-client
+
+case "$1" in
+
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ if [ -d $HOMEDIR ];
+ then
+ rm -rf $HOMEDIR
+ fi
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+
+
+exit 0


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/postrm
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/preinst
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/preinst
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/preinst
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,46 @@
+#!/bin/sh
+# preinst script for perfsonar-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+HOMEDIR=/usr/lib/perfsonar/services/oppd/tools/perfsonar-client
+USER=perfsonar
+GROUP=perfsonar
+
+case "$1" in
+ install|upgrade)
+ #Check if directory exist
+ if [ ! -d $HOMEDIR ];
+ then
+ echo -n "Creating directory perfsonar-client "
+ mkdir -p $HOMEDIR
+ chown -R $USER:$GROUP $HOMEDIR
+ chmod 755 $HOMEDIR
+ echo "...done"
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+
+
+exit 0


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/DEBIAN/preinst
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-Scheduler.pl
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-Scheduler.pl
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-Scheduler.pl
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,45 @@
+#!/usr/bin/perl
+
+
+my $port = 8090;
+my $tool = "perfsonar-client.pl";
+my $path = "/usr/lib/perfsonar/services/oppd/tools/perfsonar-client";
+
+my ($src, $dst) = @ARGV;
+
+if (!$src || !$dst){
+ print "usage: BWCTL-Scheduler.pl <src> <dst>";
+ exit;
+}
+
+#check if src and dst are ip-adresses
+if (!($src =~ /\d+\.\d+\.\d+\.\d+/) || !($dst =~ /\d+\.\d+\.\d+\.\d+/)){
+ print "<src> and <dst> must be IP adresses!\n";
+ exit;
+}
+
+
+my $template = "$path/template-bwctl-mp.xml";
+
+#read in template XML file, set src/dst paramters
+my $request;
+open (TEMPLATE, "$template") || die "cannot open template.xml: $!";
+while (<TEMPLATE>){
+ my $line = $_;
+ $line =~ s/endPoint type="ipv4" value="src"/endPoint type="ipv4"
value="$src"/;
+ $line =~ s/src type="ipv4" value="src"/src type="ipv4" value="$src"/;
+ $line =~ s/dst type="ipv4" value="dst"/dst type="ipv4" value="$dst"/;
+ $request .= $line;
+}
+
+print "$request";
+
+my $req_file = "/tmp/$src-$dst-request.xml";
+
+open (REQUEST, "> $req_file");
+print REQUEST $request;
+close REQUEST;
+
+my $status = `$path/$tool --reqfile=$req_file
--uri=http://$src:8090/services/MP/BWCTL --host=$src`;
+print "Status: $status\n";
+unlink $req_file;


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-Scheduler.pl
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-reverse-Scheduler.pl
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-reverse-Scheduler.pl
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-reverse-Scheduler.pl
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,45 @@
+#!/usr/bin/perl
+
+
+my $port = 8090;
+my $tool = "perfsonar-client.pl";
+my $path = "/usr/lib/perfsonar/services/oppd/tools/perfsonar-client";
+
+my ($src, $dst) = @ARGV;
+
+if (!$src || !$dst){
+ print "usage: BWCTL-Scheduler.pl <src> <dst>";
+ exit;
+}
+
+#check if src and dst are ip-adresses
+if (!($src =~ /\d+\.\d+\.\d+\.\d+/) || !($dst =~ /\d+\.\d+\.\d+\.\d+/)){
+ print "<src> and <dst> must be IP adresses!\n";
+ exit;
+}
+
+
+my $template = "$path/template-bwctl-mp.xml";
+
+#read in template XML file, set src/dst paramters
+my $request;
+open (TEMPLATE, "$template") || die "cannot open template.xml: $!";
+while (<TEMPLATE>){
+ my $line = $_;
+ $line =~ s/endPoint type="ipv4" value="src"/endPoint type="ipv4"
value="$src"/;
+ $line =~ s/src type="ipv4" value="src"/src type="ipv4" value="$src"/;
+ $line =~ s/dst type="ipv4" value="dst"/dst type="ipv4" value="$dst"/;
+ $request .= $line;
+}
+
+print "$request";
+
+my $req_file = "/tmp/$src-$dst-request.xml";
+
+open (REQUEST, "> $req_file");
+print REQUEST $request;
+close REQUEST;
+
+my $status = `$path/$tool --reqfile=$req_file
--uri=http://$dst:8090/services/MP/BWCTL --host=$dst`;
+print "Status: $status\n";
+unlink $req_file;


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/BWCTL-reverse-Scheduler.pl
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/EchoRequest.xml
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/EchoRequest.xml
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/EchoRequest.xml
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <nmwg:message type="EchoRequest" id="id1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <nmwg:metadata id="meta">
+ <nmwg:eventType>
+ http://schemas.perfsonar.net/tools/admin/echo/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data" metadataIdRef="meta"/>
+ </nmwg:message>

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/OWAMP-Scheduler.pl
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/OWAMP-Scheduler.pl
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/OWAMP-Scheduler.pl
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,51 @@
+#!/usr/bin/perl
+
+
+my $port = 8090;
+my $tool = "perfsonar-client.pl";
+my $path = "/usr/lib/perfsonar/services/oppd/tools/perfsonar-client";
+my $stand_count=100;
+
+my ($src, $dst, $count) = @ARGV;
+
+if (!$src || !$dst){
+ print "usage: OWAMP-Scheduler.pl <src> <dst> <count>\n";
+ exit;
+}
+
+#check if src and dst are ip-adresses
+if (!($src =~ /\d+\.\d+\.\d+\.\d+/) || !($dst =~ /\d+\.\d+\.\d+\.\d+/)){
+ print "<src> and <dst> must be IP adresses!\n";
+ exit;
+}
+
+if (! $count){
+ print "No <count> defined. Setting it to $stand_count!\n";
+ $count = $stand_count;
+}
+
+my $template = "$path/template-owamp-mp.xml";
+
+#read in template XML file, set src/dst/count paramters
+my $request;
+open (TEMPLATE, "$template") || die "cannot open template-owamp-mp.xml: $!";
+while (<TEMPLATE>){
+ my $line = $_;
+ $line =~ s/endPoint type="ipv4" value="src"/endPoint type="ipv4"
value="$src"/;
+ $line =~ s/src type="ipv4" value="src"/src type="ipv4" value="$src"/;
+ $line =~ s/dst type="ipv4" value="dst"/dst type="ipv4" value="$dst"/;
+ $line =~ s/name="count" value=VALUE/name="count" value="$count"/;
+ $request .= $line;
+}
+
+print "$request";
+
+my $req_file = "/tmp/$src-$dst-request.xml";
+
+open (REQUEST, "> $req_file");
+print REQUEST $request;
+close REQUEST;
+
+my $status = `$path/$tool --reqfile=$req_file
--uri=http://$src:$port/services/MP/OWAMP --host=$src`;
+print "Status: $status\n";
+unlink $req_file;


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/OWAMP-Scheduler.pl
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/perfsonar-client.pl
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/perfsonar-client.pl
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/perfsonar-client.pl
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,451 @@
+#!/usr/bin/perl
+
+#TODO
+# - Improvements depend on improvements to SOAP::Lite
+# Can we somehow use doc/lit support of SOAP::Lite??
+
+use warnings;
+use strict;
+
+use Data::Dumper;
+
+use Getopt::Long 2.32 qw(:config auto_help auto_version bundling);
+use Pod::Usage;
+
+# The following modules are only for testing/diffing, but they should be
+# available on all Perl installations.
+use IO::File;
+use POSIX qw(tmpnam);
+
+use FindBin;
+use lib "$FindBin::RealBin/../../lib";
+
+my $ns_nmwg = "http://ggf.org/ns/nmwg/base/2.0/";;
+
+
+my $soap_prefix = <<__PREFIX__;
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+<soapenv:Body>
+__PREFIX__
+my $soap_suffix = '</soapenv:Body>\n</soapenv:Envelope>';
+
+my ($tmpname,$tmpfh); # variables for tmp files used in END{}
+
+# Parse command line parameters
+
+my $module = "soap";
+my $host = "";
+my $port = "";
+my $endpoint = "";
+my $uri = "";
+my $reqfile = undef;
+my $test = undef;
+
+GetOptions(
+ "module|m=s" => \$module,
+ "host|h=s" => \$host,
+ "port|p=i" => \$port,
+ "endpoint|e=s" => \$endpoint,
+ "uri|u=s" => \$uri,
+ "reqfile|f=s" => \$reqfile,
+ "test|t=s" => \$test,
+) or pod2usage(2);
+
+my @reqfiles = @ARGV;
+push @reqfiles,$reqfile if $reqfile;
+pod2usage("Mandatory parameter missing.\n")
+ unless @reqfiles && ($host || $uri);
+
+unless ($uri) {
+ # Build URI from other parameters
+ $uri = "http://$host";; # $host || $uri - see above
+ $uri .= ":$port" if $port;
+ if ($endpoint) {
+ $endpoint = "/$endpoint" unless $endpoint =~ m#^/#;
+ $uri .= $endpoint;
+ } else {
+ $uri .= "/";
+ }
+}
+
+my $diff;
+if ($test && $test ne "set") {
+ if ($test && ($test eq "XmlDiff" || $test eq "default")) {
+ require XML::Diff;
+ $diff = XML::Diff->new();
+ }
+ open LOG, ">perfsonar-client-test.log";
+}
+
+foreach my $reqfile (@reqfiles) {
+ # Read (and parse) request file
+ open REQ, $reqfile or die "Could not open $reqfile\n";
+ my $req = "";
+ foreach my $line (<REQ>) {
+ $req .= $line unless $line =~ m/^<\?xml.*/;
+ }
+ close REQ;
+
+
+ # Now do the hard work
+ my $result;
+ if ($module eq "soap") {
+ require "NMWG.pm";
+ require "NMWG/Message.pm";
+ require "perfSONAR.pm";
+ require "perfSONAR/SOAP.pm";
+ require "perfSONAR/SOAP/Message.pm";
+ require "perfSONAR/SOAP/HTTP/Request.pm";
+ require "perfSONAR/SOAP/HTTP/Response.pm";
+ require "perfSONAR/SOAP/HTTP/UserAgent.pm";
+
+ my $request = perfSONAR::SOAP::Message->new(body => $req, uri => $uri);
+ my $userAgent = perfSONAR::SOAP::HTTP::UserAgent->new;
+ my $http_request = perfSONAR::SOAP::HTTP::Request->new(message =>
$request);
+ my $http_response = $userAgent->request($http_request);
+ unless ($http_response->is_success) {
+ my $code = $http_response->code();
+ my $message = $http_response->message();
+ print "HTTP Error: $code, $message\n";
+ exit;
+ }
+ my $soap_response = $http_response->soap_message;
+ if ($soap_response->is_fault) {
+ die "SOAP Error!\n" .
+ " faultstring: ". ($soap_response->{fault}->faultstring || "") .
+ " faultcode: ". join(" - ", $soap_response->{fault}->faultcode)
."\n";
+ }
+ $result = $soap_response->as_string;
+
+ } elsif ($module eq "sendReceive") {
+ require "NMWG.pm";
+ require "NMWG/Message.pm";
+ require "perfSONAR.pm";
+ require "perfSONAR/SOAP.pm";
+ require "perfSONAR/SOAP/Message.pm";
+ require "perfSONAR/SOAP/HTTP/Request.pm";
+ require "perfSONAR/SOAP/HTTP/Response.pm";
+ require "perfSONAR/SOAP/HTTP/UserAgent.pm";
+ my $request = NMWG::Message->new($req);
+ my $response = perfSONAR::sendReceive(
+ message => $request,
+ uri => $uri
+ );
+
+ $result = $response->as_string(2);
+
+ } elsif ($module eq "http") {
+ require LWP::UserAgent;
+ require HTTP::Request;
+ require HTTP::Response;
+
+ my $httpEndpoint = $uri || "http://$host:$port$endpoint";;
+
+ my $userAgent = LWP::UserAgent->new(timeout => 5000);
+
+ my $sendSoap = HTTP::Request->new(
+ POST => $httpEndpoint,
+ new HTTP::Headers,
+ $soap_prefix . $req . $soap_suffix
+ );
+ $sendSoap->header('SOAPAction' => '""');
+ $sendSoap->content_type ('text/xml');
+ $sendSoap->content_length(length($req));
+ $sendSoap->protocol("HTTP/1.0");
+ $sendSoap->header('pragma' => 'no-cache');
+ $sendSoap->header('cache-control' => 'no-cache');
+ $sendSoap->header('accept' => 'application/soap+xml, application/dime,
multipart/related, text/*');
+ my $httpResponse = $userAgent->request($sendSoap);
+ my $responseCode = $httpResponse->code();
+ my $responseContent = $httpResponse->content();
+ $result = $httpResponse->as_string(2);
+
+ } elsif ($module eq "raw"){
+
+ require LWP::UserAgent;
+ require HTTP::Request;
+ require HTTP::Response;
+
+ my $httpEndpoint = $uri || "http://$host:$port$endpoint";;
+
+ my $userAgent = LWP::UserAgent->new(timeout => 5000);
+
+ my $sendSoap = HTTP::Request->new(
+ POST => $httpEndpoint,
+ new HTTP::Headers,
+ $req
+ );
+ $sendSoap->header('SOAPAction' => '""');
+ $sendSoap->content_type ('text/xml');
+ $sendSoap->content_length(length($req));
+ $sendSoap->protocol("HTTP/1.0");
+ $sendSoap->header('pragma' => 'no-cache');
+ $sendSoap->header('cache-control' => 'no-cache');
+ $sendSoap->header('accept' => 'application/soap+xml, application/dime,
multipart/related, text/*');
+ my $httpResponse = $userAgent->request($sendSoap);
+ my $responseCode = $httpResponse->code();
+ my $responseContent = $httpResponse->content();
+ $result = $httpResponse->as_string(2);
+
+
+ } else {
+ pod2usage("Unkown module type: $module.\n");
+ }
+
+ if ($test) {
+ my $testfile = "test/$reqfile";
+ if ($test eq "set") {
+ open TESTFILE, ">$testfile"
+ or die "Could not create test file $testfile\n";
+ print TESTFILE $result;
+ close TESTFILE;
+ } elsif ($test eq "XmlDiff" || $test eq "default") {
+ print "Testing $reqfile ... ";
+ unless (open TESTFILE, "<$testfile") {
+ print LOG ">>> $testfile NOT FOUND\n";
+ print "NOT FOUND\n";
+ next;
+ }
+ my $save = $/;
+ $/ = undef;
+ my $old_xml = <TESTFILE>;
+ $/ = $save;
+ close TESTFILE;
+ my $diffgram;
+ eval {
+ $diffgram = $diff->compare(-old => $old_xml, -new => $result);
+ };
+ if ($@) {
+ print LOG ">>> Error parsing XML:\n$@";
+ print "ERROR\n";
+ next;
+ }
+ if ($diffgram->documentElement()->hasChildNodes()) {
+ print LOG ">>> Diff for $reqfile:\n" . $diffgram->toString(2);
+ print "CHANGED\n";
+ next;
+ }
+ print "ok\n";
+ } elsif ($test eq "xmldiff" || $test eq "diff" || $test eq "3dm" ||
+ $test eq "diffxml" || $test eq "XmlSemanticDiff") {
+ print "Testing $reqfile ... ";
+ my ($out,$err);
+ if ($test eq "xmldiff" || $test eq "3dm" || $test eq "diffxml" ||
+ $test eq "XmlSemanticDiff" ) {
+ # try new temporary filenames until we get one that didn't already
exist
+ do { $tmpname = tmpnam() }
+ until $tmpfh = IO::File->new($tmpname, O_RDWR|O_CREAT|O_EXCL);
+ $tmpfh->print($result);
+ $tmpfh->close();
+ } elsif ($test eq "diff") {
+ require IPC::Run;
+ IPC::Run::run(['diff',"--version"],\undef,\$out,\$err,
+ IPC::Run::timeout(10))
+ or die "Cannot execute diff: $?\n";
+ }
+ if (! -e $testfile) {
+ $err = "File not found: $testfile\n";
+ } elsif (! -r $testfile) {
+ $err = "File not readable: $testfile\n";
+ } else {
+ if ($test eq "xmldiff") {
+ # Seems like 'xmldiff' does not use stderr!
+ # Return codes are also strange.
+ require IPC::Run;
+ IPC::Run::run(['xmldiff',$testfile,$tmpname],
+ \undef, \$out, \$err, IPC::Run::timeout(10));
+ if ($?>>8 == 255) {
+ $err = $out;
+ $out = "";
+ }
+ } elsif ($test eq "diff") {
+ # If $testfile doesn't exist, "run" reports only a "broken pipe"
+ # => We really need the check for the test file from above
+ require IPC::Run;
+ IPC::Run::run(['diff',"-u","-d","-w",$testfile,"-"],
+ \$result, \$out, \$err, IPC::Run::timeout(10));
+ if ($?) {
+ my $result = $? >> 8;
+ my $signal = $? & 127;
+ if ($result >= 2) {
+ $err = $out;
+ $out = "";
+ } elsif ($signal) {
+ $err = "Caught signal: $signal\n";
+ }
+ } else {
+ # No differences
+ $out = "";
+ }
+ } elsif ($test eq "3dm") {
+ # Seems to just throw exceptions on failure...
+ # Return code always "0" ...
+ require IPC::Run;
+ IPC::Run::run(['3dm',"-d",$testfile,$tmpname],
+ \undef, \$out, \$err, IPC::Run::timeout(10));
+ if ($out =~ m#<diff />$#) {
+ $out = "";
+ }
+ } elsif ($test eq "diffxml") {
+ # TODO for "-x":
+ # Exception in thread "main" java.lang.NoClassDefFoundError:
+ # org/apache/xpath/XPathAPI
+ # Return code seems to be "1" for "changes" and Exception. Error
+ # lead to "2". But it's easier to distinguish using stdout<->stderr
+ require IPC::Run;
+ IPC::Run::run(['diffxml',"-f",$testfile,$tmpname],
+ \undef, \$out, \$err, IPC::Run::timeout(10));
+ if ($?>>8 == 0) { # or: ($out =~ m#<delta/>$#)
+ $out = "";
+ }
+ } elsif ($test eq "XmlSemanticDiff") {
+ require XML::SemanticDiff;
+ my $diff = XML::SemanticDiff->new(keeplinenums => 1);
+ foreach my $change ($diff->compare($testfile,$tmpname)) {
+ $out .= "lines $change->{startline}-$change->{endline}: " .
+ $change->{message};
+ }
+ }
+ }
+ if ($err) {
+ print LOG ">>> Error calling $test:\n$err";
+ print "ERROR\n";
+ next;
+ }
+ if ($out) {
+ print LOG ">>> Diff for $reqfile:\n" . $out;
+ print "CHANGED\n";
+ next;
+ }
+ print "ok\n";
+ } else {
+ pod2usage("Unknown test module: $test.\n");
+ }
+ } else {
+ print "Response for $reqfile:\n\n";
+ print $result;
+ print "\n\n\n";
+ }
+}
+
+close LOG;
+
+exit 0;
+
+
+## END OF MAIN ##
+
+
+END {
+ if ($tmpname) {
+ undef $tmpfh; # automatically closes the file if it's open
+ -e $tmpname && unlink($tmpname) or die "Couldn't unlink $tmpname : $!";
+ }
+}
+
+
+__END__
+
+
+
+=head1 NAME
+
+B<perfsonar-client.pl> - Send request to a perfSONAR service
+
+=head1 SYNOPSIS
+
+B<perfsonar-client.pl> S<[B<--help>]> S<[B<--module>|B<-m>=nmwg|soap|http]>
+ ( S<B<--host>|B<-h>=HOSTNAME> S<B<--port>|B<-p>=PORT>
S<B<--endpoint>|B<-p>=ENDPOINT> ) |
+ ( S<B<--uri>|B<-u>=URI> )
+ S<[B<--test>=set|xmldiff|...]>
+ S<B<--reqfile>|B<-f>=F<REQFILE>> | REQFILE1 REQFILE2 ...
+
+
+
+=head1 DESCRIPTION
+
+Sends a request to a perfSONAR service and displays response.
+
+
+
+=head1 OPTIONS
+
+
+=over
+
+
+=item B<--help>
+
+Prints a help message and exits.
+
+
+=item B<--module>|B<-m>=soap|http|nmwg
+
+Use Perl module SOAP::Lite (soap) or Perl module LWP::UserAgent (http) for
+accessing the service.
+
+IMPORTANT: SOAP::Lite only does rpc/encoded and LWP::UserAgent only does
+document/literal SOAP requests!
+
+
+=item B<--host>|B<-h>=HOST
+
+Connect to service on host HOST. You have to at least set B<--host> or
+B<--uri>.
+
+
+=item B<--port>|B<-p>=PORT
+
+Use port PORT to connect. Default is to use default HTTP port (80).
+
+
+=item B<--endpoint>|B<-u>=ENDPOINT
+
+Use ENDPOINT as endpoint of the service.
+
+
+=item B<--uri>|B<-u>=URI
+
+Use URI as service uri. You have to at least set B<--host> or
+B<--uri>. If B<--uri> is not set it is build based on
http://HOST:PORT/ENDPOINT.
+If B<--uri> is set, B<--host>, B<--port>, and B<--endpoint> are ignored!
+
+
+=item B<--reqfile>|B<-f>=F<REQFILE>
+
+Use content of F<REQFILE> as request.
+
+=item B<--test>|B<-t>=MODE
+
+Simple test of responses by "diffing" with result from previous run.
+Available values for MODE:
+ set Save result for testing.
+ No diffing done!
+ XmlDiff Use XML::Diff.
+ Often very verbose...
+ XmlSemanticDiff Use XML::SemanticDiff.
+ Looks very promising!
+ xmldiff Use xmldiff (http://www.logilab.org/projects/xmldiff/).
+ Very famous Python tool. Seems to produce live locks
+ and quite long deltas.
+ 3dm Use 3dm (http://www.cs.hut.fi/~ctl/3dm/).
+ Fast and small, but "unreadable" deltas. Java.
+ diffxml Use diffxml (http://diffxml.sourceforge.net/)
+ Java. Two algorithms:
+ FMES algorithm (seems to produce live locks)
+ xmdiff (produces exceptions).
+ diff Yes, "diff". Nothing more, but also nothing less.
+Binaries/scripts have to be in your PATH, of course!
+
+
+=head1 EXAMPLES
+
+
+S<perfsonar-client.pl> S<--host=localhost> S<--port=5000> \
+ S<--uri=http://test/Hades/perfSONAR/MA> S<--reqfile=SetupData-Req.xml>
+
+S<perfsonar-client.pl> S<-h selena.acad.bg> S<-p 8090> \
+ S<-f SetupDataRequest-FilterRRDSelect-ACAD.xml>


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/perfsonar-client.pl
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-bwctl-mp.xml
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-bwctl-mp.xml
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-bwctl-mp.xml
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:message type="SetupDataRequest"
+ id="bwctl-request"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/";
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/";
+ xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/";
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>
+
+ <nmwg:metadata id="bwctl-metadata">
+ <bwctl:subject id="bwctl-subject">
+ <nmwgt:endPoint type="ipv4" value="src"/>
+ </bwctl:subject>
+
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/bwctl/2.0</nmwg:eventType>
+ <bwctl:parameters id="bwctl-parameters">
+ <nmwg:parameter name="duration" value="30"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="iperf-metadata">
+ <iperf:subject id="iperf-subject" metadataIdRef="bwctl-metadata">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="src"/>
+ <nmwgt:dst type="ipv4" value="dst"/>
+ </nmwgt:endPointPair>
+ </iperf:subject>
+ <iperf:parameters id="iperf-parameters">
+ <nmwg:parameter name="interval" value="6"/>
+ <nmwg:parameter name="protocol" value="tcp"/>
+ </iperf:parameters>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="iperf-metadata"/>
+
+
+</nmwg:message>

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-owamp-mp.xml
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-owamp-mp.xml
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/lib/perfsonar/services/oppd/tools/perfsonar-client/template-owamp-mp.xml
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:message type="SetupDataRequest"
+ id="owamp-req-1.0 "
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/";
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/";>
+
+
+
+
+
+ <nmwg:metadata id="owamp-metadata">
+ <owamp:subject id="owamp-subject">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="src"/>
+ <nmwgt:dst type="ipv4" value="dst"/>
+ </nmwgt:endPointPair>
+ </owamp:subject>
+
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="owamp-parameters">
+ <!-- count - number of test packets-->
+ <nmwg:parameter name="count" value=VALUE/>
+ <!-- wait - mean average time between packets (seconds)
+ <nmwg:parameter name="wait" value="VALUE"/> -->
+ <!-- timeout - maximum time to wait for a packet before
declaring it lost (seconds)
+ <nmwg:parameter name="timeout" value="VALUE"/> -->
+ <!-- size - size of the padding added to each packet (bytes)
+ <nmwg:parameter name="size" value="VALUE"/> -->
+ <!-- startdelay - time to wait before executing test (seconds)
+ <nmwg:parameter name="startdelay" value="VALUE"/> -->
+ <!-- output - set here the outputtype of response data (raw
or summary)
+ <nmwg:parameter name="output" value="VALUE"/> -->
+ <!-- DSCP - RFC 2474 style DSCP value for TOS byte
+ <nmwg:parameter name="DSCP" value="VALUE"/> -->
+ <!-- bucket_width - bin size for histogram calculations
+ <nmwg:parameter name="bucket_width" value="VALUE"/> -->
+ <!-- one_way - give the direction of test (from/to)
+ <nmwg:parameter name="one_way" value="VALUE"/> -->
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="owamp-metadata"/>
+
+</nmwg:message>

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/README.Debian
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/README.Debian
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/README.Debian
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,6 @@
+perfsonar-client for Debian
+---------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Hakan Calim
<>
Mon, 27 Aug 2012 16:26:08 +0200

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/changelog.Debian.gz
===================================================================
(Binary files differ)


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/changelog.Debian.gz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/copyright
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/copyright
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client/usr/share/doc/perfsonar-client/copyright
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,37 @@
+This work was packaged for Debian by:
+
+ Hakan Calim
<>
on Mon, 27 Aug 2012 16:26:08 +0200
+
+It was downloaded from:
+
+ <url://example.com>
+
+Upstream Author(s):
+
+ <put author's name and email here>
+ <likewise for another author>
+
+Copyright:
+
+ <Copyright (C) YYYY Firstname Lastname>
+ <likewise for another author>
+
+License:
+
+ <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is:
+
+ Copyright (C) 2012 Hakan Calim
<>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following lines in.
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client.substvars
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client.substvars
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/perfsonar-client.substvars
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,2 @@
+perl:Depends=perl
+misc:Depends=

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postinst
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postinst
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postinst
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,46 @@
+#!/bin/sh
+# postinst script for perfsonar-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+USER=perfsonar
+GROUP=perfsonar
+HOMEDIR=/usr/lib/perfsonar/services/oppd/tools/perfsonar-client
+
+case "$1" in
+ configure)
+ if [ -d $HOMEDIR ];
+ then
+ chown -R $GROUP:$USER $HOMEDIR
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postrm
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postrm
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/postrm
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,42 @@
+#!/bin/sh
+# postrm script for perfsonar-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+HOMEDIR=/usr/lib/perfsonar/services/oppd/tools/perfsonar-client
+
+case "$1" in
+
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ if [ -d $HOMEDIR ];
+ then
+ rm -rf $HOMEDIR
+ fi
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/preinst
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/preinst
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/preinst
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,46 @@
+#!/bin/sh
+# preinst script for perfsonar-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+HOMEDIR=/usr/lib/perfsonar/services/oppd/tools/perfsonar-client
+USER=perfsonar
+GROUP=perfsonar
+
+case "$1" in
+ install|upgrade)
+ #Check if directory exist
+ if [ ! -d $HOMEDIR ];
+ then
+ echo -n "Creating directory perfsonar-client "
+ mkdir -p $HOMEDIR
+ chown -R $USER:$GROUP $HOMEDIR
+ chmod 755 $HOMEDIR
+ echo "...done"
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/rules
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/rules
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/rules
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@


Property changes on:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/rules
___________________________________________________________________
Added: svn:executable
+ *

Added:
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/source/format
===================================================================
---
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/source/format
(rev 0)
+++
branches/perfsonar-oppd-all-0.53/build/debian/perfsonar-client-debian/source/format
2012-08-27 16:02:31 UTC (rev 765)
@@ -0,0 +1 @@
+3.0 (quilt)



  • [pS-dev] [GEANT/SA2/SA2T3-OPPD] r765 - in bran ches/perfsonar-oppd-all-0.53/build/debian: . 0.53- 6 perfsonar-client-debian perfsonar-client-debian/perfsona r-client perfsonar-client-debian/perfsonar-client/DEBIAN p erfsonar-client-debian/perfsonar-client/usr perfsonar-clie nt-debian/perfsonar-client/usr/lib perfsonar-client-debian /perfsonar-client/usr/lib/perfsonar perfsonar-client-debia n/perfsonar-client/usr/lib/perfsonar/services perfsonar-cl ient-debian/perfsonar-client/usr/lib/perfsonar/services/op pd perfsonar-client-debian/perfsonar-client/usr/lib/perfso nar/services/oppd/tools perfsonar-client-debian/perfsonar- client/usr/lib/perfsonar/services/oppd/tools/perfsonar-cli ent perfsonar-client-debian/perfsonar-client/usr/share per fsonar-client-debian/perfsonar-client/usr/share/doc perfso nar-client-debian/perfsonar-client/usr/share/doc/perfsonar -client perfsonar-client-debian/source, svn-noreply, 08/27/2012

Archive powered by MHonArc 2.6.16.

Top of Page