The remote BC group for ELAN of type flat/VLAN contains buckets to
access tunnel EP but not for the provider port
Change-Id: I2d6861e86a9362b0f9ebd82f886eb05db3738da3
Signed-off-by: Olga Schukin <olga.schukin@hpe.com>
private DpnInterfaces getDpnInterfaces(ElanDpnInterfacesList elanDpns, BigInteger dpnId) {
if (elanDpns != null) {
for (DpnInterfaces dpnInterface : elanDpns.getDpnInterfaces()) {
- if (dpnInterface.getDpId() == dpnId) {
+ if (dpnInterface.getDpId().equals(dpnId)) {
return dpnInterface;
}
}