mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-20 20:02:17 +02:00
Fixed get index of ovsdb device ID
Change-Id: I4416718b7f9549cfa2635cb2b52174bf6318bf45
This commit is contained in:
parent
9f4c9718b4
commit
dbab8de617
@ -131,7 +131,7 @@ public class OvsdbBridgeConfig extends AbstractHandlerBehaviour
|
|||||||
if (splits == null || splits.length < 1) {
|
if (splits == null || splits.length < 1) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
IpAddress ipAddress = IpAddress.valueOf(splits[0]);
|
IpAddress ipAddress = IpAddress.valueOf(splits[1]);
|
||||||
return new OvsdbNodeId(ipAddress, 0);
|
return new OvsdbNodeId(ipAddress, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ public class OvsdbTunnelConfig extends AbstractHandlerBehaviour
|
|||||||
if (splits == null || splits.length < 1) {
|
if (splits == null || splits.length < 1) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
IpAddress ipAddress = IpAddress.valueOf(splits[0]);
|
IpAddress ipAddress = IpAddress.valueOf(splits[1]);
|
||||||
return new OvsdbNodeId(ipAddress, 0);
|
return new OvsdbNodeId(ipAddress, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user