Skip to content

Sysrepo Operational Data Callback not working #86

@chirag-jain12

Description

@chirag-jain12

We are subscribing to module and registering operational data callback. But when we are doing get via sysrepocfg on operational data, it is failing and not fetching data from callback. Can you please take a look at script and yang models?

PFA Yang and test script

oper_test.zip

Thanks,

While doing get using sysrepocfg, below error is coming:
python3 sysrepocfg.py -d operational -f xml -X ietf-hardware:hardware
python3: sysrepo/src/common.c:4675: sr_xpath_trim_last_node: Assertion `xpath[0] == '/'' failed.
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions