Multiple entries with same key.
Same default entry Disable in band was getting added twice.
Removed from elanbridgemanger.
Signed-off-by: Nishchya Gupta <nishchyag@altencalsoftlabs.com>
Change-Id: I0d140bbb83b4ba28ded0ec3ca58bab4ad5795c7c
.setBridgeOtherConfigValue(mac).build());
}
}
-
- if (otherConfigs.stream().noneMatch(otherConfig ->
+ //ovsdb always adds disableInBand=true, so no need to add this default value here.
+ /*if (otherConfigs.stream().noneMatch(otherConfig ->
otherConfig.getBridgeOtherConfigKey().equals(OTHER_CONFIG_DISABLE_IN_BAND))) {
otherConfigs.add(new BridgeOtherConfigsBuilder()
.setBridgeOtherConfigKey(OTHER_CONFIG_DISABLE_IN_BAND)
.setBridgeOtherConfigValue("true").build());
- }
+ }*/
return otherConfigs;
}