How to post an optical flow through rest api in the packet optical tutorial

0 views
Skip to first unread message

sunny

unread,
Jun 6, 2017, 8:46:31 AM6/6/17
to ONOS Developers
Hi all,
I have learned about packet optical tutorial from https://wiki.onosproject.org/display/ONOS/Packet+Optical+Tutorial at the version of onos 1.10. But I can't add host intent either through onos gui or onos cli. Unfortunately I can't create optical intent after I activated the newoptical app.
As a result I want to add optical intent through onos rest api . But the type and appId of the body are unknown for me. How to write the type and appId?

If I don't want to create an optical path through newoptical app, is there any api for me to create an optical connection ? I mean can I post optical flows step by step by myself? The api given currently I saw from onos rest api web page doesn't give me some useful information. I didn't see any api about optical.

Please help me create an optical intent through newoptical and give me some information about how to create an optical path without newoptical.

By the way , I learned that intent module comes with Dijkstra algorithm and I would like to know where the specific code is. I want to set up my own algorithm for optical routing.

Thank you!

Regards, Sun xueyuan

Reply all
Reply to author
Forward
0 new messages