Skip to content

How to access the Data store from the RPC function. #32

@sureshkvl

Description

@sureshkvl

Hi Peter,

How do we access the data records(accessing the datastore) from the RPC?

https://github.com/sureshkvl/yangforge-examples/blob/master/school.yang
https://github.com/sureshkvl/yangforge-examples/blob/master/school.yaml

In the above school yang model, I have updated the RPC call named 'result". the input is class name and student rollno. this RPC should find the respective student and process the marks and update the "result" field

Can you guide me.

Thanks
suresh.

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