]> git.entuzijast.net Git - imunes.git/log
imunes.git
16 years agoindentation fix
Josip Rodin [Sun, 13 Sep 2009 13:49:22 +0000 (15:49 +0200)]
indentation fix

16 years agomulti-exper support
Josip Rodin [Sun, 13 Sep 2009 13:29:59 +0000 (15:29 +0200)]
multi-exper support

16 years agonepotrebno
Josip Rodin [Sun, 13 Sep 2009 13:26:48 +0000 (15:26 +0200)]
nepotrebno

16 years agomultiple experiment support u bridging kodu
Josip Rodin [Sun, 13 Sep 2009 13:24:19 +0000 (15:24 +0200)]
multiple experiment support u bridging kodu

16 years agoumjesto rucnog sastavljanja ifida, koristimo ngnodemap() kojeg nam je instantiate...
Josip Rodin [Sun, 13 Sep 2009 13:23:53 +0000 (15:23 +0200)]
umjesto rucnog sastavljanja ifida, koristimo ngnodemap() kojeg nam je instantiate vec konstruirao

16 years agonode_id varijabla je stajala neiskoristena pod OpenVZ-om, pa sam je iskoristio za...
Josip Rodin [Sun, 13 Sep 2009 12:57:25 +0000 (14:57 +0200)]
node_id varijabla je stajala neiskoristena pod OpenVZ-om, pa sam je iskoristio za support za vise paralelenih eksperimenata; razni cleanupi

16 years agoenter detektiramo jednostavno prema tome trazi li se /bin/sh iz editora
Josip Rodin [Sun, 13 Sep 2009 12:44:38 +0000 (14:44 +0200)]
enter detektiramo jednostavno prema tome trazi li se /bin/sh iz editora

16 years agosmanjio kolicinu OS-specificsa
Josip Rodin [Sun, 13 Sep 2009 12:43:56 +0000 (14:43 +0200)]
smanjio kolicinu OS-specificsa

16 years agopojednostavio sad kad vise nije u common kodu, dodao komentar za vzctl enter
Josip Rodin [Sun, 13 Sep 2009 12:35:27 +0000 (14:35 +0200)]
pojednostavio sad kad vise nije u common kodu, dodao komentar za vzctl enter

16 years agoprebacio OS-specific application start funkcije u appstart.tcl
Josip Rodin [Sun, 13 Sep 2009 12:30:29 +0000 (14:30 +0200)]
prebacio OS-specific application start funkcije u appstart.tcl

16 years agojednostavni reference counting u novoj globalnoj varijabli za bridgeve i interni...
Josip Rodin [Sun, 13 Sep 2009 12:11:52 +0000 (14:11 +0200)]
jednostavni reference counting u novoj globalnoj varijabli za bridgeve i interni cleanup

