Add sample file for logfile to client session ID mapping.
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Thu, 11 Aug 2011 13:01:27 +0000 (16:01 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Thu, 11 Aug 2011 13:01:27 +0000 (16:01 +0300)
ppf/log-samples/log-id-mapping/log-id-mapping.sample.ini [new file with mode: 0644]

diff --git a/ppf/log-samples/log-id-mapping/log-id-mapping.sample.ini b/ppf/log-samples/log-id-mapping/log-id-mapping.sample.ini
new file mode 100644 (file)
index 0000000..2730210
--- /dev/null
@@ -0,0 +1,37 @@
+;
+; Sample file for mapping between log files (archives) and client
+; session IDs.
+; File is outputted after parsing of swarm description file.
+;
+;   Swarm consists of 4 peers.
+;   Top level parameters describe swarm features -- swarm ID.
+;   Second level parameters describe peer information -- client
+;     session ID and log file archive.
+;
+
+; swarm description file
+swarm_description_file = swarm-description.sample.ini
+
+; swarm ID (as inserted into the `swarms` table in the database)
+swarm_id = 1
+
+;
+; Use same section names as in swarm description_file for the sake of
+; consistency.
+;
+
+[p2p-next-01]
+       client_session_id = 1
+       log_file = p2p-next-01.grid.pub.ro/btex-fedora-11/dbex-fedora-cds.tar.gz
+
+[p2p-next-03]
+       client_session_id = 2
+       log_file = p2p-next-03.grid.pub.ro/btex-fedora-11/dbex-fedora-cds.tar.gz
+
+[p2p-next-04]
+       client_session_id = 3
+       log_file = p2p-next-04.grid.pub.ro/btex-fedora-11/dbex-fedora-cds.tar.gz
+
+[p2p-next-09]
+       client_session_id = 4
+       log_file = p2p-next-09.grid.pub.ro/btex-fedora-11/dbex-fedora-cds.tar.gz