-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.java
More file actions
32 lines (25 loc) · 1.12 KB
/
Constants.java
File metadata and controls
32 lines (25 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package common;
public class Constants
{
//Stastics
public final static double HIGH_CPU = .75;
public final static double IDEAL_CPU = .5;
public final static double LOW_CPU = .25;
//VM constraints
public final static int MIN_VMS = 1;
public final static int MAX_VMS = 1 << 1;
//COS options
public final static int COS_PORT = 9999;
//Node Options
public final static int NODE_PORT = 9998;
public final static String PATH_TO_VM_IMAGE = "/etc/xen/cos/jcos01.cfg";
//VM options
public final static int VM_LOOK_BACK = 8;
public final static String SALSA_JAR = "/home/user/salsa/salsa0.7.2.jar";
public final static String IOS_JAR = "/home/user/ios/ios0.4.jar";
public final static String CLASS_PATH = SALSA_JAR + ":" + IOS_JAR;
public final static String LAUNCH_IOSTHEATER = "java -Dnetif=eth0 -cp " + CLASS_PATH + " src.IOSTheater > ios_log.txt";
public final static String CONNECT_THEATERS = "java -Dnetif=eth0 -cp " + CLASS_PATH + " src.testing.reachability.Full theaters.txt > connect_log.txt";
public final static boolean DEBUG = true;
private Constants(){}
}