Optical Packet tutorial add host intent problems

0 views
Skip to first unread message

杨勇

unread,
May 23, 2017, 8:01:09 AM5/23/17
to klen...@gmail.com, ONOS Developers
Hi Klenilmar,
I have got the same problem as you post about The Packet Optical Dev Enviroment for other versions of ONOS. When i modified the opticalUtils.py file, I can start the opticalTest.py. But I can't add host to host intent either through ONOS gui or ONOS cli. My onos version is 1.11 the same as yours. Have you solved this problem? It will be appreciated that you could tell me  any solution about this problem. I am looking forward to your reply. Thank you!




杨勇
地址:北京市海淀区西土城路10号北京邮电大学
手机:13020074304
二维码

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助



 

Klenilmar Dias

unread,
May 24, 2017, 9:57:15 AM5/24/17
to 杨勇, ONOS Developers
Hi

Unfortunately, it still does not solved the problems.

I can only perform tasks with Packe Optical in version ONOS-1.2.1.

I'm also looking forward to solving these problems, because there are new apps optical that do not exist in ONOS-1.2.1.

As soon as you have any solutions to these issues listed above, please let me know.

Regards, Klenilmar



 

--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/7d1a409f.a060.15c352ea7e3.Coremail.modest_yang%40126.com.

杨勇

unread,
Jun 4, 2017, 8:44:18 PM6/4/17
to Klenilmar Dias, ONOS Developers
Hi  Klenilmar,
I still could not add host to host intent . But according to the karaf log I could know why it's not working. I need to set up optical connectivity between optical ports. While I learned how to set up optical connectivity from https://wiki.onosproject.org/display/ONOS/Optical+Path+Provisioner and there applies a script named ectest.py . I could start the script but can't add connectivity between two ports. Have you ever tried to set up optical connectivity? How do you add optical connection? Is there any guidance tutourial for me to learn?
I am looking forward to your reply.
Thank you!
Regards, Sun xueyuan




杨勇
地址:北京市海淀区西土城路10号北京邮电大学
手机:13020074304
二维码

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助


To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.


 

Klenilmar Dias

unread,
Jun 5, 2017, 7:44:27 PM6/5/17
to 杨勇, ONOS Developers

Hi Sun xueyuan

I me too still could not add host to host intent .

From what I observed the big problem is that later versions of ONOS-1.2.2 no longer have onos-app-oecfg, which is standalone utility for converting ONOS JSON config to OE-Linc JSON config, making it generate these problems in the optical layer.

I hope that the ONOS team can resolve these issues raised in relation to the use of the Multi-layer Optical Package  examples in the most recent versions of ONOS.

Best Regards, Klenilmar



Marc De Leenheer

unread,
Jun 5, 2017, 8:04:54 PM6/5/17
to Klenilmar Dias, 杨勇, ONOS Developers
Please don't spread incorrect information. As I stated before, the dependency on onos-app-oecfg was removed a long time ago.


marc

Klenilmar Dias

unread,
Jun 5, 2017, 8:16:01 PM6/5/17
to Marc De Leenheer, 杨勇, ONOS Developers
Sorry, it was not the intention! I expressed myself wrong


But, what do you orient to correct my configuration errors?


Again excuses!

Best Regards, Klenilmar

杨勇

unread,
Jun 5, 2017, 9:08:54 PM6/5/17
to Marc De Leenheer, ONOS Developers
Hi marc,
I still could not add host intent through the version of onos 1.10. I followed your advice to create an optical connectivity first from the optical path provisioner tutorial https://wiki.onosproject.org/display/ONOS/Optical+Path+Provisioner .But I can't create optical connection. I added optical connection through two ways but all failed. I wanted to add host intent from host3 to host4 at the opticalTest.py.
1. The first way, I created optical connection from two ovs switches: 
onos> add-optical-connectivity of:0000ffffffff0003/1 of:0000ffffffff0004/1 1000000 1000
Trying to setup connectivity between of:0000ffffffff0003/1 and of:0000ffffffff0004/1.
Failed. See ONOS log for more details.
 log:set TRACE org.onosproject.newoptical.OpticalPathProvisioner
The karaf log said that:
2017-06-06 08:47:38,531 | INFO  | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffff0003/1, of:0000ffffffff0004/1, 1000000, null)
2017-06-06 08:47:38,596 | ERROR | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffff0003/1, of:0000ffffffff0004/1, 1000000, null) failed.
The second way,I created optical connection through two linc-oe switches from DFW-M10/20 to IAD-M10/30:
onos> add-optical-connectivity of:0000ffffffffff06/20 of:0000ffffffffff08/30 1000000 1000
Trying to setup connectivity between of:0000ffffffffff06/20 and of:0000ffffffffff08/30.
Failed. See ONOS log for more details.
 log:set TRACE org.onosproject.newoptical.OpticalPathProvisioner
