7 public class PCMMGlobalConfig {
9 public static int Debug = 0;
10 public static int LogLevel = 0;
11 public static int DefaultBestEffortTrafficRate = 2500000;
12 // Service Flow Attributes Defaults
13 public static int DefaultBestEffortClassPriority = 69;
14 public static int DefaultUnsolicatedGrantSize = 1000;
15 public static int DefaultUnsolicatedGrantsPerInterval = 3;
16 public static int DefaultUnsolicatedGrantInterval = 8000;
17 // Gate Specification Defaults
18 public static int DSCPToSMark = 0;
19 public static int Priority = 0;
20 public static int PreEmption = 0;
21 public static int GateFlags = 0;
22 public static int GateTOSField = 0;
23 public static int GateTOSMask = 0;
24 public static int GateClass = 0;
25 // Authorization life timer
26 public static short GateT1 = 200;
27 // Authorization renew timer
28 public static short GateT2 = 300;
29 // Reservation life timer
30 public static short GateT3 = 0;
31 // Reservation renew timer
32 public static short GateT4 = 0;
34 // XXX - A new home for some of these @ org.pcmm.gates.impl.BestEffortService
35 public static int UGSTransmissionPolicy = 0x037F;
36 public static int BETransmissionPolicy = 0x0;
37 public static int BETrafficPriority = 0x0;
38 public static byte EClassifierPriority = 0x45;
40 // Temporary Configure Items For Demo or Lacking Design
41 public static int DefaultLowBestEffortTrafficRate = 500000;
42 public static int DefaultVideoSourcePort = 8081;
43 public static int DefaultAlternateSourcePort = 1369;
44 // public static String DefaultCMTS = "127.0.0.1"
47 public static String DefaultCMTS = "10.32.4.3";
48 public static String SubscriberID = "10.32.104.2";
49 public static String dstIP = "10.32.4.208";
50 public static String srcIP = "10.32.154.2";
53 /* LAB Bench Layout */
56 public static String DefaultCMTS = "10.200.90.3";
57 public static String SubscriberID = "10.50.201.51";
58 public static String dstIP = "10.200.90.10";
59 public static String srcIP = "10.50.201.51";
62 public static String DefaultCMTS = "10.32.4.3";
63 public static String SubscriberID = "10.32.104.2";
64 public static String srcIP = "10.32.154.2";
68 public static String DefaultCMTS = "10.32.15.3";
69 public static String SubscriberID = "10.32.115.143";
70 public static String dstIP = "10.32.0.234";
71 public static String srcIP = "10.32.215.111";
73 public static String DefaultCMTS = "10.32.15.3";
74 public static String SubscriberID = "10.32.115.143";
75 public static String dstIP = "10.32.0.234";
76 public static String srcIP = "10.32.215.111";
79 public static String DefautRadius = "192.168.50.2";
80 public static short srcPort = 8081;
81 public static short dstPort = 0;
82 public static int GateID1 = 0;
83 public static int GateID2 = 0;
84 public static void setGateID1(int n) {
87 public static int getGateID1() {
90 public static void setGateID2(int n) {
93 public static int getGateID2() {
100 * // if(Constants.DEBUG.isEnabled()) { } public enum Constants { DEBUG(true),
103 * private boolean enabled;
105 * private Constants(boolean enabled) { this.enabled = enabled; }
107 * public boolean isEnabled() { return enabled; } }