Optical Packet tutorial add host intent problems

546 views
Skip to first unread message

sunny

unread,
May 17, 2017, 6:09:30 AM5/17/17
to ONOS Developers
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 onos version.
Please help me!
Thanks in advance!
--Sunnyuan
wiresharklua5.17.png

杨勇

unread,
May 17, 2017, 6:09:44 AM5/17/17
to ONOS Developers

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!





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

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



 

wiresharklua5.17.png
名片.vcf

Marc De Leenheer

unread,
May 17, 2017, 6:18:14 PM5/17/17
to 杨勇, ONOS Developers
Comments inline.

marc

On Wed, May 17, 2017 at 3:06 AM, 杨勇 <modes...@126.com> wrote:

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 .

Can you please double check the intents were properly installed?
 

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.

Are you saying the optical topology has no links?
 

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.


I cannot check right now, but the VM should come with an auto-generated (by loxigen) wireshark dissector.
If indeed it is missing, you can do it yourself: https://github.com/floodlight/loxigen
Find the onos loxigen directory (if it's missing you can clone from here https://gerrit.onosproject.org/#/admin/projects/onos-loxi), generate the dissector (`make wireshark`), and then copy the .lua file in the proper location: https://wiki.wireshark.org/Lua
 

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?

Unfortunately it's not available in 1.2 and we don't have an updated VM right now. The best way forward would be move away from the tutorial VM and start setting up your own dev environment. You will have access to all the latest and greatest features in ONOS...
 

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.

Would you mind trying a more recent version please? We are about to release 1.10!
 

Please help me!

Thanks in advance!





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

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



 

--
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.

杨勇

unread,
May 18, 2017, 3:22:59 AM5/18/17
to Marc De Leenheer, ONOS Developers
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?
Thanks in advance!
I'm looking forward to your reply !




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

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


Marc De Leenheer

unread,
May 18, 2017, 6:20:35 PM5/18/17
to 杨勇, ONOS Developers
Comments inline.

marc

On Thu, May 18, 2017 at 12:22 AM, 杨勇 <modes...@126.com> wrote:
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.

For 1 and 2: what does the onos log say?

 
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.

Just renaming it to OpenFlow2 or something should work
 
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?

Please refer to wiki.onosproject.org

杨勇

unread,
May 19, 2017, 8:06:04 AM5/19/17
to Marc De Leenheer, ONOS Developers, sunny...@gmail.com
Hi Marc,
Thankyou for your reply. I'm sorry to say that I can't find the location where the karaf file is stored and I can not get into the root user because I do not know the root password.  Will you please to tell me the password of the root user?Because I change another computer which can't get into the root user.The karaf file I can find is at /home/mininet/ where there is no log file. So I have to see the log from ONOS cli line.You can see the log form my attachment. 
I'm looking forward to your reply!
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/.


 

log

杨勇

unread,
May 21, 2017, 11:32:06 PM5/21/17
to Marc De Leenheer, ONOS Developers
Hi Marc,
I have tried to renamed the openflow.lua file name and putted the file on the wireshark personal plugins folder as you said .But the wireshark still showed the same error as last time. I have also tried to put the generated openflow.lua file into the global plugins folder , but I don't  have  root privileges because I don't know the passward of the root user.
I'm looking forward to your reply. Thank you!


杨勇
地址:北京市海淀区西土城路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/.


 

Marc De Leenheer

unread,
May 22, 2017, 2:25:24 AM5/22/17
to 杨勇, ONOS Developers
You should really take this up in the wireshark community. They'll know better.


marc

杨勇

unread,
May 22, 2017, 2:35:59 AM5/22/17
to Marc De Leenheer, ONOS Developers
Hi Marc,
Thank you for your reply. I'm sorry to say that I can't find the location where the karaf file is stored and I can not get into the root user because I do not know the root password.  Will you please to tell me the password of the root user?Because I change another computer which can't get into the root user.The karaf file I can find is at /home/mininet/ where there is no log file. So I have to see the log from ONOS cli line.You can see the log form my attachment. 
I'm looking forward to your reply!
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/.


 

log

杨勇

unread,
May 23, 2017, 6:07:39 AM5/23/17
to Marc De Leenheer, ONOS Developers
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.

I think the version of onos I installed above is the latest version 1.11. But I can't start the opticalTest.py successfully. 
I use step one method to modify the opticalUtils.py file. But it didn't work. I got errors as below:

I do not know where the error lies.
Please help me solve these problems. I am looking forward to your reply.Thank you !



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

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


At 2017-05-23 01:16:03, "Marc De Leenheer" <ma...@onlab.us> wrote:
I didn't realize you were using ONOS 1.2. Please try again with a more recent version of ONOS.


marc



 

opticalTesterror1.png
onos1.6opticalUtils.png
karaf.log

杨勇

unread,
May 23, 2017, 8:01:15 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!

杨勇

unread,
May 23, 2017, 8:08:43 AM5/23/17
to Marc De Leenheer, ONOS Developers
Hi Marc,

I have modified my opticalUtils.py file mentioned in: https://gerrit.onosproject.org/#/c/12314/ , on line 266..
And I can start the opticalTest.py successfully. But I still can't add host to host intent either through ONOS gui or ONOS cli. The onos log is in my attatchment. 
Will you try to fix these problems and others mentioned in the discussion list?
Thank you for your attention given my doubts.




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

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


At 2017-05-23 01:16:03, "Marc De Leenheer" <ma...@onlab.us> wrote:
I didn't realize you were using ONOS 1.2. Please try again with a more recent version of ONOS.


marc


 

karaf.log

Marc De Leenheer

unread,
May 23, 2017, 11:32:56 AM5/23/17
to 杨勇, ONOS Developers
So some time back, the automatic provisioning of an optical path in response to a packet layer (e.g., host to host intent) request, was disabled. 

Can you try creating an optical connectivity intent manually, and only then submitting your host to host request?

marc

杨勇

unread,
May 23, 2017, 10:24:17 PM5/23/17
to Marc De Leenheer, ONOS Developers
Hi Marc,
I was a long time ago in the onos1.6 version of the time to manually create an optical connectivity intent and successfully. After that I added the two hosts intents. But still failed.
Now, I tried to create an optical connectivity intent manually through onos 1.10 version but failed. I have tried opticalTest.py and ectest.py which in https://wiki.onosproject.org/display/ONOS/Optical+Path+Provisioner .But neither did the two files have created optical connectivity successfully. 
I learnt the optical connetivity tutorial from https://wiki.onosproject.org/display/ONOS/Optical+Path+Provisioner in which I should add optical connectivity between two ovs switches or two cpqd switches.I do not know what I understand right?
I also need to emphasize that the links shown between ovs switch and linc-oe in the topology is always offline since I changed the verison from onos1.6 to onos1.10
There are three onos log files in my attachments. First named karafonos1.6ectest.log is the onos log file I started ectest.py through onos 1.6 version which I could create optical connectivity successfully but couldn't add host intent.
The second named karafectest.log is the onos log file I started ectest.py through onos 1.10 version which I could not create optical connectivity.
The third named karafopticalTest.py is the onos log file I started opticalTest.py through onos 1.10 version which I could not create optical connectivity.

.
Will you try to fix these problems and others mentioned in the discussion list?
Thank you for your attention given my doubts.



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

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

karafonos1.6ectest.log
karafectest.log
karafopticalTest.log

杨勇

unread,
May 24, 2017, 9:43:56 AM5/24/17
to Marc De Leenheer, ONOS Developers
Hi Marc,
1. When I started the ectest.py through onos 1.10 version and created an optical connectivity. I can't create an optical connectivity successfully. I checked the linc-oe log at the linc-oe/rel/linc/log/erlang.log. The log file said 

19:52:34.426 [warning] Setting up port that already is up
19:52:34.426 [info] [SwitchId=2][PortNo=10] Set port state [live]
19:52:34.426 [info] Created port: {port,8,[{queues_status,disabled},{queues,[{port,8,[{port_rate,{100,mbps}},{port_queues,[]}]},{port,6,[{port_rate,{100,mbps}},{port_queues,[]}]},{port,1,[{port_rate,{100,mbps}},{port_queues,[]}]}]},{config,{port_configuration,undefined,up,false,false,false}},{features,{features,undefined,'100Mb-FD',true,copper,unsupported}},{port_no,10},{interface,"tap8"}]}
19:52:34.428 [warning] Setting up port that already is up
19:52:34.428 [info] [SwitchId=3][PortNo=10] Set port state [live] ...

The details about the linc-oe log are in my attachment named linc-oe.log.
I also check the onos1.10 version log which I have attached in my last e-mail named karafectest.log. The log file said that "No intents produced from [(of:0000ffffffffff01/10,of:0000ffffffffff02/10"

2017-5-24 09:33:40,284 | INFO  | l for user karaf | OpticalPathProvisioner           | 160 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:000000000000000b/1, of:0000000000000015/2, 1000000, null)
2017-05-24 09:33:40,337 | WARN  | l for user karaf | OpticalPathProvisioner           | 160 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | Unsupported cross connect point types COPPER COPPER
2017-05-24 09:33:40,337 | ERROR | l for user karaf | OpticalPathProvisioner           | 160 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | No intents produced from [(of:0000ffffffffff01/10,of:0000ffffffffff02/10)]
2017-05-24 09:33:40,337 | ERROR | l for user karaf | OpticalPathProvisioner           | 160 - org.onosproject.onos-apps-newoptical - 1.10.0.rc2 | setupConnectivity(of:000000000000000b/1, of:0000000000000015/2, 1000000, null) failed.

