官术网_书友最值得收藏!

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>

主站蜘蛛池模板: 门源| 娱乐| 连江县| 永川市| 光泽县| 金溪县| 梨树县| 威远县| 济宁市| 文成县| 宁都县| 和硕县| 孟连| 仙居县| 绥滨县| 乌鲁木齐市| 延庆县| 丘北县| 卓尼县| 根河市| 鄂伦春自治旗| 天等县| 巩义市| 鹿邑县| 祁门县| 腾冲县| 荥阳市| 泾川县| 射阳县| 乐山市| 酒泉市| 陕西省| 海兴县| 永和县| 泗阳县| 忻城县| 和静县| 晴隆县| 尉犁县| 沧源| 改则县|