GET data store
To see the data contained in the device data store, use the following request:
- Type: GET
- Headers:
Authorization: Basic YWRtaW46YWRtaW4=
- URL: http://localhost:8080/restconf/config/network-topology:network-topology/topology/topology-netconf/node/new-netconf-device/yang-ext:mount/
Adding yang-ext:mount/ to the URL will access the mount point created for new-netconf-device. This will show the configuration data store. If you want to see the operational one, replace config with operational in the URL.
If your device defines the YANG model, you can access its data using the following request:
- Type: GET
- Headers:
Authorization: Basic YWRtaW46YWRtaW4=
- URL: http://localhost:8080/restconf/config/network-topology:network-topology/topology/topology-netconf/node/new-netconf-device/yang-ext:mount/<module>:<container>
The <module> represents a schema defining the <container>. The <container> can either be a list or a container. It is not possible to access a single leaf. You can access containers/lists within containers/lists. The last part of the URL would look like this:
.../ yang-ext:mount/<module>:<container>/<sub-container>
- Learning ROS for Robotics Programming(Second Edition)
- Web Development with Django Cookbook
- OpenCV 3和Qt5計算機視覺應(yīng)用開發(fā)
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程
- INSTANT Sencha Touch
- 鋒利的SQL(第2版)
- Mastering AndEngine Game Development
- Magento 1.8 Development Cookbook
- 數(shù)據(jù)結(jié)構(gòu)(C語言)
- KnockoutJS Starter
- R語言與網(wǎng)絡(luò)輿情處理
- Java程序設(shè)計入門
- Learning Laravel's Eloquent
- 51單片機C語言開發(fā)教程
- RealSenseTM互動開發(fā)實戰(zhàn)