Skip to content

Commit 081734a

Browse files
authored
Merge pull request bn222#263 from SalDaniele/main
Move to latest p4 container
2 parents 2df7c7a + 326edb8 commit 081734a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

extraConfigDpu.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,13 @@ def ExtraConfigDpu(cc: ClustersConfig, cfg: ExtraConfigArgs, futures: dict[str,
171171
if isinstance(vendor_plugin, IpuPlugin):
172172
# TODO: Remove when this container is properly started by the vsp
173173
# We need to manually start the p4 sdk container currently for the IPU plugin
174-
img = "quay.io/sdaniele/intel-ipu-p4-sdk:temp_wa_5-28-24"
174+
p4_img = "wsfd-advnetlab239.anl.eng.bos2.dc.redhat.com:5000/intel-ipu-p4-sdk:10-9-2024"
175+
lh.run_or_die(f"podman pull --tls-verify=false {p4_img}")
176+
lh.run_or_die(f"podman tag {p4_img} {imgReg.url}/intel-ipu-p4-sdk:10-9-2024")
177+
lh.run_or_die(f"podman push {imgReg.url}/intel-ipu-p4-sdk:10-9-2024")
175178
uname = acc.run("uname -r").out.strip()
176179
logger.info("Manually starting P4 container")
177-
cmd = f"podman run --network host -d --privileged --entrypoint='[\"/bin/sh\", \"-c\", \"sleep 5; sh /entrypoint.sh\"]' -v /lib/modules/{uname}:/lib/modules/{uname} -v data1:/opt/p4 {img}"
180+
cmd = f"podman run --network host -d --privileged --entrypoint='[\"/bin/sh\", \"-c\", \"sleep 5; sh /entrypoint.sh\"]' -v /lib/modules/{uname}:/lib/modules/{uname} -v data1:/opt/p4 {imgReg.url}/intel-ipu-p4-sdk:10-9-2024"
178181
acc.run_or_die(cmd)
179182
# Build on the ACC since an aarch based server is needed for the build
180183
# (the Dockerfile needs to be fixed to allow layered multi-arch build

0 commit comments

Comments
 (0)