get and get-data is not same
Hello
netopeer2-server 2.1.71
get-data --datastore operational --filter-xpath /ietf-hardware:hardware DATA
2023-11-06T07:39:36+00:00 452-ORU o-ran-hw:O-RAN-RADIO O-RAN-RADIO 0800 b_4.0.10_netconf_11 822310400222 DG LIMITED 2021-12-27T00:00:00+00:00 2023-11-06T07:39:36+00:00 unlocked enabled idle NORMAL 452-ORU Port0 PORT Port0
get --filter-xpath /ietf-hardware:hardware DATA
2023-11-06T07:39:36+00:00 452-ORU O-RAN-RADIO 0800 b_4.0.10_netconf_11 822310400222 DG LIMITED 2021-12-27T00:00:00+00:00 2023-11-06T07:39:36+00:00 enabled idle NORMAL Port0 PORT
I find get method miss params eg: class admin-state and o-ran-name, I want to get is same to get-data result, I need help,please
I want to get is same to get-data result
The 2 operations are not the same, what sense would that make? get-data simply returns the specified datastore contents, in your case operational. get returns running data with state nodes from operational (as defined here, second bullet).