# Revision history [back]

Hello kartik330,

1)How to check/confirm whether the mininet is connected to ODL?

2)If it is connected,how to see/list the hosts/devices from ODL-terminal(Not using Browser URL)

execute the following command from the karaf console.

opendaylight-user@root>shell:exec curl -u admin:admin 'http://localhost:8181/restconf/operational/network-topology:network-topology'

you will get the following output: {"network-topology":{"topology":[{"topology-id":"flow:1","node":[{"node-id":"openflow:99724883652167","termination-point":[{"tp-id":"openflow:99724883652167:LOCAL","opendaylight-topology-inventory:inventory-node-connector-ref":"/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:99724883652167']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:99724883652167:LOCAL']"}],"opendaylight-topology-inventory:inventory-node-ref":"/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:99724883652167']"}]}]}}

As per my knowledge, there is not command available to see the connected device/host from the karaf console.

Please let me know for any further help.

Hello kartik330,

1)How to check/confirm whether the mininet is connected to ODL?

2)If it is connected,how to see/list the hosts/devices from ODL-terminal(Not using Browser URL)

execute the following command from the karaf console.

opendaylight-user@root>shell:exec curl -u admin:admin 'http://localhost:8181/restconf/operational/network-topology:network-topology'

you will get the following output: {"network-topology":{"topology":[{"topology-id":"flow:1","node":[{"node-id":"openflow:99724883652167","termination-point":[{"tp-id":"openflow:99724883652167:LOCAL","opendaylight-topology-inventory:inventory-node-connector-ref":"/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:99724883652167']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:99724883652167:LOCAL']"}],"opendaylight-topology-inventory:inventory-node-ref":"/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:99724883652167']"}]}]}}

As per my knowledge, there is not no command available to see the connected device/host from the karaf console.

Please let me know for any further help.