tmcd.h 1.83 KB
Newer Older
1
/*
2
 * Copyright (c) 2000-2018 University of Utah and the Flux Group.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 * 
 * {{{EMULAB-LICENSE
 * 
 * This file is part of the Emulab network testbed software.
 * 
 * This file is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or (at
 * your option) any later version.
 * 
 * This file is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public
 * License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this file.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * }}}
22 23
 */

24
#define TBSERVER_PORT		7777
25
#define TBSERVER_PORT2		14447
26 27
#define MYBUFSIZE		2048
#define BOSSNODE_FILENAME	"bossnode"
28
#define MAXTMCDPACKET		0x8000	/* Allow for big console logs */
29 30 31 32 33 34 35 36 37 38 39 40 41 42

/*
 * As the tmcd changes, incompatable changes with older version of
 * the software cause problems. Starting with version 3, the client
 * will tell tmcd what version they are. If no version is included,
 * assume its DEFAULT_VERSION.
 *
 * Be sure to update the versions as the TMCD changes. Both the
 * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to
 * install new versions of each binary when the current version
 * changes. libsetup.pm module also encodes a current version, so be
 * sure to change it there too!
 *
 * Note, this is assumed to be an integer. No need for 3.23.479 ...
43
 * NB: See ron/libsetup.pm. That is version 4! I'll merge that in. 
44 45 46
 *
 * IMPORTANT NOTE: if you change CURRENT_VERSION, you must also change
 * it in clientside/tmcc/common/libsetup.pm!
47 48
 */
#define DEFAULT_VERSION		2
49
#define CURRENT_VERSION		43