Hi Miroslav,
Thank you for the prompt response.
I was referring to the same adapter PANTHEONtech ( Spring boot netconf) .
Though I was trying to build some sort of generic implementation as
RESTConf in NB for my adapter , so that I don't need to explicitly expose
separate endpoints ( Urls ) for my YANG models. I just need to share my
Yang model with CISCO NSO.
My adapter SB system also exposes some specified rest payload and
endpoints, so I need an adapter in between even though RESTConf works over
rest.
So , I was thinking of using ODL to use the below two features and trying
to get a custom data tree change listener so that on change call back I can
write my custom logic to send the request to my SB in specified format.

   - RESTCONF in NB
   - Yang data modeling

Please suggest more on the same. Thank you in advance.

On Tue, Sep 14, 2021 at 6:05 PM Miroslav Mikluš
<miroslav.mik...@pantheon.tech> wrote:

> Dear Rahul,
>
>
>
> RESTCONF works over REST, so you can directly connect to Cisco NSO, no
> need to use ODL.
>
>
>
> In case your ‘adapter’ needs some additional business logic, then
> following example might help you:
> https://github.com/PANTHEONtech/lighty/tree/14.2.x/lighty-examples/lighty-controller-springboot-netconf
>
>
>
> Cheers,
>
> Miroslav Miklus
>
>
>
> *From:* d...@lists.opendaylight.org <d...@lists.opendaylight.org> *On
> Behalf Of *rahul garg
> *Sent:* Tuesday, September 14, 2021 12:22 PM
> *To:* discuss@lists.opendaylight.org; d...@lists.opendaylight.org
> *Subject:* [opendaylight-dev] ODL RESTCONF to REST
>
>
>
> Hi All,
>
> Hope you are doing well in this pandemic situation.
>
> I need  a help for one my client requirement. I need my cisco NSO to
> connect with other system over REST.
>
> So i need to develop a adapter for  RESTCONF (NB) to REST (SB). Can some
> one help me how can i do this using ODL.
>
> I tried to use RESTCONF NB but how can i get data the data tree (
> operational/config) for the input POST/PUT request and further send it to
> SB system over REST and send response back to NSO.
>
> I need to get it ASAP , any lead will be highly appreciated.
>
>
>
>
> --
>
> Regards:
> Rahul Kr. Garg
> 08447786498
>


-- 
Regards:
Rahul Kr. Garg
08447786498
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8785): https://lists.opendaylight.org/g/Discuss/message/8785
Mute This Topic: https://lists.opendaylight.org/mt/85600445/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to