@@ -34,31 +34,25 @@ public class VmwareTrafficLabel implements TrafficLabel {
3434 VirtualSwitchType _vSwitchType = VirtualSwitchType .StandardVirtualSwitch ;
3535 String _vSwitchName = DEFAULT_VSWITCH_NAME ;
3636 String _vlanId = Vlan .UNTAGGED ;
37- // Flag to ensure traffic shaping consistency across NICs
38- boolean isTrafficShapingConsistent = false ;
3937
4038 public VmwareTrafficLabel (String networkLabel , TrafficType trafficType , VirtualSwitchType defVswitchType ) {
4139 _trafficType = trafficType ;
4240 _parseLabel (networkLabel , defVswitchType );
43- isTrafficShapingConsistent = true ; // Ensure consistency across NICs
4441 }
4542
4643 public VmwareTrafficLabel (String networkLabel , TrafficType trafficType ) {
4744 _trafficType = trafficType ;
4845 _parseLabel (networkLabel , VirtualSwitchType .StandardVirtualSwitch );
49- isTrafficShapingConsistent = true ; // Ensure consistency across NICs
5046 }
5147
5248 public VmwareTrafficLabel (TrafficType trafficType , VirtualSwitchType defVswitchType ) {
53- _trafficType = trafficType ; // Define traffic label with specific traffic type
49+ _trafficType = trafficType ;
5450 _parseLabel (null , defVswitchType );
55- isTrafficShapingConsistent = true ; // Ensure consistency across NICs
5651 }
5752
5853 public VmwareTrafficLabel (TrafficType trafficType ) {
59- _trafficType = trafficType ; // Define traffic label with specific traffic type
54+ _trafficType = trafficType ;
6055 _parseLabel (null , VirtualSwitchType .StandardVirtualSwitch );
61- isTrafficShapingConsistent = true ; // Ensure consistency across NICs
6256 }
6357
6458 public VmwareTrafficLabel () {
@@ -126,8 +120,4 @@ public void setVirtualSwitchName(String vSwitchName) {
126120 public void setVirtualSwitchType (VirtualSwitchType vSwitchType ) {
127121 _vSwitchType = vSwitchType ;
128122 }
129-
130- // Getter to ensure traffic shaping consistency across all NICs
131-
132- }
133123}
0 commit comments