5. I use Ubuntu 16.04 on my own computer to build the optical packet tutorial platform ,my onos version is 1.6. When I run the optical packet tutorial , nether the use of onos gui nor cli can create a host to host intent . And I see the intents on the ONOS cli command line which shows the intent state=FAILED. I also see the flow messages on the ONOS cli command line can not query the flows I sent. And the opticalTest.py I started is in the onos-onos-1.6/tools/test/topos which version I think is matching to the onos1.6 version.
Please help me!
Thanks in advance!
扫描该二维码,可以将电子名片迅速保存到手机 使用帮助 |
Hi all,
I’m trying to run the Packet Optical tutorial through ONOS 1.2.1r2 installed on the VM downloaded from here: http://downloads.onosproject.org/vm/onos-tutorial-1.2.1r2-ovf.zip. And I have faced some problems as follows:
1. When I try to send a Host-to-Host intent to ONOS from host1 to host2 through ONOS-gui, then I can ping host1 to host2 successfully, but I check out the flows in the ONOS cli, I can’t see the och_sigid, lambda messages about linc-oe, only I can see are the messages about the ETH-DST mac and the ETH_SRC mac .
2. When I try to send a Host-to-Host intent to ONOS from host3 to host4 through ONOS-cli , then I can’t ping host3 to host4 successfully, and the virtual links in the gui are only a direct yellow link between two ovs switches , I can’t see the purple links among linc-oe switches. While, I check out flows in the ONOS cli, I can see the messages about linc-oe such as lambda, channelSpacing, slotGranularity and etc.
3. When I run the optical packet tutorial , I start wireshark to capture the messages, I check out the flow-mod message with extension content, the message indicates :Lua Error: [string “/home/optical/.wireshark/plugins/openflow.lua …”]:16437: attempt to call field ‘?’(a nil value). Unable to parse linc-oe extension messages.
4. I want to use the optical path provisioner here:
https://wiki.onosproject.org/display/ONOS/Optical+Path+Provisioner. But the onos1.2 version does’t have the newoptical document in onos/app. Is there a VM that supports newoptical app?
5. I use Ubuntu 16.04 on my own computer to build the optical packet tutorial platform ,my onos version is 1.6. When I run the optical packet tutorial , nether the use of onos gui nor cli can create a host to host intent . And I see the intents on the ONOS cli command line which shows the intent state=FAILED. I also see the flow messages on the ONOS cli command line can not query the flows I sent. And the opticalTest.py I started is in the onos-onos-1.6/tools/test/topos which version I think is matching to the onos1.6 version.
--
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/26fc45ae.96ac.15c15df511b.Coremail.modest_yang%40126.com.








Hi Marc,Thank you for your answer! I will reply each question you answered.1. I confirmed the intent I have added from host1 to host2 through ONOS gui, the intent's state=installed. The flows didn't show the message about the linck-oe such as lambda , but when I add host intent through ONOS cli , I can see the message about linc-oe. You can see figure 1 ,figure 2 and figure 3 in my attachments.2. The state of the intent I have added from host3 to host4 through ONOS cli is installed.But in ONOS gui I can only see the links between ovs switches not among the linc-oe switches.And I can't ping host3 to host4. I think it means the optical topology has no links.You can see figure 4 , figure 5 , figure 6 and figure 7 in my attachments. While I can see the flow message about linc-oe.
3. I took your advice to download the onos-loxi, generated the dissector('make wireshark'), and then copy the openflow.lua file in the personal plugins: /home/optical/.wireshark/plugins/openflows.lua/ in which the previous openflow.lua file is also placed in this position. But when I restarted the wireshark I got a error as figure 8 in my attachments and I can't start the wireshark. When I delete my own generated openflow.lua file , re-put the original openflow.lua file back after, wireshark can start normally, but still can not parse the extension messages about linc-oe.
4. I am going to try the version 1.10, someone said that the latest version don't have to install the karaf in advance any more. Can you provide a installation tutorial about the latest version of onos?
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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.

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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.
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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.




I didn't realize you were using ONOS 1.2. Please try again with a more recent version of ONOS.marc
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.

I didn't realize you were using ONOS 1.2. Please try again with a more recent version of ONOS.marc
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.


