Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
6386
Description
I followed following steps to initialize l2switch module with reactive mode (i.e., making proactive mode false) with help of an external xml file as specified in blueprint doc at - https://wiki.opendaylight.org/view/Using_Blueprint#Using_the_Datastore
1. checkout l2switch origin/stable/boron branch and build project
2. cd l2switch/distribution/karaf/target/assembly/etc
3. mkdir -p opendaylight/datastore/initial/config/
4. gedit arp-handler-config_arp-handler-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
odl:use-default-for-reference-types="true">
<odl:clustered-app-config id="arpHandlerConfig"
binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.packet.arp.handler.config.rev140528.ArpHandlerConfig">
<odl:default-config><![CDATA[
<my-config xmlns="urn:opendaylight:packet:arp:handler:config">
<is-proactive-flood-mode>false</is-proactive-flood-mode>
</my-config>
]]></odl:default-config>
</odl:clustered-app-config>
<bean id="arpHandlerProvider"
class="org.opendaylight.l2switch.arphandler.core.ArpHandlerProvider"
init-method="init" destroy-method="close">
<argument ref="arpHandlerConfig" />
</bean>
</blueprint>
5. save file
6. start controller - distribution/karaf/target/assembly/bin/karaf debug
7. karaf log shows following read / parse error - http://pastebin.com/VAwnFaxq
Full karaf log - http://pastebin.com/aYR0jsTg
8. I see the there are no flows installed on switches which implies reactive mode should be applied, but the error says otherwise (parsing the external xml file fails.)