Phanendra Manda
Committed by Gerrit Code Review

Variable name changed for readability

Change-Id: I9c97c987608e3b7d234a330a81decbc017f020c1
...@@ -53,9 +53,9 @@ public class ClassifierServiceImpl implements ClassifierService { ...@@ -53,9 +53,9 @@ public class ClassifierServiceImpl implements ClassifierService {
53 private final Logger log = getLogger(getClass()); 53 private final Logger log = getLogger(getClass());
54 54
55 private static final EtherType ETH_TYPE = EtherType.ARP; 55 private static final EtherType ETH_TYPE = EtherType.ARP;
56 - private static final int ARP_CLAFFIFIER_PRIORITY = 60000; 56 + private static final int ARP_CLASSIFIER_PRIORITY = 60000;
57 - private static final int L3_CLAFFIFIER_PRIORITY = 0xffff; 57 + private static final int L3_CLASSIFIER_PRIORITY = 0xffff;
58 - private static final int L2_CLAFFIFIER_PRIORITY = 50000; 58 + private static final int L2_CLASSIFIER_PRIORITY = 50000;
59 59
60 private final FlowObjectiveService flowObjectiveService; 60 private final FlowObjectiveService flowObjectiveService;
61 private final ApplicationId appId; 61 private final ApplicationId appId;
...@@ -84,7 +84,7 @@ public class ClassifierServiceImpl implements ClassifierService { ...@@ -84,7 +84,7 @@ public class ClassifierServiceImpl implements ClassifierService {
84 ForwardingObjective.Builder objective = DefaultForwardingObjective 84 ForwardingObjective.Builder objective = DefaultForwardingObjective
85 .builder().withTreatment(treatment.build()) 85 .builder().withTreatment(treatment.build())
86 .withSelector(selector).fromApp(appId).makePermanent() 86 .withSelector(selector).fromApp(appId).makePermanent()
87 - .withFlag(Flag.SPECIFIC).withPriority(L2_CLAFFIFIER_PRIORITY); 87 + .withFlag(Flag.SPECIFIC).withPriority(L2_CLASSIFIER_PRIORITY);
88 if (type.equals(Objective.Operation.ADD)) { 88 if (type.equals(Objective.Operation.ADD)) {
89 log.debug("programLocalIn-->ADD"); 89 log.debug("programLocalIn-->ADD");
90 flowObjectiveService.forward(deviceId, objective.add()); 90 flowObjectiveService.forward(deviceId, objective.add());
...@@ -114,7 +114,7 @@ public class ClassifierServiceImpl implements ClassifierService { ...@@ -114,7 +114,7 @@ public class ClassifierServiceImpl implements ClassifierService {
114 ForwardingObjective.Builder objective = DefaultForwardingObjective 114 ForwardingObjective.Builder objective = DefaultForwardingObjective
115 .builder().withTreatment(treatment).withSelector(selector) 115 .builder().withTreatment(treatment).withSelector(selector)
116 .fromApp(appId).makePermanent().withFlag(Flag.SPECIFIC) 116 .fromApp(appId).makePermanent().withFlag(Flag.SPECIFIC)
117 - .withPriority(L2_CLAFFIFIER_PRIORITY); 117 + .withPriority(L2_CLASSIFIER_PRIORITY);
118 if (type.equals(Objective.Operation.ADD)) { 118 if (type.equals(Objective.Operation.ADD)) {
119 log.debug("programTunnelIn-->ADD"); 119 log.debug("programTunnelIn-->ADD");
120 flowObjectiveService.forward(deviceId, objective.add()); 120 flowObjectiveService.forward(deviceId, objective.add());
...@@ -136,7 +136,7 @@ public class ClassifierServiceImpl implements ClassifierService { ...@@ -136,7 +136,7 @@ public class ClassifierServiceImpl implements ClassifierService {
136 ForwardingObjective.Builder objective = DefaultForwardingObjective 136 ForwardingObjective.Builder objective = DefaultForwardingObjective
137 .builder().withTreatment(treatment).withSelector(selector) 137 .builder().withTreatment(treatment).withSelector(selector)
138 .fromApp(appId).withFlag(Flag.SPECIFIC) 138 .fromApp(appId).withFlag(Flag.SPECIFIC)
139 - .withPriority(L3_CLAFFIFIER_PRIORITY); 139 + .withPriority(L3_CLASSIFIER_PRIORITY);
140 if (type.equals(Objective.Operation.ADD)) { 140 if (type.equals(Objective.Operation.ADD)) {
141 log.debug("L3ExToInClassifierRules-->ADD"); 141 log.debug("L3ExToInClassifierRules-->ADD");
142 flowObjectiveService.forward(deviceId, objective.add()); 142 flowObjectiveService.forward(deviceId, objective.add());
...@@ -159,7 +159,7 @@ public class ClassifierServiceImpl implements ClassifierService { ...@@ -159,7 +159,7 @@ public class ClassifierServiceImpl implements ClassifierService {
159 ForwardingObjective.Builder objective = DefaultForwardingObjective 159 ForwardingObjective.Builder objective = DefaultForwardingObjective
160 .builder().withTreatment(treatment).withSelector(selector) 160 .builder().withTreatment(treatment).withSelector(selector)
161 .fromApp(appId).withFlag(Flag.SPECIFIC) 161 .fromApp(appId).withFlag(Flag.SPECIFIC)
162 - .withPriority(L3_CLAFFIFIER_PRIORITY); 162 + .withPriority(L3_CLASSIFIER_PRIORITY);
163 if (type.equals(Objective.Operation.ADD)) { 163 if (type.equals(Objective.Operation.ADD)) {
164 log.debug("L3InternalClassifierRules-->ADD"); 164 log.debug("L3InternalClassifierRules-->ADD");
165 flowObjectiveService.forward(deviceId, objective.add()); 165 flowObjectiveService.forward(deviceId, objective.add());
...@@ -183,7 +183,7 @@ public class ClassifierServiceImpl implements ClassifierService { ...@@ -183,7 +183,7 @@ public class ClassifierServiceImpl implements ClassifierService {
183 ForwardingObjective.Builder objective = DefaultForwardingObjective 183 ForwardingObjective.Builder objective = DefaultForwardingObjective
184 .builder().withTreatment(treatment).withSelector(selector) 184 .builder().withTreatment(treatment).withSelector(selector)
185 .fromApp(appId).withFlag(Flag.SPECIFIC) 185 .fromApp(appId).withFlag(Flag.SPECIFIC)
186 - .withPriority(ARP_CLAFFIFIER_PRIORITY); 186 + .withPriority(ARP_CLASSIFIER_PRIORITY);
187 if (type.equals(Objective.Operation.ADD)) { 187 if (type.equals(Objective.Operation.ADD)) {
188 log.debug("ArpClassifierRules-->ADD"); 188 log.debug("ArpClassifierRules-->ADD");
189 flowObjectiveService.forward(deviceId, objective.add()); 189 flowObjectiveService.forward(deviceId, objective.add());
......