扫描该二维码,可以将电子名片迅速保存到手机 使用帮助 |
onos> add-optical-connectivity of:000000000000000b/1 of:0000000000000065/1 1000000 1000Unable to create optical intent between connect points of:000000000000000b/1 and of:0000000000000065/1
I would like to ask three points, first, I add links to the right way? Second, how to successfully add the optical connection. Third, how can I add host to host intent successfully both through ONOS gui and ONOS cli.
2. I mentioned in the first e-mail about add host to host intent questions through the onos1.2 version in the onos-tutorial-1.2.1r2 VM , would you please to solve the problems? 扫描该二维码,可以将电子名片迅速保存到手机 使用帮助 |
--
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.
Hi Marc,I have installed the onos 1.10.0.rc2 and started the onos successfully. I also have built the Packet Optical Dev Enviroment in accordance with the tutorial here https://wiki.onosproject.org/display/ONOS/The+Packet+Optical+Dev+Environment. But I can't start the opticalTest.py. The errors shown are as follows:1. In the previous mail I said I can start the opticalTest.py in onos1.6 environment. The reason opticalTest.py can start is because I changed the opticalUtis.py file as shown below:I changed three places:(1) I added "import pwd". (2) I changed the "user=os.getlogin()" to "user=pwd.getpwuid(os.getuid())[0]". (3) The previous paths are readPipe="/tmp/home/{}/lin-oe/rel/linc/erlang.pipe.1.r"and writePipe="/tmp/home/{}/lin-oe/rel/linc/erlang.pipe.1.w". I changed the paths as shown above which I delete the "/tmp/".I start the controller of onos 1.10.0.rc2 on one ubuntu machine and start the opticalTest.py at onos1.6/tools/test/topos on another machine. They can start successfully. But I can't add host to host intent either through ONOS gui or ONOS cli. You can check the karaf.log in my attatchment. I added host1 to host2 intent through ONOS gui and host3 to host4 intent through ONOS cli.2. I followed the steps below to install the onos and then start the inside of the opticalTest.py.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/2c30673e.96a0.15c34c5a566.Coremail.modest_yang%40126.com.

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助 |
I didn't realize you were using ONOS 1.2. Please try again with a more recent version of ONOS.marc
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3Dxqcs76P2EX8XCtLTVKxbmxiMPVS%2BeK3wfvZ7J2%3DqVJUMDg%40mail.gmail.com.
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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAMczdPOg5i5UF17KWzwP2kH_TdwF-HTsCCSn-%3DRYEgea4nBJnA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAMczdPOg5i5UF17KWzwP2kH_TdwF-HTsCCSn-%3DRYEgea4nBJnA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAMczdPMjh2taPpqRMaOB65L18ZTN3%3DmLPR-0_hj-BfNUpUP8bg%40mail.gmail.com.
onos> add-optical-connectivity of:0000ffffffff0003/1 of:0000ffffffff0004/1 1000000 1000Trying to setup connectivity between of:0000ffffffff0003/1 and of:0000ffffffff0004/1.Failed. See ONOS log for more details. log:set TRACE org.onosproject.newoptical.OpticalPathProvisionerThe 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:The karaf said that: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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3DxqfA0meu3P2NeDoi_xwMDWG1zVqDOMhiJtuoAk%2BU6nMjQA%40mail.gmail.com.
onos> add-optical-connectivity of:0000ffffffff0003/1 of:0000ffffffff0004/1 1000000 1000Trying to setup connectivity between of:0000ffffffff0003/1 and of:0000ffffffff0004/1.Failed. See ONOS log for more details. log:set TRACE org.onosproject.newoptical.OpticalPathProvisionerThe 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:The karaf said that: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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3DxqfA0meu3P2NeDoi_xwMDWG1zVqDOMhiJtuoAk%2BU6nMjQA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3DxqfA0meu3P2NeDoi_xwMDWG1zVqDOMhiJtuoAk%2BU6nMjQA%40mail.gmail.com.
--
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/2a1b98f9.1285.15c7af2894c.Coremail.modest_yang%40126.com.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3DxqeLw78rLLyL9QqDscPomeP5BrYPWaXv2faSErybraRMkg%40mail.gmail.com.
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.
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/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAL1%3DxqeLw78rLLyL9QqDscPomeP5BrYPWaXv2faSErybraRMkg%40mail.gmail.com.