Skip to content

Add depends to p4rt debian package#4

Merged
bocon13 merged 2 commits intomainfrom
deb-deps
Mar 8, 2022
Merged

Add depends to p4rt debian package#4
bocon13 merged 2 commits intomainfrom
deb-deps

Conversation

@bocon13
Copy link
Copy Markdown
Collaborator

@bocon13 bocon13 commented Jan 5, 2022

libswsscommon is actually linked statically, so not
technically a dependency, but it is installed anyway
by the build system so there's no harm either.

libswsscommon pulls in transitive libraries we do need:
libhiredis, libnl*, libc, libgcc, libstdc++

libgmpxx4ldbl required for p4_symbolic

(reopens #3 which was accidentally closed by a push)

libswsscommon is actually linked statically, so not
technically a dependency, but it is installed anyway
by the build system so there's no harm either.

libswsscommon pulls in transitive libraries we do need:
  libhiredis, libnl*, libc, libgcc, libstdc++

libgmpxx4ldbl required for p4_symbolic
@rhalstea
Copy link
Copy Markdown
Collaborator

rhalstea commented Mar 8, 2022

Thanks I was just about to push a smaller version of this :)

@bocon13 bocon13 merged commit 60d2467 into main Mar 8, 2022
@bocon13 bocon13 deleted the deb-deps branch March 8, 2022 18:29
@bocon13
Copy link
Copy Markdown
Collaborator Author

bocon13 commented Mar 8, 2022

Thanks I was just about to push a smaller version of this :)

Thanks for the quick review! I probably should have tagged you weeks ago. :)

@ravi861
Copy link
Copy Markdown

ravi861 commented Apr 21, 2022

@bocon13 @rhalstea sonic-buildimage still points to the refpoint prior to this PR. P4RT fails to start with missing libgmpxx.so.4 error.
Is this a required change to get PINS to work on azure master?

@rhalstea
Copy link
Copy Markdown
Collaborator

Yes, this change is required to address the libgmpxx issue. We have an outstanding PR against the sonic-buildimage master branch: sonic-net/sonic-buildimage#10566

divyagayathri-hcl pushed a commit to divyagayathri-hcl/sonic-pins that referenced this pull request May 29, 2025
1. Makes sure the testbed is in stable state.
2. Programs L3 flows required for running traffic.
3. Start the traffic.
4. Modify the config and push it on to the switch.
5. Create some random ACL flow and install it on the switch and capture the P4 flow snapshot.
6. NSF reboot the switch.
7. Make sure steps sonic-net#4, sonic-net#5 and sonic-net#6 happen in parallel, such that sonic-net#6 executes only after sonic-net#4 and sonic-net#5.
9. Check if the config has converged.
8. Capture the P4 flow snapshot once the switch comes up.
9. Wait for traffic to complete and validate it.
10. Check if the flows have converged by comparing the p4 flow snapshots.
12. Restore the original config.

PiperOrigin-RevId: 613442854
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants