Skip to content

Commit 464228e

Browse files
Merge branch 'sonic-net:master' into Silverstone-X-commit-master
2 parents 5d48ff6 + 549bb3d commit 464228e

File tree

10 files changed

+26
-17
lines changed

10 files changed

+26
-17
lines changed

.github/workflows/label.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ jobs:
2222
label:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- name: approve
26-
env:
27-
GITHUB_CONTEXT: ${{ toJson(github) }}
28-
run: |
29-
set -e
30-
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
31-
url=$(echo $GITHUB_CONTEXT | jq -r '.event.pull_request._links.html.href')
32-
echo PR: $url
33-
gh pr review $url --approve
3425
- uses: actions/labeler@main
3526
with:
3627
repo-token: "${{ secrets.GITHUB_TOKEN }}"

device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/qos.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
"3": "3",
171171
"4": "4",
172172
"5": "5",
173-
"6": "6",
173+
"6": "1",
174174
"7": "7",
175175
"8": "1"
176176
},

device/common/profiles/th2/7260/BALANCED/qos.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"3": "3",
323323
"4": "4",
324324
"5": "5",
325-
"6": "6",
325+
"6": "1",
326326
"7": "7",
327327
"8": "1"
328328
},

device/common/profiles/th2/7260/RDMA-CENTRIC/qos.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
"3": "3",
322322
"4": "4",
323323
"5": "5",
324-
"6": "6",
324+
"6": "1",
325325
"7": "7",
326326
"8": "1"
327327
},

files/build_templates/tacacs-config.timer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ OnBootSec=5min 30 sec
99
Unit=tacacs-config.service
1010

1111
[Install]
12-
WantedBy=timers.target updategraph.service
12+
WantedBy=timers.target sonic.target sonic-delayed.target

files/scripts/swss.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function read_dependent_services()
3030
fi
3131

3232
if [[ -f ${ETC_SONIC_PATH}/${SERVICE}_multi_inst_dependent ]]; then
33-
MULTI_INST_DEPENDENT="${MULTI_INST_DEPENDENT} cat ${ETC_SONIC_PATH}/${SERVICE}_multi_inst_dependent"
33+
MULTI_INST_DEPENDENT="${MULTI_INST_DEPENDENT} $(cat ${ETC_SONIC_PATH}/${SERVICE}_multi_inst_dependent)"
3434
fi
3535
}
3636

@@ -308,6 +308,19 @@ function check_peer_gbsyncd()
308308
fi
309309
}
310310

311+
function check_macsec()
312+
{
313+
MACSEC_STATE=`show feature status | grep macsec | awk '{print $2}'`
314+
315+
if [[ ${MACSEC_STATE} == 'enabled' ]]; then
316+
if [ "$DEV" ]; then
317+
DEPENDENT="${DEPENDENT} macsec@${DEV}"
318+
else
319+
DEPENDENT="${DEPENDENT} macsec"
320+
fi
321+
fi
322+
}
323+
311324
if [ "$DEV" ]; then
312325
NET_NS="$NAMESPACE_PREFIX$DEV" #name of the network namespace
313326
SONIC_DB_CLI="sonic-db-cli -n $NET_NS"
@@ -319,6 +332,7 @@ else
319332
fi
320333

321334
check_peer_gbsyncd
335+
check_macsec
322336
read_dependent_services
323337

324338
case "$1" in

platform/vs/docker-sonic-vs/Dockerfile.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ RUN apt-get install -y net-tools \
7272
{%- if ENABLE_ASAN == "y" %}
7373
libasan5 \
7474
{%- endif %}
75-
libsystemd0
75+
libsystemd0 \
76+
dbus
7677

7778
# Install redis-server
7879
{% if CONFIGURED_ARCH == "armhf" %}

rules/docker-macsec.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ $(DOCKER_MACSEC)_RUN_OPT += --privileged -t
4242
$(DOCKER_MACSEC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
4343
$(DOCKER_MACSEC)_RUN_OPT += -v /host/warmboot:/var/warmboot
4444

45+
$(DOCKER_MACSEC)_SERVICE_REQUIRES = updategraph
46+
$(DOCKER_MACSEC)_SERVICE_AFTER = swss syncd
47+
4548
$(DOCKER_MACSEC)_CLI_CONFIG_PLUGIN = /cli/config/plugins/macsec.py
4649
$(DOCKER_MACSEC)_CLI_SHOW_PLUGIN = /cli/show/plugins/show_macsec.py
4750
$(DOCKER_MACSEC)_CLI_CLEAR_PLUGIN = /cli/clear/plugins/clear_macsec_counter.py

src/sonic-config-engine/tests/sample_output/py3/qos-arista7050cx3-dualtor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"3": "3",
2020
"4": "4",
2121
"5": "5",
22-
"6": "6",
22+
"6": "1",
2323
"7": "7",
2424
"8": "1"
2525
},

src/sonic-config-engine/tests/sample_output/py3/qos-arista7260-dualtor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"3": "3",
2020
"4": "4",
2121
"5": "5",
22-
"6": "6",
22+
"6": "1",
2323
"7": "7",
2424
"8": "1"
2525
},

0 commit comments

Comments
 (0)