Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2155
Description
wget --user=admin --password=admin http://opendaylightof13:8181/restconf/operational//opendaylight-inventory:nodes
#...
wget --user=admin --password=admin http://opendaylightof13:8181/restconf/operational//opendaylight-inventory:nodes?depth\=0
#...
wget --user=admin --password=admin http://opendaylightof13:8181/restconf/operational//opendaylight-inventory:nodes?depth\=1
#...
wget --user=admin --password=admin http://opendaylightof13:8181/restconf/operational//opendaylight-inventory:nodes?depth\=2
#...
wget --user=admin --password=admin http://opendaylightof13:8181/restconf/operational//opendaylight-inventory:nodes?depth\=3
#...
ls -la
... 538732 Oct 7 11:26 opendaylight-inventory:nodes
... 538728 Oct 7 11:26 opendaylight-inventory:nodes?depth=0
... 538762 Oct 7 11:27 opendaylight-inventory:nodes?depth=1
... 538762 Oct 7 11:28 opendaylight-inventory:nodes?depth=2
... 538764 Oct 7 11:28 opendaylight-inventory:nodes?depth=3
(size is similar)
And there is more than 1 level:
<nodes xmlns="urn:opendaylight:inventory">
<node>
<id>openflow:16386</id>
<description xmlns="urn:opendaylight:flow:inventory">None</description>
<serial-number xmlns="urn:opendaylight:flow:inventory">None</serial-number>
<table xmlns="urn:opendaylight:flow:inventory">
<id>17</id>
<aggregate-flow-statistics xmlns="urn:opendaylight:flow:statistics">
<byte-count>0</byte-count>
<packet-count>0</packet-count>
<flow-count>0</flow-count>
</aggregate-flow-statistics>
<flow-table-statistics xmlns="urn:opendaylight:flow:table:statistics">
<active-flows>0</active-flows>
<packets-matched>0</packets-matched>
<packets-looked-up>0</packets-looked-up>
</flow-table-statistics>
</table>
<table xmlns="urn:opendaylight:flow:inventory">
<id>159</id>
<aggregate-flow-statistics xmlns="urn:opendaylight:flow:statistics">
<byte-count>0</byte-count>
<packet-count>0</packet-count>
<flow-count>0</flow-count>
</aggregate-flow-statistics>
<flow-table-statistics xmlns="urn:opendaylight:flow:table:statistics">
<active-flows>0</active-flows>
...
ODL built from l2switch git repository, commit 198eb176f265d9c3b2f349da5a5f54d4b392b171 (Oct 2 01:27:20 2014)
feature installed: odl-l2switch-switch-ui,
using karaf
Also Devin Avery said on mailing list:
"It would appear that the call to the code to handle depth was removed… we need to open a bug to fix that and figure out what removed it (and also why we didn’t have any unit tests fail…)"
Attachments
Issue Links
- is blocked by
-
YANGTOOLS-322 ImmutableMapNode insteadof ImmutableUnkeyedListNode
- Resolved
-
YANGTOOLS-349 JsonParserStream returns List instead of ListEntry for top level element
- Resolved