Sync: md-sal augmentation re-model with broker. Traffic profile: Best Effort hooked up.
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / PCMMGlobalConfig.java
1 /**
2  @header@
3  */
4
5 package org.pcmm;
6
7 public class PCMMGlobalConfig {
8     // System
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;
33
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;
39
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"
45
46 /*  Demo Kit Layout
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";
51 */
52
53 /*  LAB Bench Layout */
54 /*  Sunnyvale Lab
55 */
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";
60
61  /*  Demo Kit Layout
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";
65  */
66  
67 /*  LAB Bench Layout 
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";
72
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";
77 */
78
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) {
85         GateID1 = n;
86     }
87     public static int getGateID1() {
88         return GateID1;
89     }
90     public static void setGateID2(int n) {
91         GateID2 = n;
92     }
93     public static int getGateID2() {
94         return GateID2;
95     }
96 }
97
98 /*
99  *
100  * // if(Constants.DEBUG.isEnabled()) { } public enum Constants { DEBUG(true),
101  * PRINT_VARS(false);
102  *
103  * private boolean enabled;
104  *
105  * private Constants(boolean enabled) { this.enabled = enabled; }
106  *
107  * public boolean isEnabled() { return enabled; } }
108  */