The karaf said that:
2017-06-06 08:55:24,931 | INFO  | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffffff06/20, of:0000ffffffffff08/30, 1000000, null)
2017-06-06 08:55:24,937 | ERROR | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffffff06/20, of:0000ffffffffff08/30, 1000000, null) failed.
I have checked the source code from org.onosproject.newoptical.OpticalPathProvisioner. But I still don't know what makes the above errors.
Please help me !
Thank you!
Regards, Sun xueyuan



杨勇
地址:北京市海淀区西土城路10号北京邮电大学
手机:13020074304
二维码

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助


To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.


 

杨勇

unread,
Jun 5, 2017, 9:11:24 PM6/5/17
to Marc De Leenheer, ONOS Developers
Hi marc,
I still could not add host intent through the version of onos 1.10. I followed your advice to create an optical connectivity first from the optical path provisioner tutorial https://wiki.onosproject.org/display/ONOS/Optical+Path+Provisioner .But I can't create optical connection. I added optical connection through two ways but all failed. I wanted to add host intent from host3 to host4 at the opticalTest.py.
1. The first way, I created optical connection from two ovs switches: 
onos> add-optical-connectivity of:0000ffffffff0003/1 of:0000ffffffff0004/1 1000000 1000
Trying to setup connectivity between of:0000ffffffff0003/1 and of:0000ffffffff0004/1.
Failed. See ONOS log for more details.
 log:set TRACE org.onosproject.newoptical.OpticalPathProvisioner
The karaf log said that:
2017-06-06 08:47:38,531 | INFO  | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffff0003/1, of:0000ffffffff0004/1, 1000000, null)
2017-06-06 08:47:38,596 | ERROR | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffff0003/1, of:0000ffffffff0004/1, 1000000, null) failed.
The second way,I created optical connection through two linc-oe switches from DFW-M10/20 to IAD-M10/30:
onos> add-optical-connectivity of:0000ffffffffff06/20 of:0000ffffffffff08/30 1000000 1000
Trying to setup connectivity between of:0000ffffffffff06/20 and of:0000ffffffffff08/30.
Failed. See ONOS log for more details.
 log:set TRACE org.onosproject.newoptical.OpticalPathProvisioner
The karaf said that:
2017-06-06 08:55:24,931 | INFO  | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffffff06/20, of:0000ffffffffff08/30, 1000000, null)
2017-06-06 08:55:24,937 | ERROR | l for user karaf | OpticalPathProvisioner           | 175 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:0000ffffffffff06/20, of:0000ffffffffff08/30, 1000000, null) failed.
I have checked the source code from org.onosproject.newoptical.OpticalPathProvisioner. But I still don't know what makes the above errors.
Please help me !
Thank you!
Regards, Sun xueyuan



杨勇
地址:北京市海淀区西土城路10号北京邮电大学
手机:13020074304
二维码

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助


At 2017-06-06 08:04:54, "Marc De Leenheer" <ma...@onlab.us> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.


 

Marc De Leenheer

unread,
Jun 6, 2017, 2:29:06 PM6/6/17
to 杨勇, ONOS Developers
I don't know. Maybe you should try to debug the problem yourself. IntelliJ has a pretty good debugging environment.


marc



 

--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Klenilmar Dias

unread,
Jun 6, 2017, 2:49:20 PM6/6/17
to Marc De Leenheer, 杨勇, ONOS Developers

杨勇

unread,
Jun 6, 2017, 8:59:51 PM6/6/17
to Marc De Leenheer, ONOS Developers
Hi marc,
Thank you for your advice. I would like to debug the problem myself.
I have another question as well. 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. I would like to know what api can I post optical flows without newopitcal app? And I don't know about the appId and type about the body when I create an optical intent or optical flow through onos rest api web page.
By the way , I learned that intent module comes with Dijkstra algorithm and I would like to know where the specific code is in the intent module. I want to set up my own algorithm for optical routing.
I'm looking forward to your reply.
Thank you again!
Regards, Sun xueyuan



杨勇
地址:北京市海淀区西土城路10号北京邮电大学
手机:13020074304
二维码

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助


To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.


 

Reply all
Reply to author
Forward
0 new messages