REST APIs - YANG Models?

5 views
Skip to first unread message

Luciano Martins

unread,
Dec 7, 2021, 2:14:56 PM12/7/21
to ONOS Developers, ONOS Technical Steering Team, ONOS Discuss
Hi All...

Where can I find the YANG Model that defines Intent and Flow REST APIs?

Which models could I look for?

Tks 
--

Luciano Martins

CPQD - Diretoria de Operações

Tel.: +55 19 3705-4089 / Cel.: +55 19 99790-6052

lmar...@cpqd.com.br


"Esta mensagem pode conter informações confidenciais ou privilegiadas. Caso não seja o destinatário desta mensagem ou caso ela lhe tenha sido enviada por engano, pedimos a gentileza de eliminar esta mensagem e todos os seus anexos imediatamente. Utilizar, divulgar a quaisquer terceiros ou copiar esta mensagem para qualquer fim é expressamente proibido e punido por lei."

"This message may contain privileged or confidential information. If you are not the intended recipient of this message or if you have received it in error, please kindly delete this message and all its attachments immediately. Unauthorized use, disclosure to any third parties or copying of this message is expressly prohibited and may be subject to the penalties of law."

Thomas Vachuska

unread,
Dec 7, 2021, 2:24:26 PM12/7/21
to Luciano Martins, ONOS Developers, ONOS Technical Steering Team, ONOS Discuss
Hi,

This is not something that we model via YANG in ONOS.  YANG is mostly for configuration rather than for control.

Thomas

--
You received this message because you are subscribed to the Google Groups "ONOS Technical Steering Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-tech-steerin...@onosproject.org.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-tech-steering-team/CAH7XjRh_suqLxexLaUfUQcZmqooXoe2Hp4U-HgYCg%2B1WRtAXwg%40mail.gmail.com.

Charles Chan

unread,
Dec 7, 2021, 2:44:41 PM12/7/21
to Luciano Martins, ONOS Developers, ONOS Technical Steering Team, ONOS Discuss, Thomas Vachuska
The REST API implementation of Flow service and Intent service can be found in FlowsWebResource.java and IntentsWebResource.java respectively.
As Thomas said, those are not modeled by YANG, but simply Java implementations.

Thanks,
Charles Chan, Ph.D.
Member of Technical Staff, Open Networking Foundation


Luciano Martins

unread,
Dec 7, 2021, 3:12:11 PM12/7/21
to Charles Chan, ONOS Developers, ONOS Technical Steering Team, ONOS Discuss, Thomas Vachuska
Tks Thomas and Charles!!

Regards
Luciano
Reply all
Reply to author
Forward
0 new messages