As a result I created a new optical connection:
onos> add-optical-connectivity of:000000000000000b/1 of:0000000000000065/1 1000000 1000
Unable 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?

Will you try to fix these problems and others mentioned in the discussion list?
Thank you for your attention given my doubts.



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

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

linc-oe.log

Klenilmar Dias

unread,
May 24, 2017, 9:57:17 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/.

Klenilmar Dias

unread,
May 24, 2017, 10:05:31 AM5/24/17
to 杨勇, Marc De Leenheer, ONOS Developers
Hi

2017-05-23 7:06 GMT-03:00 杨勇 <modes...@126.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.

For this specific error (OSError: [Errno 2] No such file or directory), I had the same problem that I resolved by changing the distribution of Ubuntu to 14.04 LTS and it was resolved. I do not know why, but in distribution 16 this error continues.

 

杨勇

unread,
May 24, 2017, 9:23:18 PM5/24/17
to Marc De Leenheer, ONOS Developers
Hi Marc,

I have learned about how does a linc-oe switch work from https://github.com/FlowForwarding/LINC-Switch/blob/internals-oe-doc/docs/LINC_internals.md#linc-oe-openflow-13-with-oe and http://docplayer.net/28344303-Optical-transport-protocol-extensions.html about optical transport protocol extension messages.  In the  https://github.com/FlowForwarding/LINC-Switch/blob/internals-oe-doc/docs/LINC_internals.md#linc-oe-openflow-13-with-oe said that linc-oe add additional header to the packet as picture shown below.  Now I know the specific value of och_sigid via add host intent through ONOS cli  in the onos-tutorial-1.2.1r2 VM. The specific value is <01 02 00 2d 00 08>. I would like to know where the extended linc-oe message header was added to the header of the message, and I wanted to know the specific location of the och-sigid header. Can you tell me the specific location of the och_sigid header?

Thank you for your attention given my doubts.




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

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


At 2017-05-23 01:16:03, "Marc De Leenheer" <ma...@onlab.us> wrote:
I didn't realize you were using ONOS 1.2. Please try again with a more recent version of ONOS.


marc


 

salman abbas

unread,
May 25, 2017, 1:39:05 AM5/25/17
to 杨勇, Marc De Leenheer, ONOS Developers
Hi All,

How can manipulate(Create ,update and delete) the ovsdb table with the help of ONOS .

杨勇

unread,
Jun 4, 2017, 8:44:23 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:30 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:58 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:04 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:11:35 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:12:49 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:10 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:24 PM6/6/17
to Marc De Leenheer, 杨勇, ONOS Developers

杨勇

unread,
Jun 6, 2017, 9:00:01 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