commit | dbab8de6175716b64a01eb38fde2a7a96fa7dfcd | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Wed Oct 28 16:45:04 2015 -0700 |
committer | Ray Milkey <ray@onlab.us> | Thu Oct 29 00:09:45 2015 +0000 |
tree | 661c7d9a8f33517a7d31b46e3e987efd117ad5ad | |
parent | 9f4c9718b4b0483198088167a130797d100c5b5f [diff] |
Fixed get index of ovsdb device ID Change-Id: I4416718b7f9549cfa2635cb2b52174bf6318bf45
diff --git a/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbBridgeConfig.java b/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbBridgeConfig.java index 1fdec74..77b4829 100644 --- a/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbBridgeConfig.java +++ b/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbBridgeConfig.java
@@ -131,7 +131,7 @@ if (splits == null || splits.length < 1) { return null; } - IpAddress ipAddress = IpAddress.valueOf(splits[0]); + IpAddress ipAddress = IpAddress.valueOf(splits[1]); return new OvsdbNodeId(ipAddress, 0); }
diff --git a/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbTunnelConfig.java b/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbTunnelConfig.java index 6c0f111..a32553a 100644 --- a/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbTunnelConfig.java +++ b/drivers/src/main/java/org/onosproject/driver/ovsdb/OvsdbTunnelConfig.java
@@ -129,7 +129,7 @@ if (splits == null || splits.length < 1) { return null; } - IpAddress ipAddress = IpAddress.valueOf(splits[0]); + IpAddress ipAddress = IpAddress.valueOf(splits[1]); return new OvsdbNodeId(ipAddress, 0); }