Forum Replies Created
-
AuthorPosts
-
June 19, 2023 at 2:04 pm in reply to: Getting AttributeError: ‘Node’ object has no attribute ‘add_fabnet’ #4551
Hello Nagmat,
Could you please share the output of the following command from a terminal window in JH container?
pip list | grep fabric
Thanks,
Komal
- This reply was modified 1 year, 5 months ago by Komal Thareja.
(base) fabric@jupyter-nagmat-40nevada-2eunr-2eedu:~/work/iperf$ pip list | grep fabric
fabric 3.1.0
fabric-credmgr-client 1.3.2
fabric-fim 1.3.0
fabric_fss_utils 1.5.0
fabric-orchestrator-client 1.3.0
fabrictestbed 1.3.1
fabrictestbed-extensions 1.3.3The real P4 switches may be more tolerant since they are built around the idea of modifying frame formats. I do not know the details of what you are trying to do, but invalid Ethernet frames will not pass through our dataplane switches.
There’s a simple experiment you can try – try to pass the frames unmodified – if they go through, but your modified frames do not, your frames are not considered valid by our switches and are being dropped.
I tried sending unmodified packets before deploying p4 code and it was passing smoothly. If any modified packets won’t go through (FABRIC) data plane switch that interconnects the ports, does it mean that any p4 program where the header is modified can’t experiment on a fabric testbed?
The same packets are not dropped in real p4 switches. I am calculating new checksum for all modified packets. Do you mean invalid checksum by “not valid”? Is there any way around it?
Dear Ilya Baldin,
Thanks for the response.
Question 1: If a program is working smoothly on the Mininet environment, does it mean that it will work on the Fabric_testbed environment?
The program I am compiling and deploying on FT is : https://github.com/nagmat1/p4_tutorials/blob/main/pl_basic/basic.p4
Slice_id : 22680d2f-e6e2-48f3-a538-94911dc0e7b2
Slice name : basic_nagm01
I deployed the same program on mininet environment and it was working fine. After deploying it on Fabric_testbed and configuring the tables and ports on the control plane I can see the packet coming to port1 and being forwarded to port2 as shown in the picture(ens9 is port1 and ens8 is port2 going to switch2). I can analyze the same situation on switch 2 and switch 3. The packets are being forwarded inside p4 switch but not exchanged among the switches. What may be the issue? How can I overcome it?
Kind regards,
Nagmat
closed.
May 26, 2023 at 2:51 pm in reply to: Is it possible to compile p4 program and do experiments with programmable switch #4324Closed.
Closed.
May 26, 2023 at 2:49 pm in reply to: failed lease update- all units failed priming: Exception during create for unit: #4322Closed.
May 26, 2023 at 2:48 pm in reply to: Couldn’t create the slices with 3 different sites(couple of times) #4321Closed.
Worked!
Closed.
May 26, 2023 at 2:46 pm in reply to: Getting “(invalid_grant) invalid refresh token” error message on JupyterHub #4317It worked thanks!
It worked thanks!
May 24, 2023 at 6:00 pm in reply to: Get_slice and list_nodes execution takes more than 10 minutes. #4312cat /tmp/fablib/fablib.log
the file is empty.
How do we check if bastion keys are invalid? I guess it is valid since other commands are running smoothly.
Probably it failed because of insufficient resources.
-
AuthorPosts