Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
63672a4
[ci/build]: Upgrade SONiC package versions (#24920)
mssonicbld Mar 29, 2026
19920f2
fix: golang security and security apt upgrade (#26420)
auspham Mar 30, 2026
4586319
fix: tornato and natsever security (#26460)
auspham Apr 7, 2026
778da86
[submodule] Update submodule sonic-platform-daemons to the latest HEA…
mssonicbld Apr 8, 2026
c7ed4d3
[submodule] Update submodule sonic-swss to the latest HEAD automatica…
mssonicbld Apr 8, 2026
e6e29a6
[202505] Upgrade Broadcom xgs SAI version to 13.2.1.36 (#26481)
Gfrom2016 Apr 9, 2026
7ec3ad4
[Arista] Update thermal sensors after adding TH5 diodes in platform d…
mssonicbld Apr 9, 2026
43fbbee
[submodule] Update submodule sonic-swss to the latest HEAD automatica…
mssonicbld Apr 10, 2026
87517a2
Enable PORT PHY attribute collection by default (#26716)
mssonicbld Apr 11, 2026
8373293
[build] Fix grpcio 1.15.1 install failure in arm64 env. (#26682)
mssonicbld Apr 12, 2026
44db870
[build] Enable pip no build isolation config for swi tools (#26684)
yijingyan2 Apr 14, 2026
9fa82d4
[build] upgrade p4lang package versions (#26732)
yijingyan2 Apr 15, 2026
cf556da
[build][202505] Avoid using jsonpath_ng v1.8.0 in sonic slave image. …
yijingyan2 Apr 16, 2026
4dae75f
fix: resolve April 2026 docker-ptf security vulnerabilities (#26860)
auspham Apr 20, 2026
dd8c3d9
Update apt source list to azure mirror in docker dash-engine (#26868)
yijingyan2 Apr 20, 2026
043b744
[build] Install python3-gi in docker-sonic-vs as pygobject's dependen…
mssonicbld Apr 20, 2026
70c6c2c
[ci/build]: Upgrade SONiC package versions (#26905)
mssonicbld Apr 21, 2026
bafdd0d
chore: pin ptf_nn_agent.py to use nnpy (#26942)
mssonicbld Apr 30, 2026
168bf62
fix: security vulnerability docker-ptf (#27091)
auspham May 2, 2026
80152de
Open [202505][build] use deb.debian.org for openssh source dget (#27331)
yijingyan2 May 13, 2026
9480dca
[PrefixListMgr]: Refactor PrefixListMgr to support multiple prefix ty…
mssonicbld May 13, 2026
37897b9
fix: docker-ptf May vulnerability (#27358)
auspham May 15, 2026
da6da86
[202505][build] remove redundant pip bootstrp from docker-ptf (#27354)
yijingyan2 May 15, 2026
8288c8b
Merge branch '202505' of https://github.com/sonic-net/sonic-buildimag…
mssonicbld May 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions device/arista/x86_64-arista_7060x6_64pe/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@
{
"name": "Management Card Inlet",
"controllable": false
},
{
"name": "TH5 Diode 1",
"controllable": false
},
{
"name": "TH5 Diode 2",
"controllable": false
}
],
"sfps": [
Expand Down
2 changes: 0 additions & 2 deletions device/arista/x86_64-arista_7060x6_64pe/sensors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ bus "i2c-29" "SCD 0000:03:00.0 SMBus master 1 bus 4"
chip "max6581-i2c-25-4d"
ignore temp5
ignore temp6
ignore temp7
ignore temp8

chip "nvme-pci-0400"
# TODO: sensors complaining about tempX_min and tempX_max
Expand Down
8 changes: 8 additions & 0 deletions device/arista/x86_64-arista_7060x6_64pe_b/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@
{
"name": "Management Card Inlet",
"controllable": false
},
{
"name": "TH5 Diode 1",
"controllable": false
},
{
"name": "TH5 Diode 2",
"controllable": false
}
],
"sfps": [
Expand Down
2 changes: 0 additions & 2 deletions device/arista/x86_64-arista_7060x6_64pe_b/sensors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ bus "i2c-31" "SCD 0000:08:00.0 SMBus master 1 bus 4"
chip "max6581-i2c-27-4d"
ignore temp5
ignore temp6
ignore temp7
ignore temp8

chip "nvme-pci-0400"
# TODO: sensors complaining about tempX_min and tempX_max
Expand Down
44 changes: 33 additions & 11 deletions dockers/docker-fpm-frr/base_image_files/prefix_list
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,37 @@ check_root_privileges() {
fi
}

# Function to check if the device is supported device with type spine routers and subtype UpstreamLC
check_spine_router() {
type=$(sonic-cfggen -d -v DEVICE_METADATA.localhost.type)
subtype=$(sonic-cfggen -d -v DEVICE_METADATA.localhost.subtype)

# only supported on UpstreamLC or UpperSpineRouter
if [[ ("$type" == "SpineRouter" && "$subtype" == "UpstreamLC") || "$type" == "UpperSpineRouter" ]]; then
return
# Function to check if the device is a supported device type
DEVICE_TYPE=""
DEVICE_SUBTYPE=""

read_device_metadata() {
if [[ -z "$DEVICE_TYPE" ]]; then
DEVICE_TYPE=$(sonic-cfggen -d -v DEVICE_METADATA.localhost.type)
DEVICE_SUBTYPE=$(sonic-cfggen -d -v DEVICE_METADATA.localhost.subtype)
fi
}

echo "Operation is only supported on Upstream SpineRouter." >&2
declare -A prefix_type_devices
prefix_type_devices=(
["ANCHOR_PREFIX"]="SpineRouter:UpstreamLC UpperSpineRouter"
["SUPPRESS_PREFIX"]=""
)

validate_device_for_type() {
local prefix_type=$1
local allowed="${prefix_type_devices[$prefix_type]}"
[[ -z "$allowed" ]] && return
read_device_metadata
local device_id="$DEVICE_TYPE:$DEVICE_SUBTYPE"
for entry in $allowed; do
if [[ "$entry" == *":"* ]]; then
[[ "$device_id" == "$entry" ]] && return
else
[[ "$DEVICE_TYPE" == "$entry" ]] && return
fi
done
echo "Prefix type '$prefix_type' is not supported on device type '$DEVICE_TYPE' (subtype: '$DEVICE_SUBTYPE')." >&2
exit 1
}

Expand Down Expand Up @@ -147,7 +167,7 @@ handle_prefix_list_single() {
}

prefix_list_operations=("add" "remove" "status")
supported_prefix_types=("ANCHOR_PREFIX")
supported_prefix_types=("ANCHOR_PREFIX" "SUPPRESS_PREFIX")
# Main script execution
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
display_help
Expand All @@ -156,10 +176,12 @@ fi
if [ "$1" != "status" ]; then
check_root_privileges
fi
check_spine_router
skip_chassis_supervisor

validate_operation $1 $2
if [[ "$1" == "add" || "$1" == "remove" ]]; then
validate_device_for_type "$2"
fi

# Read SONiC immutable variables
[ -f /etc/sonic/sonic-environment ] && . /etc/sonic/sonic-environment
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ data.ipv }} prefix-list {{ data.prefix_list_name }} permit {{ data.prefix }}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no {{ data.ipv }} prefix-list {{ data.prefix_list_name }} permit {{ data.prefix }}
2 changes: 1 addition & 1 deletion dockers/docker-platform-monitor/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN apt-get install -y -t bookworm-backports \
# install any dependencies required by the Arista sonic_platform package.
# TODO: eliminate the need to install these explicitly.
RUN pip3 install grpcio==1.51.1 \
grpcio-tools==1.51.1
grpcio-tools==1.51.1 --no-build-isolation

# Barefoot platform vendors' sonic_platform packages import these Python libraries
RUN pip3 install thrift==0.13.0 netifaces
Expand Down
Loading
Loading