Index: [Article Count Order] [Thread]

Date: Wed, 22 Oct 2008 14:04:23 +0200
From: Klara Cihlarova <cihlarov@suse.cz>
Subject: [users:00948] Re: Collecting the problem information regarding VEL
To: Hiroshi MIYATA <miyata@tahi.org>
Cc: users@tahi.org
Message-Id: <200810221404.23510.cihlarov@suse.cz>
In-Reply-To: <C2231149-7874-40A8-B176-39B74DE91A1C@tahi.org>
References: <C2231149-7874-40A8-B176-39B74DE91A1C@tahi.org>
X-Mail-Count: 00948

Hi, we are just using the vel. I am planning to prepare more detailed info afte=r testing but if you are here with the question, there are some problems ;-).There was a small problem to build it, so we made a change in lib/Tg/TcSocket.h. Here is a diff:cihlarov@gnoll:/tmp/vel-1.0.4/lib> diff -u Tg/TcSocket.h /nfshome/cihlarov/Export/cert/ipv6/vel-1.0.4-patched/lib/Tg/T=cSocket.h--- Tg/TcSocket.h       2005-07-13 03:46:14.000000000 +0200+++ /nfshome/cihlarov/Export/cert/ipv6/vel-1.0.4-patched/lib/Tg/TcSocket.h =     2008-05-20 17:47:18.000000000 +0200@@ -104,7 +104,7 @@        void startTimer(time_t,uint32_t); virtual        void startTimer();        STR buffer(int32_t);-virtual        int TcSocket::receiveBuffer(STR s,int32_t len);+virtual        int receiveBuffer(STR s,int32_t len);        int connectIndication(); virtual        int connectAction()=0; virtual        sockaddr* destSock()=0;There is also a little problem to find waiting sync, so our other small cha=nge is:cihlarov@gnoll:/tmp/vel-1.0.4/lib> diff -u Tg/TgStatement.cc /nfshome/cihlarov/Export/cert/ipv6/vel-1.0.4-patched/lib/=Tg/TgStatement.cc--- Tg/TgStatement.cc   2005-07-13 03:46:14.000000000 +0200+++ /nfshome/cihlarov/Export/cert/ipv6/vel-1.0.4-patched/lib/Tg/TgStatement=.cc  2008-05-20 17:05:02.000000000 +0200@@ -278,11 +278,14 @@                switch((int)step_) {                        case 0:                                setTime(startTime_);+                               if (logLevel > 0) {+                                       managerLog("prepare: %s (\"%s\")",host->name(),command_.string());+                               }                                result=agent->opCommand(thread_,this,id_req,command_.string(),waitf);                                break;                        default:                                setTime(endTime_);-                               managerLog("%s (\"%s\")",host->name(),command_.string());+                               managerLog("done: %s (\"%s\")",host->name(),command_.string());                                abort=false; return  false;}                if(result==false) {abort=true; return false;}                if(waitf==true) break;}@@ -297,11 +300,14 @@                switch((int)step_) {                        case 0:                                setTime(startTime_);+                               if (logLevel > 0) {+                                       managerLog("prepare: %d (\"%s\")",step_,event_.string());+                               }                                result=TgSyncEvent::syncEvent(thread_,this,id_req,event_,waitf);                                break;                        default:                                setTime(endTime_);-                               managerLog( "(\"%s\")",event_.string());+                               managerLog( "done: %d (\"%s\")",step_,event_.string());                                abort=false; return  false;                }                if(result==false) {abort=true; return false;}cihlarov@gnoll:/tmp/vel-1.0.4/lib>    It is really a small change, because we have not time to implement more :-(=. It would be great to have more debug options.               Because we are using OpenBSD, we added config for it. The ip command has no=w a little different syntax in openSUSE, so we changed the USAGI config. Both changes are in attachments. I am not sure, if everything is OK, but hope, i=t helps you.-- Best Regards / Mit freundlichen Gruessen / S pozdravem,Kl$BC!(Bra Cihl$BC!(Břov$BC!(BQA Developer---------------------------------------------------------------------SUSE LINUX, s.r.o.                       e-mail: cihlarov@suse.czLihovarsk$BC!(B 1060/12                       tel: +420 284 028 958190 00 Praha 9                           fax: +420 284 028 951Czech Republic                           http://www.suse.cz---------------------------------------------------------------------
	

948_2.txt (attatchment)(tag is disabled)

	

948_3.txt (attatchment)(tag is disabled)

	

948_4.txt (attatchment)(tag is disabled)