Skip to content

Commit e738c37

Browse files
committed
GNOI Cold Reboot.
1 parent a341620 commit e738c37

File tree

176 files changed

+52001
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+52001
-14
lines changed

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,9 @@
124124
[submodule "platform/innovium/sonic-platform-marvell"]
125125
path = platform/innovium/sonic-platform-marvell
126126
url = https://github.com/Marvell-switching/sonic-platform-marvell
127+
[submodule "src/sonic-framework/gnoi"]
128+
path = src/sonic-framework/gnoi
129+
url = https://github.com/openconfig/gnoi
130+
[submodule "gnoi"]
131+
path = gnoi
132+
url = https://github.com/openconfig/gnoi

Makefile.work

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ SONIC_OVERRIDE_BUILD_VARS += SONIC_VERSION_CACHE=$(SONIC_VERSION_CACHE)
193193
SONIC_OVERRIDE_BUILD_VARS += SONIC_VERSION_CACHE_SOURCE=$(SONIC_VERSION_CACHE_SOURCE)
194194
export SONIC_VERSION_CACHE SONIC_VERSION_CACHE_SOURCE
195195
$(shell test -d $(SONIC_VERSION_CACHE_SOURCE) || \
196-
mkdir -p $(SONIC_VERSION_CACHE_SOURCE) && chmod -f 777 $(SONIC_VERSION_CACHE_SOURCE) 2>/dev/null )
196+
sudo mkdir -p $(SONIC_VERSION_CACHE_SOURCE) && chmod -f 777 $(SONIC_VERSION_CACHE_SOURCE) 2>/dev/null )
197197

