Calling RPC from another feature?

asked 2017-07-07 07:32:20 -0800

Hello,

I have two separate features in which have their own yang models and their own implementations of their RPC calls(each as their own feature). Here is the feature setup

model1

model1-impl

model2

model2-impl

If i am writing in the model1-impl and want to call a model2-impl RPC directly how would call/import the correct files to call it. I already have the input built, i just cannot figure out how to actually initialize the model2 service from within the model1 impl to call a RPC from model2-impl.

edit retag flag offensive close merge delete