- 24 Jun, 2004 2 commits
-
-
Mike Hibler authored
-
Mike Hibler authored
possible to: gmake client sudo gmake client-install on a FBSD4, FBSD5, RHL7.3, and RHL9.0 client node. There are still some dependencies that are not explicit and which would prevent a build/install from working on a "clean" OS. Two that I know of are: you must install our version of the elvin libraries and you must install boost.
-
- 11 May, 2004 1 commit
-
-
Leigh B. Stoller authored
very specific to wireless links in general, and to iwconfig on Redhat 9.0. It allows you to control the entire lan or an individual member of a wireless lan via the event system. For example to change the accesspoint of a wireless lan, you could do this: tevc -e foo/bar now lan0 modify accesspoint=00:09:5B:93:0B:A4 The agent deciphers the event arguments and calls iwconfig with the appropriate as needed. Note that there are many ways to make the lan unusable doing this, so you want to be careful. You can get the MAC addresses from the experiment info page (tbreport). New script called link_config, which might be badly named since it implies generality) to front end tevc. Operates mostly like delay_config in that it will change the physical table settings, and optionally (-m) the virtual table entries. So, link_config testbed two-wireless lan0 accesspoint=00:09:5B:93:0B:A4 You can change individual members of a lan too: link_config -s nodew1 testbed two-wireless lan0 txpower=50 Currently no web interface; too much work. I will add an xmlrpc interface though since that is easy to do.
-
- 29 Apr, 2004 1 commit
-
-
Mike Hibler authored
-
- 26 Apr, 2004 1 commit
-
-
Mike Hibler authored
1. "make clean" will just remove stuff built in the process of a regular build 2. "make distclean" will also clean out configure generated files. This is how it was always supposed to be, there was just some bitrot.
-
- 20 Apr, 2004 1 commit
-
-
Mike Hibler authored
the top level. This will build all the necessary binaries and then install them. This works on FBSD4 and RHL7.3. It still doesn't work on FBSD5 (newer compiler that no longer supports a style of use of _FUNCTION_ in the event lib) or RHL9 (event lib needs SSL lib which has a bad dependency on Kerberos). Notes: - requires that elvin libraries be installed on nodes (they are) to build event agents, requires linuxthreads be installed on FBSD (it is now) to build imagezip (which is installed, but is not strictly necessary) - installed event-agents and other binaries are stripped - added a few missing files to the source tree for bsd (healthd.conf) and linux (healthd.conf, rc.local) - the only thing that doesn't get rebuilt in /usr/local/etc/emulab is healthd, I couldn't quickly find how it gets built - uses a scaled down version of libtb with no DB functions (since mysql isn't installed on nodes). N.B. DO NOT DO A CLIENT INSTALL FROM YOUR REGULAR OBJ TREE OR ELSE YOU MAY WIND UP WITH A NEUTERED VERSION OF libtb.a! The build-as-well-as-install semantics are counter to the regular install targets, but this is what we gotta do for now. Once the TB source builds under Linux and newer BSDs, we could undo this and just require that people do a regular "make" followed by "make client-install" OTOH, there should be no reason to require installation of mysql and other server-side packages just to build clients (or make them sit through the compilation of assign), so maybe we will keep the client build special.
-
- 09 Apr, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 28 Jan, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 26 Jan, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 14 Jan, 2004 2 commits
-
-
Leigh B. Stoller authored
pain.
-
Leigh B. Stoller authored
-
- 13 Jan, 2004 1 commit
-
-
Leigh B. Stoller authored
work in the general case.
-
- 16 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
-
- 05 Nov, 2003 1 commit
-
-
Leigh B. Stoller authored
is to add HMACs to events to ensure they that events cannot be injected into an experiment by an unauthorized client. * The frontend now generates a secret key for each experiment and stores that into a file and in the DB. * Each of the event clients, as well as the event producers (scheduler, tevc) have a new -k option to specify the name of the file. Two new event library functions were added for clients to give the key: event_handle_t event_register_withkeyfile(char *name, int threaded, char *keyfile); event_handle_t event_register_withkeydata(char *name, int threaded, unsigned char *keydata, int keylen); * When the library is in possesion of a key, it will generate an HMAC and attach it to outgoing notifications. A client receiving a notification will compute an HMAC and compare it against the HMAC in the notification. If they do not compare, the notification is dropped with a warning...
-
- 10 Jun, 2003 1 commit
-
-
Leigh B. Stoller authored
-
- 06 Jan, 2003 1 commit
-
-
Leigh B. Stoller authored
on linux. Add a makefile ifdef for Linux/Freebsd that sets up the proper set of programs. Note that the new image I'm making will have the event libraries installed!
-
- 18 Dec, 2002 1 commit
-
-
Leigh B. Stoller authored
of stuff in the new image. Also added client side install targets every place I could think of.
-
- 08 Nov, 2002 2 commits
-
-
Mac Newbold authored
into nsetrafgen for a client install, not a regular install.
-
Shashi Guruprasad authored
actually build nse, "make buildnse" needs to be done. make install puts {nse,nseinput.tcl,startnse} in a hardwired path whose base is currently /usr/testbed/sup/sup/FBSD45-STD/root/ . nse is put usr/local/bin under the above. nseinput.tcl and startnse are put into etc/testbed
-
- 10 Jul, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 01 Apr, 2002 2 commits
-
-
Leigh B. Stoller authored
-
Robert Ricci authored
-
- 20 Mar, 2002 1 commit
-
-
Shashi Guruprasad authored
automatic NS-2 checkout, compilation and linking which takes about 20 mins.
-
- 18 Mar, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 11 Mar, 2002 1 commit
-
-
Mac Newbold authored
-
- 05 Mar, 2002 1 commit
-
-
Leigh B. Stoller authored
delay-agent/{callback,main}.c: Minor -Wall fixes.
-
- 27 Feb, 2002 1 commit
-
-
Mike Hibler authored
-
- 24 Feb, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 21 Feb, 2002 1 commit
-
-
Leigh B. Stoller authored
scheme that we discussed in email. Notifications and subscriptions now take an "address_tuple" argument (I know, crappy name) that is a structure that looks like this: char *site; /* Which Emulab site. God only */ char *expt; /* Project and experiment IDs */ char *group; /* User defined group of nodes */ char *host; /* A specific host */ char *objtype; /* LINK, TRAFGEN, etc ... */ char *objname; /* link0, cbr0, cbr1, etc ... */ char *eventtype; /* START, STOP, UP, DOWN, etc ... */ These can be a specific value, ADDRESSTUPLE_ANY if you are a subscriber, or ADDRESSTUPLE_ALL if you are a producer. The reason for the distinction is that you can optimize the match expression with the extra bit of information, and the above structure can make for a fairly lengthy match expression, which takes more time of course. You should use address_tuple_alloc() and address_tuple_free() rather than allocating them yourself. Note that host above is actually the ipaddr of control interface. This turns out to be more convenient since free nodes do not have virtual names. Also added a new tbgen directly. This directory includes 3 programs in the making: tbmevd: Is the Testbed Master Event Daemon, to be run on boss and will handle TBCONTROL events (reboot, reload, etc). It is just a shell of a program right now, that takes the events but does not do anything useful with them. Have not defined what the events are, and what DB state will be modified. tbmevc: Is the Testbed Master Event Client (akin to tmcc). It generates TBCONTROL events which the tbmevd will pick up and do something useful with. This program is intended to be wrapped by a perl script that will ask the tmcd for the name of the boss (running the event daemon). sample-client: This is a little client to demonstrate how to connect to the event system and use the address tuple to subscribe to events, and then how to get information out of notifications. Note that I have not created a proper build environment yet, so new programs should probably go in the event dir for now, and link using the same approach as in tbgen/GNUmakefile.in.
-
- 19 Feb, 2002 1 commit
-
-
Leigh B. Stoller authored
Also several changes for building on FreeBSD. I've left the older Makefiles in place so Ian can continue to build in his environmant (Linux?).
-