Re: Help - Exercise 4: Enabling ONOS Built-in Services

30 views
Skip to first unread message

Yi Tseng

unread,
Apr 14, 2021, 1:34:50 AM4/14/21
to Fernando Henrique Santorsula, P4 brigade
[+P4 Brigade mailing list]
Hi Fernando,

I think for exercise 6, 7, 8, the document provides pretty clear about the background and steps

Would be nice if you can provide mode context about which part you don't understand so our team can improve the document

For "using P4 in your AP", if the system running on the AP is Debian based(e.g., Ubuntu) with x86 CPU, then you can build the stratum bmv2 on your AP and run it

Yi

On Sun, Apr 4, 2021 at 7:34 PM Fernando Henrique Santorsula <f20...@dac.unicamp.br> wrote:
Hello friend,

Forgive me for the delay of the return, I was having personal problems, I still am and I was not able to answer you, the problem was in version 6.1 of Virtuabox, I did exercise 4 and 5 on WMware Workstation 16Pro and everything went well, thank you very much , my difficulty now is in exercises 6, 7 and 8 that I need to finish, number 6 I didn't understand very well and I still need to solve the question of programming interfaces with the P4 and transforming that equipment that I sent you as an attachment into an Access Point , I don't even know where to start (laughs). And on the list, I will not discard! Rest assured, thank you very much for your help and we will talk to you, see you soon. Thanks again for the help, and if I can! Help me with this university work that is the subject of my master's degree at Unicamp (Campinas / São Paulo / Brazil), a hug and take care of yourself, see you soon.

---

Regards,

Fernando Henrique Santorsula
-----------------------------------------------------------------


Em dom., 4 de abr. de 2021 às 22:28, Yi Tseng <y...@opennetworking.org> escreveu:
Hi Fernando,

I just noticed that this mail.

I don't 100% sure about your question.

I guess you are trying to connect to the ONOS UI but the ONOS UI shows disconnected, right?

There are several possible reasons to cause this issue, for example, unstable connection between the browser to the ONOS Web server, or environment settings on your laptop.

Can you check the log from your browser? For example, check the console or network status from the browser's web developer tool. See if there are any errors.


Yi

On Sun, Mar 28, 2021 at 2:14 PM Fernando Henrique Santorsula <f20...@dac.unicamp.br> wrote:
Hello, I managed to evolve this exercise 4, but in the almost final part, this error occurs, and the links are all standing, see the images in the coma, ignore my language and notice the images, see that everything is correct and now that I'm almost done, this error occurs, follow the attachment and help me please! I've been trying to solve this problem for weeks and I can't, I had to make some changes in the tutorial to be able to work and it worked, just the end that when opening ONOS, the error of the last image occurs, please! Help me again, attached, thanks.

--
Regards,

Fernando Henrique Santorsula

Em dom., 28 de mar. de 2021 às 14:39, Fernando Henrique Santorsula <f20...@dac.unicamp.br> escreveu:
Please! Help me with this:


I'm on time, fiddling with this code and I've already followed the official P4 manual and it doesn't work, I don't know what can be wrong anymore, can you give me some help please! Thank you.

// Changes made a million times:

header cpu_out_header_t {
    port_num_t  egress_port;
    cpu_out_header_t setValid();
    bit<7>      _pad;

// Error

sdn@tutorial-vm:~/ngsdn-tutorial$ make p4-build
*** Building P4 program...
docker run --rm -v /home/sdn/ngsdn-tutorial:/home/sdn/ngsdn-tutorial -w /home/sdn/ngsdn-tutorial opennetworking/p4c:stable \
        p4c-bm2-ss --arch v1model -o p4src/build/bmv2.json \
        --p4runtime-files p4src/build/p4info.txt --Wdisable=unsupported \
        p4src/main.p4
p4src/main.p4(180):syntax error, unexpected (, expecting ;
    cpu_out_header_t setValid(
                             ^
error: 1 errors encountered, aborting compilation
Makefile:98: recipe for target 'p4-build' failed

--
Regards,

Fernando Henrique Santorsula


--
Atenciosamente,

Fernando Henrique Santorsula - RA: 208918
Mestrando Engenharia da Computação

FEEC - (Faculdade de Engenharia Elétrica e de Computação - UNICAMP)
E-mail: f20...@dac.unicamp.br -  Site oficial: www.unicamp.br


--
Yi Tseng
Member of Technical Staff
Open Networking Foundation


--
Atenciosamente,

Fernando Henrique Santorsula - RA: 208918
Mestrando Engenharia da Computação

FEEC - (Faculdade de Engenharia Elétrica e de Computação - UNICAMP)
E-mail: f20...@dac.unicamp.br -  Site oficial: www.unicamp.br


--
Yi Tseng
Member of Technical Staff
Open Networking Foundation
Reply all
Reply to author
Forward
0 new messages