198198
# Generate the version control build info
199199
$(shell \
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{% from "dockers/dockerfile-macros.j2" import install_debian_packages, install_python_wheels, copy_files %}
2+
FROM docker-config-engine-bullseye-{{DOCKER_USERNAME}}:{{DOCKER_USERTAG}}
3+
4+
ARG docker_container_name
5+
RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%syslogtag%/;" /etc/rsyslog.conf
6+
7+
## Make apt-get non-interactive
8+
ENV DEBIAN_FRONTEND=noninteractive
9+
10+
RUN apt-get update && \
11+
apt-get install -f -y \
12+
libdbus-1-3 \
13+
libdbus-c++-1-0v5
14+
15+
{% if docker_framework_debs.strip() -%}
16+
# Copy locally-built Debian package dependencies
17+
{{ copy_files("debs/", docker_framework_debs.split(' '), "/debs/") }}
18+
19+
# Install locally-built Debian packages and implicitly install their dependencies
20+
{{ install_debian_packages(docker_framework_debs.split(' ')) }}
21+
{%- endif %}
22+
23+
RUN apt-get clean -y && \
24+
apt-get autoclean - && \
25+
apt-get autoremove -y && \
26+
rm -rf /debs /var/lib/apt/lists/* /tmp/* ~/.cache/
27+
28+
COPY ["start.sh", "/usr/bin/"]
29+
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
30+
COPY ["files/supervisor-proc-exit-listener", "/usr/bin"]
31+
# COPY ["git_commits", "/usr"]
32+
33+
ENTRYPOINT ["/usr/local/bin/supervisord"]

dockers/docker-framework/framework.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
exec /usr/local/bin/framework --logtostderr

dockers/docker-framework/start.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
mkdir -p /var/sonic
4+
echo "# Config files managed by sonic-config-engine" > /var/sonic/config_status
+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[supervisord]
2+
logfile_maxbytes=1MB
3+
logfile_backups=2
4+
loglevel=warn
5+
nodaemon=true
6+
7+
[eventlistener:dependent-startup]
8+
command=python3 -m supervisord_dependent_startup --log-level warn
9+
autostart=true
10+
autorestart=unexpected
11+
stdout_logfile=syslog
12+
stderr_logfile=syslog
13+
startretries=0
14+
exitcodes=0,3
15+
events=PROCESS_STATE
16+
buffer_size=50
17+
18+
[eventlistener:supervisor-proc-exit-listener]
19+
command=/usr/bin/supervisor-proc-exit-listener --container-name framework
20+
events=PROCESS_STATE_EXITED
21+
autostart=true
22+
autorestart=unexpected
23+
stdout_logfile=syslog
24+
stderr_logfile=syslog
25+
26+
[program:rsyslogd]
27+
command=/usr/sbin/rsyslogd -n -iNONE
28+
priority=1
29+
autostart=false
30+
autorestart=unexpected
31+
stdout_logfile=syslog
32+
stderr_logfile=syslog
33+
dependent_startup=true
34+
35+
[program:start]
36+
command=/usr/bin/start.sh
37+
priority=2
38+
autostart=false
39+
autorestart=false
40+
startsecs=0
41+
stdout_logfile=syslog
42+
stderr_logfile=syslog
43+
dependent_startup=true
44+
dependent_startup_wait_for=rsyslogd:running
45+
46+
[program:rebootbackend]
47+
command=/usr/bin/rebootbackend
48+
priority=3
49+
autostart=false
50+
autorestart=true
51+
stdout_logfile=syslog
52+
stderr_logfile=syslog
53+
dependent_startup=true
54+
dependent_startup_wait_for=start:exited
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
1+
adduser==3.118+deb11u1
2+
apt==2.2.4
3+
apt-utils==2.2.4
4+
base-files==11.1+deb11u9
5+
base-passwd==3.5.51
6+
bash==5.1-2+deb11u1
7+
bsdutils==1:2.36.1-8+deb11u2
8+
ca-certificates==20210119
9+
coreutils==8.32-4+b1
10+
curl==7.74.0-1.3+deb11u11
11+
dash==0.5.11+git20200708+dd9ef66-5
12+
debconf==1.5.77
13+
debian-archive-keyring==2021.1.1+deb11u1
14+
debianutils==4.11.2
15+
diffutils==1:3.7-5
16+
dpkg==1.20.13
17+
dpkg-dev==1.20.13
18+
e2fsprogs==1.46.2-2
19+
findutils==4.8.0-1
20+
framework==1.0.0
21+
framework-dbg==1.0.0
22+
gcc-10-base==10.2.1-6
23+
gcc-9-base==9.3.0-22
24+
gdb==10.1-1.7
25+
gdbserver==10.1-1.7
26+
gpgv==2.2.27-2+deb11u2
27+
grep==3.6-1+deb11u1
28+
gzip==1.10-4+deb11u1
29+
hostname==3.23
30+
init-system-helpers==1.60
31+
iproute2==5.10.0-4
32+
jq==1.6-2.1
33+
less==551-2+deb11u2
34+
libabsl20200923==0~20200923.3-2
35+
libacl1==2.2.53-10
36+
libapt-pkg6.0==2.2.4
37+
libatomic1==10.2.1-6
38+
libattr1==1:2.4.48-6
39+
libaudit-common==1:3.0-2
40+
libaudit1==1:3.0-2
41+
libbabeltrace1==1.5.8-1+b3
42+
libblkid1==2.36.1-8+deb11u2
43+
libboost-regex1.74.0==1.74.0-9
44+
libboost-serialization1.74.0==1.74.0-9
45+
libbpf0==1:0.3-3
46+
libbrotli1==1.0.9-2+b2
47+
libbsd0==0.11.3-1+deb11u1
48+
libbz2-1.0==1.0.8-4
49+
libc-ares2==1.17.1-1+deb11u3
50+
libc-bin==2.31-13+deb11u10
51+
libc6==2.31-13+deb11u10
52+
libcap-ng0==0.7.9-2.2+b1
53+
libcap2==1:2.44-1
54+
libcap2-bin==1:2.44-1
55+
libcbor0==0.5.0+dfsg-2
56+
libcom-err2==1.46.2-2
57+
libcrypt1==1:4.4.18-4
58+
libcurl3-gnutls==7.74.0-1.3+deb11u11
59+
libcurl4==7.74.0-1.3+deb11u11
60+
libdaemon0==0.14-7.1
61+
libdb5.3==5.3.28+dfsg1-0.8
62+
libdbus-1-3==1.12.28-0+deb11u1
63+
libdbus-c++-1-0v5==0.9.0-8.2
64+
libdebconfclient0==0.260
65+
libdebuginfod1==0.183-1
66+
libdw1==0.183-1
67+
libecore1==1.25.1-1
68+
libedit2==3.1-20191231-2+b1
69+
libeina1a==1.25.1-1
70+
libelf1==0.183-1
71+
libestr0==0.1.10-2.1+b1
72+
libexpat1==2.2.10-2+deb11u5
73+
libext2fs2==1.46.2-2
74+
libfastjson4==0.99.9-1
75+
libffi7==3.3-6
76+
libfido2-1==1.6.0-2
77+
libgcc-s1==10.2.1-6
78+
libgcrypt20==1.8.7-6
79+
libgdbm-compat4==1.19-2
80+
libgdbm6==1.19-2
81+
libglib2.0-0==2.66.8-1+deb11u3
82+
libgmp10==2:6.2.1+dfsg-1+deb11u1
83+
libgnutls30==3.7.1-5+deb11u4
84+
libgpg-error0==1.38-2
85+
libgpm2==1.20.7-8
86+
libgrpc++1==1.30.2-3
87+
libgrpc10==1.30.2-3
88+
libgssapi-krb5-2==1.18.3-6+deb11u4
89+
libhiredis0.14==0.14.1-1
90+
libhiredis0.14-dbgsym==0.14.1-1
91+
libhogweed6==3.7.3-1
92+
libicu67==67.1-7
93+
libidn2-0==2.3.0-5
94+
libipt2==2.0.3-1
95+
libjansson4==2.13.1-1.1
96+
libjemalloc2==5.2.1-3
97+
libjq1==1.6-2.1
98+
libjs-jquery==3.5.1+dfsg+~3.5.5-7
99+
libk5crypto3==1.18.3-6+deb11u4
100+
libkeyutils1==1.6.1-2
101+
libkrb5-3==1.18.3-6+deb11u4
102+
libkrb5support0==1.18.3-6+deb11u4
103+
libldap-2.4-2==2.4.57+dfsg-3+deb11u1
104+
liblognorm5==2.0.5-1.1
105+
liblua5.1-0==5.1.5-8.1+b3
106+
liblz4-1==1.9.3-2
107+
liblzf1==3.6-3
108+
liblzma5==5.2.5-2.1~deb11u1
109+
libmd0==1.0.3-3
110+
libmnl0==1.0.4-3
111+
libmount1==2.36.1-8+deb11u2
112+
libmpdec3==2.5.1-1
113+
libmpfr6==4.1.0-3
114+
libncurses6==6.2+20201114-2+deb11u2
115+
libncursesw6==6.2+20201114-2+deb11u2
116+
libnettle8==3.7.3-1
117+
libnghttp2-14==1.43.0-1+deb11u1
118+
libnl-3-200==3.5.0-1
119+
libnl-cli-3-200==3.5.0-1
120+
libnl-genl-3-200==3.5.0-1
121+
libnl-nf-3-200==3.5.0-1
122+
libnl-route-3-200==3.5.0-1
123+
libnorm1==1.5.9+dfsg-2
124+
libnsl2==1.3.0-2
125+
libonig5==6.9.6-1.1
126+
libp11-kit0==0.23.22-1
127+
libpam-modules==1.4.0-9+deb11u1
128+
libpam-modules-bin==1.4.0-9+deb11u1
129+
libpam-runtime==1.4.0-9+deb11u1
130+
libpam0g==1.4.0-9+deb11u1
131+
libpcre2-8-0==10.36-2+deb11u1
132+
libpcre3==2:8.39-13
133+
libperl5.32==5.32.1-4+deb11u3
134+
libpgm-5.3-0==5.3.128~dfsg-2
135+
libprocps8==2:3.3.17-5
136+
libprotobuf-dev==3.21.12-3
137+
libprotobuf-lite32==3.21.12-3
138+
libprotobuf32==3.21.12-3
139+
libprotoc32==3.21.12-3
140+
libpsl5==0.21.0-1.2
141+
libpython3-stdlib==3.9.2-3
142+
libpython3.9==3.9.2-1
143+
libpython3.9-minimal==3.9.2-1
144+
libpython3.9-stdlib==3.9.2-1
145+
libreadline8==8.1-1
146+
librtmp1==2.4+20151223.gitfa8646d.1-2+b2
147+
libsasl2-2==2.1.27+dfsg-2.1+deb11u1
148+
libsasl2-modules-db==2.1.27+dfsg-2.1+deb11u1
149+
libseccomp2==2.5.1-1+deb11u1
150+
libselinux1==3.1-3
151+
libsemanage-common==3.1-1
152+
libsemanage1==3.1-1+b2
153+
libsepol1==3.1-1
154+
libsmartcols1==2.36.1-8+deb11u2
155+
libsodium23==1.0.18-1
156+
libsource-highlight-common==3.1.9-3
157+
libsource-highlight4v5==3.1.9-3+b1
158+
libsqlite3-0==3.34.1-3
159+
libss2==1.46.2-2
160+
libssh2-1==1.9.0-2
161+
libssl1.1==1.1.1w-0+deb11u1
162+
libstdc++6==10.2.1-6
163+
libswsscommon==1.0.0
164+
libswsscommon-dbgsym==1.0.0
165+
libsystemd0==247.3-7+deb11u4
166+
libtasn1-6==4.16.0-2+deb11u1
167+
libtinfo6==6.2+20201114-2+deb11u2
168+
libtirpc-common==1.3.1-1+deb11u1
169+
libtirpc3==1.3.1-1+deb11u1
170+
libudev1==247.3-7+deb11u4
171+
libunistring2==0.9.10-4
172+
libunwind8==1.3.2-2
173+
libuuid1==2.36.1-8+deb11u2
174+
libwrap0==7.6.q-31
175+
libxtables12==1.8.7-1
176+
libxxhash0==0.8.0-2
177+
libyang==1.0.73
178+
libyang-cpp==1.0.73
179+
libzmq5==4.3.4-1+deb11u1
180+
libzstd1==1.4.8+dfsg-2.1
181+
login==1:4.8.1-1
182+
logsave==1.46.2-2
183+
lsb-base==11.1.0
184+
lua-bitop==1.0.2-5
185+
lua-cjson==2.1.0+dfsg-2.1
186+
mawk==1.3.4.20200120-2
187+
media-types==4.0.0
188+
mount==2.36.1-8+deb11u2
189+
ncurses-base==6.2+20201114-2+deb11u2
190+
ncurses-bin==6.2+20201114-2+deb11u2
191+
net-tools==1.60+git20181103.0eebece-1
192+
netbase==6.3
193+
openssh-client==1:8.4p1-5+deb11u3
194+
openssl==1.1.1w-0+deb11u1
195+
passwd==1:4.8.1-1
196+
perl==5.32.1-4+deb11u3
197+
perl-base==5.32.1-4+deb11u3
198+
perl-modules-5.32==5.32.1-4+deb11u3
199+
procps==2:3.3.17-5
200+
protobuf-compiler==3.21.12-3
201+
python-is-python3==3.9.2-1
202+
python3==3.9.2-3
203+
python3-distutils==3.9.2-1
204+
python3-lib2to3==3.9.2-1
205+
python3-minimal==3.9.2-3
206+
python3-swsscommon==1.0.0
207+
python3-yang==1.0.73
208+
python3.9==3.9.2-1
209+
python3.9-minimal==3.9.2-1
210+
readline-common==8.1-1
211+
redis-tools==5:6.0.16-1+deb11u2
212+
rsyslog==8.2302.0-1~bpo11+1
213+
sed==4.7-1
214+
socat==1.7.4.1-3
215+
sonic-build-hooks==1.0
216+
sonic-db-cli==1.0.0
217+
sonic-eventd==1.0.0-0
218+
sshpass==1.09-1+b1
219+
strace==5.10-1
220+
sysvinit-utils==2.96-7+deb11u1
221+
tar==1.34+dfsg-1+deb11u1
222+
tzdata==2024a-0+deb11u1
223+
util-linux==2.36.1-8+deb11u2
224+
vim==2:8.2.2434-3+deb11u1
225+
vim-common==2:8.2.2434-3+deb11u1
226+
vim-runtime==2:8.2.2434-3+deb11u1
227+
vim-tiny==2:8.2.2434-3+deb11u1
228+
xxd==2:8.2.2434-3+deb11u1
229+
zlib1g==1:1.2.11.dfsg-2+deb11u2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
debian-archive.trafficmanager.net_debian-security_dists_bullseye-security==2024-05-10T08:02:59Z
2+
debian-archive.trafficmanager.net_debian_dists_bullseye-backports==2024-05-10T02:16:16Z
3+
debian-archive.trafficmanager.net_debian_dists_bullseye-updates==2024-05-10T02:16:16Z
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
async-timeout==4.0.3
2+
bitarray==1.5.3
3+
ijson==2.6.1
4+
ipaddress==1.0.23
5+
j2cli==0.3.10
6+
jinja2==3.1.4
7+
jsondiff==2.0.0
8+
lxml==4.9.1
9+
markupsafe==2.1.5
10+
natsort==6.2.1
11+
netaddr==0.8.0
12+
pip==24.0
13+
pyang==2.6.0
14+
pyangbind==0.8.1
15+
pyyaml==5.4.1
16+
redis==4.5.4
17+
redis-dump-load==1.1
18+
regex==2024.5.10
19+
setuptools==58.1.0
20+
six==1.16.0
21+
supervisor==4.2.1
22+
supervisord-dependent-startup==1.4.0
23+
tabulate==0.8.2
24+
toposort==1.10
25+
wheel==0.40.0
26+
xmltodict==0.12.0

files/build/versions/dockers/docker-gbsyncd-broncos/versions-deb-bullseye

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ libicu67==67.1-7
1717
libipt2==2.0.3-1
1818
libmpfr6==4.1.0-3
1919
libnsl-dev==1.3.0-2
20-
libprotobuf-dev==3.12.4-1+deb11u1
21-
libprotobuf-lite23==3.12.4-1+deb11u1
22-
libprotobuf23==3.12.4-1+deb11u1
20+
libprotobuf-dev==3.21.12-3
21+
libprotobuf-lite32==3.21.12-3
22+
libprotobuf32==3.21.12-3
23+
libprotoc32==3.21.12-3
2324
libsaibroncos==3.11
2425
libsaimetadata==1.0.0
2526
libsairedis==1.0.0

files/build/versions/dockers/docker-sonic-vs/versions-deb-bullseye

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ fontconfig-config==2.13.1-4.2
1313
fonts-dejavu-core==2.37-2
1414
fonts-font-awesome==5.0.10+really4.7.0~dfsg-4.1
1515
fonts-lato==2.0-2.1
16+
framework==1.0.0
1617
frr==8.5.4-sonic-0
1718
gettext-base==0.21-4
1819
gir1.2-glib-2.0==1.66.1-1+b1

0 commit comments

Comments
 (0)