16 years agoprebacio destroy akcije u l3node.destroy funkciju (na FreeBSDu je bilo u opcem cleanu...
Josip Rodin [Sun, 13 Sep 2009 11:52:20 +0000 (13:52 +0200)]
prebacio destroy akcije u l3node.destroy funkciju (na FreeBSDu je bilo u opcem cleanupu iz nepoznatog razloga)

16 years agoprepravio node_id handling tako da ga se ne konstruira non-stop nego se u deployCfg...
Josip Rodin [Sun, 13 Sep 2009 11:40:40 +0000 (13:40 +0200)]
prepravio node_id handling tako da ga se ne konstruira non-stop nego se u deployCfg odmah napravi per-node namespace i tamo ga stavi; tamo stavio i openvz node id i node dir; iskoristio nove verijable na zeljenim mjestima

16 years agoovo ne treba dirati, zasad
Josip Rodin [Sun, 13 Sep 2009 11:00:11 +0000 (13:00 +0200)]
ovo ne treba dirati, zasad

16 years agoParcijalna implementacija routera (quagga)
Kosta Pribić [Fri, 11 Sep 2009 13:11:19 +0000 (15:11 +0200)]
Parcijalna implementacija routera (quagga)

Elegantnije rijesena detekcija usera. Omogucen odabir routera u
GUI-u, modificiran exec.tcl da propisno prosljedjuje konfiguraciju
routeru.

TODO izvrsavanje konfiguracije na routeru

16 years agoImplementirana podrska za PC node.
Kosta Pribić [Thu, 10 Sep 2009 19:52:54 +0000 (21:52 +0200)]
Implementirana podrska za PC node.

16 years agoPokusaj dodavanja rj45 funkcionalnosti.
Kosta Pribić [Wed, 9 Sep 2009 21:34:12 +0000 (23:34 +0200)]
Pokusaj dodavanja rj45 funkcionalnosti.

Pokusaj dodavanja spajanja na fizički interface (rj45) tako da se napravi
L2 Bridge u koji se doda fizicko sucelje i sucelje danog VEa.
U teoriji izgleda ok, izgleda ok u "sudo brctl show" medjutim jednostavno
ne radi. Dok traje simulacija host ne moze van i DNS ne radi.

Moguce da je problem u tome sto je eth0 sucelje hosta povezano sa
VirtualBoxom kao bridged adapter.

16 years agoImplementiran hub kao L2 bridge interface. Dobro radi za hostove,
Kosta Pribić [Wed, 9 Sep 2009 20:32:08 +0000 (22:32 +0200)]
Implementiran hub kao L2 bridge interface. Dobro radi za hostove,
konceptualni problemi se jave kad treba spojiti dva huba direktno.

16 years agoimplementiran hub kao L2 bridge, za sada radi samo sa jednim linkom (portom)
Kosta Pribić [Wed, 9 Sep 2009 11:45:51 +0000 (13:45 +0200)]
implementiran hub kao L2 bridge, za sada radi samo sa jednim linkom (portom)

treba dodati detekciju da vec postoji hub kod dodavanja linka (porta)

16 years agosredjene skripte za ciscenje nakon pucanja imunes skripte, pozivati sa sudo ./cleanup
Kosta Pribić [Wed, 9 Sep 2009 10:45:44 +0000 (12:45 +0200)]
sredjene skripte za ciscenje nakon pucanja imunes skripte, pozivati sa sudo ./cleanup

16 years agoimplementirano pokretanje Wiresharka na odabranom linku (bridge-u)
Kosta Pribić [Tue, 8 Sep 2009 19:55:34 +0000 (21:55 +0200)]
implementirano pokretanje Wiresharka na odabranom linku (bridge-u)

16 years agoImplementirani linkovi u obliku L2 mostova, gašenje mostova izvedeno
Kosta Pribić [Tue, 8 Sep 2009 18:41:29 +0000 (20:41 +0200)]
Implementirani linkovi u obliku L2 mostova, gašenje mostova izvedeno
preko shell skripte

16 years agododana skripta za gasenje aktivnih VE-ova za slucaj pucanja imunesa u pola eksperimenta
Kosta Pribić [Sat, 5 Sep 2009 15:13:42 +0000 (17:13 +0200)]
dodana skripta za gasenje aktivnih VE-ova za slucaj pucanja imunesa u pola eksperimenta

16 years agopopravljen ipv6 autoconfig za eth sucelja, maknut nepotreban prazan red iz konfiguracije
Kosta Pribić [Sat, 5 Sep 2009 14:37:31 +0000 (16:37 +0200)]
popravljen ipv6 autoconfig za eth sucelja, maknut nepotreban prazan red iz konfiguracije

16 years agoprilagodjen popup meni za otvaranje terminala OpenVZ logici i
Kosta Pribić [Fri, 4 Sep 2009 22:51:33 +0000 (00:51 +0200)]
prilagodjen popup meni za otvaranje terminala OpenVZ logici i
popravljena detekcija shell-a za hostove

16 years agouljepsan debugging, dodan message box za neispravnu konfiguraciju nodeova
Kosta Pribić [Fri, 4 Sep 2009 22:05:08 +0000 (00:05 +0200)]
uljepsan debugging, dodan message box za neispravnu konfiguraciju nodeova

16 years agoMerge branch 'master' of http://git.entuzijast.net/imunes
Kosta Pribić [Fri, 4 Sep 2009 20:20:42 +0000 (22:20 +0200)]
Merge branch 'master' of http://git.entuzijast.net/imunes

16 years agoDatoteka sa testnom mreznom topologijom
Kosta Pribić [Fri, 4 Sep 2009 20:20:00 +0000 (22:20 +0200)]
Datoteka sa testnom mreznom topologijom

16 years agovratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali...
numa [Fri, 4 Sep 2009 13:17:26 +0000 (15:17 +0200)]
vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno
(cherry picked from commit 15d9560111cb52ecc8d528000e18e8a1053592bf)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agovratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali...
numa [Fri, 4 Sep 2009 13:17:14 +0000 (15:17 +0200)]
vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno
(cherry picked from commit ce355bddd327e235f171b01331728f239fd48a76)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agokoristi nove OS detected stvari za Linux support
numa [Fri, 4 Sep 2009 13:17:01 +0000 (15:17 +0200)]
koristi nove OS detected stvari za Linux support
(cherry picked from commit e26d625da140377b7822d954b27fb38104d7ecb7)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agovratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali...
numa [Fri, 4 Sep 2009 13:16:34 +0000 (15:16 +0200)]
vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno
(cherry picked from commit 4a6d11e1f0f2e92cf1ffccc94d468e49678dedc0)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agozakomentiran niz FreeBSD-specific i/ili neimplementiranih stvari; OpenVZ interface...
numa [Thu, 3 Sep 2009 13:00:30 +0000 (15:00 +0200)]
zakomentiran niz FreeBSD-specific i/ili neimplementiranih stvari; OpenVZ interface configuration; bootcfg execution prebacen u vzctl exec
(cherry picked from commit 5180da437d28079b20efb878ca04baf57a408cc2)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agododatni debugging posvuda; uhvaceno jos FreeBSD-specific nexeca; implementiran osnovn...
numa [Thu, 3 Sep 2009 11:43:38 +0000 (13:43 +0200)]
dodatni debugging posvuda; uhvaceno jos FreeBSD-specific nexeca; implementiran osnovni Linux/OpenVZ create/start i stop/destroy
(cherry picked from commit f7eeee13553959a0eb1a848b66c77a80c9a05140)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agoLinux/OpenVZ - each node is indeed running in a separate file system
numa [Thu, 3 Sep 2009 11:42:08 +0000 (13:42 +0200)]
Linux/OpenVZ - each node is indeed running in a separate file system
(cherry picked from commit a8374e81f1735b8c1363701b014afa8438509dc8)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agokomentar o OS detectionu
numa [Thu, 3 Sep 2009 11:41:07 +0000 (13:41 +0200)]
komentar o OS detectionu
(cherry picked from commit 99f53590bcbd77b168b2dde0d4ebc5bdf97075b6)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agojos debugginga i dokumentacija prvog vimage -c poziva (u deployCfg)
numa [Thu, 3 Sep 2009 10:20:10 +0000 (12:20 +0200)]
jos debugginga i dokumentacija prvog vimage -c poziva (u deployCfg)
(cherry picked from commit b7de5d9c8ef1b2044e6c7a1cb9e00443a9b3cb40)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agoprilagodili eid base OpenVZ obaveznom formatu
numa [Thu, 3 Sep 2009 10:19:33 +0000 (12:19 +0200)]
prilagodili eid base OpenVZ obaveznom formatu
(cherry picked from commit 5a44761530ade159080ac5ea2ae111398e92c2f1)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agou ovom stanju exec funkcije ispisuju sve korake prilikom jednog pokretanja jednostavn...
numa [Mon, 31 Aug 2009 12:14:30 +0000 (14:14 +0200)]
u ovom stanju exec funkcije ispisuju sve korake prilikom jednog pokretanja jednostavnog eksperimenta
(cherry picked from commit 21dc367e2f539bc8bbb811bfb50784962c1523e1)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agorevert nexec echo, useless
numa [Mon, 31 Aug 2009 11:34:14 +0000 (13:34 +0200)]
revert nexec echo, useless
(cherry picked from commit fc37ca60eaeab62fb7080ec6256cddd14c42a2fe)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agozbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart
numa [Mon, 31 Aug 2009 11:31:31 +0000 (13:31 +0200)]
zbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart
(cherry picked from commit 7a31fd761f4d382e68be839a68ec3cfab376542d)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agoprvi hack setOperMode i createIfc da se uopce dobije trivijalni instantiation na...
numa [Fri, 28 Aug 2009 12:10:34 +0000 (14:10 +0200)]
prvi hack setOperMode i createIfc da se uopce dobije trivijalni instantiation na Linuxu; masovna zamjena exec vimage s exec echo vimage da se izbjegnu greske
(cherry picked from commit bccabeea50f4f00473605d6e1aa69f6451690875)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agomalo objasnjenje string range <string> 0 0
numa [Fri, 28 Aug 2009 12:08:41 +0000 (14:08 +0200)]
malo objasnjenje string range <string> 0 0
(cherry picked from commit 01e20630943f90142ceeea3676709e7834b84161)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agoifconfig -l ekvivalent na Linuxu
numa [Fri, 28 Aug 2009 12:08:06 +0000 (14:08 +0200)]
ifconfig -l ekvivalent na Linuxu
(cherry picked from commit 3a1df2a03903c6dab7bdeed815bc2fc0f3c9ac07)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
16 years agoRevert "Revert "vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije... first_stint
numa [Fri, 4 Sep 2009 13:51:03 +0000 (15:51 +0200)]
Revert "Revert "vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno""

This reverts commit eba4cd9fa4c4a05bc251f2dc2bbb40393eac7600.

16 years agoRevert "vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux...
numa [Fri, 4 Sep 2009 13:50:22 +0000 (15:50 +0200)]
Revert "vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno"

This reverts commit 15d9560111cb52ecc8d528000e18e8a1053592bf.

16 years agovratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali...
numa [Fri, 4 Sep 2009 13:17:26 +0000 (15:17 +0200)]
vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno

16 years agovratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali...
numa [Fri, 4 Sep 2009 13:17:14 +0000 (15:17 +0200)]
vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno

16 years agokoristi nove OS detected stvari za Linux support
numa [Fri, 4 Sep 2009 13:17:01 +0000 (15:17 +0200)]
koristi nove OS detected stvari za Linux support

16 years agovratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali...
numa [Fri, 4 Sep 2009 13:16:34 +0000 (15:16 +0200)]
vratili original FreeBSD host.tcl i exec.tcl, a dodali Linux verzije u linux/; dodali OS detection i pomaknuli platform detection iznad source'inga tako da to ide kondicionalno

16 years agozakomentiran niz FreeBSD-specific i/ili neimplementiranih stvari; OpenVZ interface...
numa [Thu, 3 Sep 2009 13:00:30 +0000 (15:00 +0200)]
zakomentiran niz FreeBSD-specific i/ili neimplementiranih stvari; OpenVZ interface configuration; bootcfg execution prebacen u vzctl exec

16 years agododatni debugging posvuda; uhvaceno jos FreeBSD-specific nexeca; implementiran osnovn...
numa [Thu, 3 Sep 2009 11:43:38 +0000 (13:43 +0200)]
dodatni debugging posvuda; uhvaceno jos FreeBSD-specific nexeca; implementiran osnovni Linux/OpenVZ create/start i stop/destroy

16 years agoLinux/OpenVZ - each node is indeed running in a separate file system
numa [Thu, 3 Sep 2009 11:42:08 +0000 (13:42 +0200)]
Linux/OpenVZ - each node is indeed running in a separate file system

16 years agokomentar o OS detectionu
numa [Thu, 3 Sep 2009 11:41:07 +0000 (13:41 +0200)]
komentar o OS detectionu

16 years agojos debugginga i dokumentacija prvog vimage -c poziva (u deployCfg)
numa [Thu, 3 Sep 2009 10:20:10 +0000 (12:20 +0200)]
jos debugginga i dokumentacija prvog vimage -c poziva (u deployCfg)

16 years agoprilagodili eid base OpenVZ obaveznom formatu
numa [Thu, 3 Sep 2009 10:19:33 +0000 (12:19 +0200)]
prilagodili eid base OpenVZ obaveznom formatu

16 years agou ovom stanju exec funkcije ispisuju sve korake prilikom jednog pokretanja jednostavn...
numa [Mon, 31 Aug 2009 12:14:30 +0000 (14:14 +0200)]
u ovom stanju exec funkcije ispisuju sve korake prilikom jednog pokretanja jednostavnog eksperimenta

16 years agorevert nexec echo, useless
numa [Mon, 31 Aug 2009 11:34:14 +0000 (13:34 +0200)]
revert nexec echo, useless

16 years agozbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart
numa [Mon, 31 Aug 2009 11:31:31 +0000 (13:31 +0200)]
zbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart

16 years agoprvi hack setOperMode i createIfc da se uopce dobije trivijalni instantiation na...
numa [Fri, 28 Aug 2009 12:10:34 +0000 (14:10 +0200)]
prvi hack setOperMode i createIfc da se uopce dobije trivijalni instantiation na Linuxu; masovna zamjena exec vimage s exec echo vimage da se izbjegnu greske

16 years agomalo objasnjenje string range <string> 0 0
numa [Fri, 28 Aug 2009 12:08:41 +0000 (14:08 +0200)]
malo objasnjenje string range <string> 0 0

16 years agoifconfig -l ekvivalent na Linuxu
numa [Fri, 28 Aug 2009 12:08:06 +0000 (14:08 +0200)]
ifconfig -l ekvivalent na Linuxu

16 years agodone
numa [Thu, 27 Aug 2009 10:04:39 +0000 (12:04 +0200)]
done

16 years agotest
numa [Thu, 27 Aug 2009 10:01:46 +0000 (12:01 +0200)]
test

16 years agoAttempt at unbreaking ng_bridge and ng_hub node naming, in face of origin
marko [Tue, 17 Mar 2009 14:35:19 +0000 (14:35 +0000)]
Attempt at unbreaking ng_bridge and ng_hub node naming, in face of
recent hashization (reads: randomization) of ngctl list output.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoDo not return from proc evsched before another evsched run has been
marko [Wed, 29 Oct 2008 12:31:41 +0000 (12:31 +0000)]
Do not return from proc evsched before another evsched run has been
scheduled (using after 1000 evsched).

Bug found by: Mirta Medanic <mirta.medanic at fer.hr>
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years ago- Removed annoying bug: "Error: can't read "": no such variable".
miljenko [Tue, 28 Oct 2008 12:30:18 +0000 (12:30 +0000)]
- Removed annoying bug: "Error: can't read "": no such variable".
  (On GUI startup "Select tool" is not selected. If you try to select
  something using left mouse button an error is displayed.)

- Use default font for all menu fields.
  (Removed "-font arial" from "Static routes" field)

- Mode for "host" is always "static" (not quagga or xorp)
  (If all nodes are selected for "Routing protocol defaults" than
  only nodes of type "router" should be efected by the change.)

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoBug found by:
miljenko [Mon, 27 Oct 2008 13:09:30 +0000 (13:09 +0000)]
Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoWhen event scheduler is running elapsed time is shown on bottom label
miljenko [Mon, 27 Oct 2008 12:55:24 +0000 (12:55 +0000)]
When event scheduler is running elapsed time is shown on bottom label

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoIMUNES version is now extracted from the CVS info in *.tcl files.
miljenko [Mon, 27 Oct 2008 12:46:28 +0000 (12:46 +0000)]
IMUNES version is now extracted from the CVS info in *.tcl files.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoUnbreak node name assignment on node creation - a bug which was
marko [Thu, 23 Oct 2008 14:46:42 +0000 (14:46 +0000)]
Unbreak node name assignment on node creation - a bug which was
introduced by the (hasty) last commit.

Bug found by: Mirta Medanic
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoSimplify mechanisms for router config generation introduced in
marko [Thu, 23 Oct 2008 14:19:14 +0000 (14:19 +0000)]
Simplify mechanisms for router config generation introduced in
last commit; fix the syntax for quagga ospf2 / ospf3 configuration;
and inject route redistribution statements to / from rip / ospf and
ripng / ospf3.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoAdd GUI support for selecting routing protocols in use on virtual
marko [Thu, 23 Oct 2008 12:04:20 +0000 (12:04 +0000)]
Add GUI support for selecting routing protocols in use on virtual
routers.  The GUI now provides menus for enabling / disabling RIPv2,
RIPng, OSPFv2 and OSPFv3, as well as mechanisms for automatic
generation of appropriate quagga / xorp config files.  Routing
protocols can only be enabled or disabled on per-router basis, i.e.
no finer-grain control over individual routing protocol parameters
or options is provided.  If required, users can extend the
machine-generated quagga or xorp config file skeletons using the
"Custom config" menu option.

By default, all new quagga or xorp router instances will have both
RIPv2 and RIPng enabled, just as it was before this change.  The
defaults can be changed in menu Tools -> Routing protocol defaults,
which will be applied both to all selected routers (if any) at the
time of change, as well as to all the subsequentially created ones.

Thanks Ana!!!

Bug found by:
Submitted by: Ana Mijocevic <ana.mijocevic at fer.hr>
Reviewed by:
Approved by:
Obtained from:

17 years agoDo not special-case parsing of constant values in event scheduler.
marko [Wed, 24 Sep 2008 13:02:54 +0000 (13:02 +0000)]
Do not special-case parsing of constant values in event scheduler.
Instead, constants are now specified as a "const" function with a
single argument, in addition to already existing "rand", "ramp" and
"square" functions.

Bug found by:
Submitted by: Mirta Medanic <mirta.medanic@fer.hr>
Reviewed by:
Approved by:
Obtained from:

17 years agoIf environment variable IMUNES_EVENTLOG is set, log all changes
marko [Thu, 17 Jul 2008 13:09:01 +0000 (13:09 +0000)]
If environment variable IMUNES_EVENTLOG is set, log all changes
trigerred by the internal event scheduler to the file specified in
$IMUNES_EVENTLOG.  The log format is as follows:

timestamp link_id node0_id:ifname node1_id:ifname \
    delay BER duplicate bandwidth

Example:

1216299873 l1 n1:eth1 n2:eth0 95041 0 0 248000
1216299875 l1 n1:eth1 n2:eth0 200000 0 0 248000

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoAdd square function generator. The generator alternates output between
marko [Tue, 24 Jun 2008 06:44:48 +0000 (06:44 +0000)]
Add square function generator.  The generator alternates output between
two predefined values each N seconds.  Example:

    events {
        40 duplicate square 0 10 20
    }

alternates output between 0 and 10 each 20 secons, starting at 40-th
second of the experiment execution.

General note: none of the event scheduling mechanisms can be controlled
via the GUI, but only through manual editing of the config file.

Another change while here: do not invoke execSetLinkParams() on events
which are changing only link annotations (width, color).

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoAdvance event scheduler and time only in exec mode, and actually apply
marko [Tue, 24 Jun 2008 05:03:38 +0000 (05:03 +0000)]
Advance event scheduler and time only in exec mode, and actually apply
the changes to ng_pipe nodes in addition to updating the GUI view.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoAdd a ramp function generator in event scheduler.
marko [Mon, 23 Jun 2008 19:46:24 +0000 (19:46 +0000)]
Add a ramp function generator in event scheduler.

So far, it is possible to schedule changes to link parameters
(bandwidth, delay, BER, duplicate) and attributes (width, color) to
constant values or periodic functions (rand or ramp).

Example:

link l1 {
    nodes {n1 n2}
    bandwidth 256000
    events {
        1 width ramp 5 2 1
        3 color rand 0 16777216 1
        5 bandwidth rand 128000 256000 2
        30 width 3
        35 color red
    }
}

At t = 1s after the experiment is started, the width attribute of link l1
will be set to 5, and will increase by 2 each second, until t = 30s when
it will be set to constant value of 3.

At t = 3s the color attribute of link l1 will randomly change each second,
until t = 35s when the color will be set to "red".

Ar t = 5s bandwidth will begin to take random values between 128000 and
256000 each 2 seconds, and this process will continue for the entire
duration of the experiment.

All changes trigged by the event scheduled will be visible in the GUI.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoUnbreak the scheduler, so that periodic events can be rescheduled even
marko [Mon, 23 Jun 2008 17:02:52 +0000 (17:02 +0000)]
Unbreak the scheduler, so that periodic events can be rescheduled even
in absence of another event for the same target scheduled in the future.

Allow for link width to be modulated from the event scheduler, and
convert integer values to appropriate format for specifying 24-bit
color, so that colors can be specified both as plain integers as well
as using standard Tk color naming conventions.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoRemoved an obsolete comment.
marko [Sun, 22 Jun 2008 23:32:17 +0000 (23:32 +0000)]
Removed an obsolete comment.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoImplement a simple discrete event scheduler to be used for node and
marko [Sun, 22 Jun 2008 23:29:45 +0000 (23:29 +0000)]
Implement a simple discrete event scheduler to be used for node and
link reconfiguration at predefined points in time.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoIntroduce support for automated IPv4 address renumbering, and
marko [Sat, 17 May 2008 01:57:02 +0000 (01:57 +0000)]
Introduce support for automated IPv4 address renumbering, and
replace ad-hoc hardcoded 10.0.0.0/8 address pool with user
selectable variable-mask IPv4 address pool.

Bug found by:
Submitted by: Sanja Marjanovic <Sanja.Marjanovic at fer.hr>
Reviewed by:
Approved by:
Obtained from:

17 years agoBug found by:
miljenko [Wed, 14 May 2008 13:58:18 +0000 (13:58 +0000)]
Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoSimple shell script to cleanup all vimages (hierarchical vimages are not supported)
miljenko [Wed, 14 May 2008 13:53:23 +0000 (13:53 +0000)]
Simple shell script to cleanup all vimages (hierarchical vimages are not supported)

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoBug found by:
miljenko [Wed, 14 May 2008 13:51:08 +0000 (13:51 +0000)]
Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoVersion (imunes -v) changed
miljenko [Mon, 28 Apr 2008 11:42:50 +0000 (11:42 +0000)]
Version (imunes -v) changed

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoTo enable X applications running on virtual nodes we create
miljenko [Mon, 28 Apr 2008 11:32:34 +0000 (11:32 +0000)]
To enable X applications running on virtual nodes we create
a pair of virtual ethernet interfaces (with shell script
startopera), one in "default" and the other in virtual node.

If the experiment is terminated while TCP socket (in any virtual node)
is in state TIME_WAIT a system will hang and then reboot.
To prevent virtual node destruction from rebooting the system
a loop checking TIME_WAIT state in all virtual nodes is added
as temporary fix.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoUnbreak fetching local IP addresses via netstat for addresses wih ASCII
marko [Fri, 8 Feb 2008 13:59:46 +0000 (13:59 +0000)]
Unbreak fetching local IP addresses via netstat for addresses wih ASCII
representation with 13 bytes.  Previously 123.123.123.123 would be
truncated to 123.123.123.12

17 years agoRedirect standard and diagnostic output of per-node startup scripts
marko [Thu, 31 Jan 2008 10:56:56 +0000 (10:56 +0000)]
Redirect standard and diagnostic output of per-node startup scripts
into out.log files located in experiment/node specific runtime
directories in /tmp.

Suggested by: Atanu Ghosh (some 2, 3 or more years ago)

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoUnbreak instatiation of physical interface (aka RJ-45) nodes.
marko [Mon, 28 Jan 2008 19:03:34 +0000 (19:03 +0000)]
Unbreak instatiation of physical interface (aka RJ-45) nodes.

The problem was an artifact of introduction of per-experiment top level
vimage containers, so now we need to assign physical interfaces to top
level vimages first, before attempting to connect them via netgraph to
other nodes in a virtual topology.

Bug found by: Florian PONROY <at> fr.thalesgroup.com
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoInitial implementation of a checkbutton menu to choose among currently
marko [Tue, 8 Jan 2008 14:21:00 +0000 (14:21 +0000)]
Initial implementation of a checkbutton menu to choose among currently
open projects.  Selecting a desired project at the bottom of the File
menu switches to that particular project.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoIntroduce a global variable cfg_list which holds all cfg ids (not eids)
marko [Tue, 8 Jan 2008 12:35:30 +0000 (12:35 +0000)]
Introduce a global variable cfg_list which holds all cfg ids (not eids)
for currently open projects.

Move previously global variable currentFile to per-cfg namespaces, given
that each project should typically correspond to a different file.

Rename proc newFile to newProc, and slightly reorganize it so that
newProc does all necessary steps for setting up a project environment
inside the GUI.

Introduce proc setWmTitle which should be used exclusively for updating
window title.

Deprecate procs fileOpenStartup and fileNewDialogBox.

It is no longer necessary to set up the default config namespace in
imunes.tcl and initgui.tcl, given that proc loadCfg and proc newFile
now initialize all the necessary state.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoAdjust node and nodelabel position to fit into the target canvas
marko [Mon, 7 Jan 2008 11:50:04 +0000 (11:50 +0000)]
Adjust node and nodelabel position to fit into the target canvas
when pasting objects which were originally positioned outside the
bounds of the target canvas, i.e. when copying from a bigger to a
smaller canvas.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoUnbreak canvas switching.
marko [Mon, 7 Jan 2008 10:53:15 +0000 (10:53 +0000)]
Unbreak canvas switching.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoMove a few more global variables to per-cfg namespaces:
marko [Sat, 5 Jan 2008 18:06:25 +0000 (18:06 +0000)]
Move a few more global variables to per-cfg namespaces:

curcanvas
zoom
undolevel
redolevel
undolog
oper_mode
eid
ngnodemap

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoInitial implementation of an editing clipboard: introduce
marko [Thu, 3 Jan 2008 13:47:54 +0000 (13:47 +0000)]
Initial implementation of an editing clipboard: introduce
cut, copy and paste functions, and hook them up to the common
keyboard shortcuts CTRL+X, CTRL+C and CTRL+V.

So far the new functions operate only on proper nodes and links,
but not on annotations.

The clipboard is stored in ::cf::clipboard namespace, which must
never be used for any other purpose.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoFirst in a series of commits aimed at (ab)using TCL namespaces for
marko [Wed, 2 Jan 2008 12:08:46 +0000 (12:08 +0000)]
First in a series of commits aimed at (ab)using TCL namespaces for
removing configuration and per-object (node, link, canvas, annotation)
variables from the global namespace.  Once completed, this storage
reorganization should allow us to manage multiple independent IMUNES
configs in parallel and simplify implementation of cut/copy/paste
functionality in the GUI.

This change introduces a new top-level namespace ::cf, which holds
all configuration instances in subordinated namespaces.  So far only
::cf::cfg0 is used.

The new global variable "curconf" selects the working configuration
instance.  Inside most procedures, access to previously global
variables is replaced by variable aliasing to the appropriate
::cf namespace.  The change typically looks like this:

-    global $target
+    upvar 0 ::cf::[set ::curcfg]::$target $target

So far only storage for objects visible in a canvas has beend pushed out
of the global namespace.  Deciding on how to deal with the various GUI
options (option show) needs more thought.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoRemove another unneeded "global" statement inside a proc.
marko [Tue, 1 Jan 2008 20:56:25 +0000 (20:56 +0000)]
Remove another unneeded "global" statement inside a proc.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoRemove unneeded global variable mapping in a procedure.
marko [Tue, 1 Jan 2008 20:53:31 +0000 (20:53 +0000)]
Remove unneeded global variable mapping in a procedure.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

17 years agoHappy new year - hope it won't be as cosmetic and useless as this
marko [Tue, 1 Jan 2008 18:22:59 +0000 (18:22 +0000)]
Happy new year - hope it won't be as cosmetic and useless as this
commit:

Replace the 4-clause BSD copyright notice with a simplified 2-clause one
obtained from FreeBSD.  Hereby we lift the following two restrictions:

-# 3. All advertising materials mentioning features or use of this software
-#    must display the following acknowledgement:
-# This product includes software developed by the University of Zagreb,
-# Croatia and its contributors.
-# 4. Neither the name of the University nor the names of its contributors
-#    may be used to endorse or promote products derived from this software
-#    without specific prior written permission.

Include all the years from when a file originally appeared until including
2008. in copyright notices.

Drop the "all rights reserved" statement from copyright notices, given
that this is implied automatically by contemproary interpretations of US
copyright law.

Our MZT / MZOS funding only covered years 2004. and 2005., so drop the
notice crediting MZT / MZOS from files / code created from scratch in
2006. and afterwards.

Move the RCS ID line after the copyright notice.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from: