Skip to content

Unable to display candidate datastore content #27

@vxpyy9

Description

@vxpyy9

Hi,

I am currently using netconf-cli with a NETCONF server that supports NMDA. When making configuration changes, netconf-cli uses edit-data on the ds:candidate datastore. However, I am unable to display the content of the candidate datastore. Attempts to retrieve candidate data using ietf-netconf-nmda:get-data result in an InvalidNodeException and cause the CLI to crash.
I also tried using get-config with source candidate:

/> prepare ietf-netconf:get-config/
(prepare: /ietf-netconf:get-config) > set source/
candidate   running     startup 
(prepare: /ietf-netconf:get-config) > set source/candidate 
(prepare: /ietf-netconf:get-config) > exec
libyang[0]: Invalid empty value length 7. (schemadata path: /ietf-netconf:get-config/input/source/config-source/candidate/candidate)
Couldn't create a node with path '/ietf-netconf:get-config/source/candidate': LY_EVALID

Is it possible to somehow display the candidate datastore content so I can review pending configuration changes before committing them?

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions