Inventory details for host getting populated incorrectly

asked 2015-04-17 01:07:54 -0700

HI, Inventory details is not pupulating correct topology, I do have linear.2 topology setup where H1 is connected with S1 and H2 is connected with S2. When I fire the url "http://localhost:8181/restconf/operational/opendaylight-inventory:nodes" It gives me two nodes for S1 and S2. In these two nodes I am getting two hosts insead of one host. Could you please tell me why inventory details giving incorrect topology. I have raised a bug also for this.

https://bugs.opendaylight.org/show_bug.cgi?id=3003

Thank You so much

edit retag flag offensive close merge delete

Comments

To help debug, can you share the mininet CLI that you used? Also, which karaf features were enabled?

jamoluhrsen ( 2015-04-17 09:46:11 -0700 )edit

Hi Jamoluhrsen, Mininet Cli wich I have used is mn --topo linear,2 --controller remote,ip=127.0.0.1,port=6633 --switch ovsk,protocols=OpenFlow13 --mac. I have enable following features:- opendaylight-user@root>feature:install odl-l2switch-all odl-openflowplugin-all odl-restconf-all . -Devesh

devverma ( 2015-04-20 02:56:57 -0700 )edit

I have dowloaded ne l2switch and install it but when I install l2switch-all it throws the error "opendaylight-user@root>feature:install odl-l2switch-all Error executing command: Could not start bundle mvn:org.opendaylight.yangtools/concepts/0.7.0-SNAPSHOT in feature(s) odl-yangtools-common-0.7.0-SNAPSHOT: The bundle "org.opendaylight.yangtools.concepts_0.7.0.SNAPSHOT [68]" could not be resolved. Reason: Missing Constraint: Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))" opendaylight-user@root> "

devverma ( 2015-04-20 03:09:05 -0700 )edit

Hi, Could you please tell me the reason , why I am getting this error:- Reason: Missing Constraint: Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))" ? -Devesh

devverma ( 2015-04-20 06:14:19 -0700 )edit

Sorry, devverma, I don't know about the "Missing Constraint" error. I wonder if you want to try your setup with Helium SR3 (http://www.opendaylight.org/software/downloads) to make sure the rest of your environment is ok. I do not expect that mininet topo to put 2 hosts on each switch like you see

jamoluhrsen ( 2015-04-20 20:52:04 -0700 )edit