samuel
Committed by Gerrit Code Review

[ONOS-2547] modify DefaultIpAddress in OvsdbTunnelConfig and modify

drivers.xml

Change-Id: I74e7ec27d247f892edbeabe95eb564ab7a75cee5
...@@ -42,7 +42,7 @@ import com.google.common.collect.Sets; ...@@ -42,7 +42,7 @@ import com.google.common.collect.Sets;
42 public class OvsdbTunnelConfig extends AbstractHandlerBehaviour 42 public class OvsdbTunnelConfig extends AbstractHandlerBehaviour
43 implements TunnelConfig { 43 implements TunnelConfig {
44 44
45 - private static final String DEFAULT_ADDRESS = "0:0:0:0"; 45 + private static final String DEFAULT_ADDRESS = "0.0.0.0";
46 46
47 @Override 47 @Override
48 public void createTunnel(TunnelDescription tunnel) { 48 public void createTunnel(TunnelDescription tunnel) {
......
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
26 manufacturer="Nicira, Inc\." hwVersion="Open vSwitch" swVersion="2\..*"> 26 manufacturer="Nicira, Inc\." hwVersion="Open vSwitch" swVersion="2\..*">
27 <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver" 27 <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
28 impl="org.onosproject.driver.handshaker.NiciraSwitchHandshaker"/> 28 impl="org.onosproject.driver.handshaker.NiciraSwitchHandshaker"/>
29 + <behaviour api="org.onosproject.net.behaviour.TunnelConfig"
30 + impl="org.onosproject.driver.ovsdb.OvsdbTunnelConfig"/>
31 + <behaviour api="org.onosproject.net.behaviour.BridgeConfig"
32 + impl="org.onosproject.driver.ovsdb.OvsdbBridgeConfig"/>
29 </driver> 33 </driver>
30 <driver name="ovs-corsa" extends="ovs" 34 <driver name="ovs-corsa" extends="ovs"
31 manufacturer="Corsa" hwVersion="emulation" swVersion="0.0.0"> 35 manufacturer="Corsa" hwVersion="emulation" swVersion="0.0.0">
......