147 Commits

Author SHA1 Message Date
Tatsuya Matsuo
7dc8459f11 xcvrd: fix the medialanes to set tx disable fields
This change always sets OutputDisableTx fields for all medialanes. This
allows for consistent datapath state machine between the medialanes. Also,
This change includes a fix to increase the number of medialanes to match the
number of host interfaces.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
c14a3e00cc xcvrd: support appl that use multiple host interfaces
This change supports appl that use multiple host interfaces. This allows
xcvrd to convert the lanes number in the config database to the hostlane
number and control the hostlane to be used. Also, when using appl with
multiple interfaces, set the correct DataPathID for each hostlane.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
5c6e920bc6 xcvrd: volatize redis
This change moves redis data file to volatile area and stops redis cache
generation. This is to avoid mismatches between sysrepo and redis when the
system restarts.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
133ce68e03 xcvrd: reduce image volume 2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
3d6bfebe48 xcvrd: reduce redis loglevel to notice
This change reduces redis loglevel from verbose to notice to reduces disk
writes.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
7b1e560bbc xcvrd: modify datapath state machine retries to unlimited
This change modifies datapath state machine retries from 3 to unlimited.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
25d71ee142 xcvrd: remove unnecessary file 2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
e1e38fb11f xcvrd: fix Dockerfile
This change fixes Dockerfile for building xcvrd. This includes adding
packages and changing formats due to updates to sonic-buildimage-xcvrd
submodule.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
56a9d588df xcvrd: replace swsssdk with swsscommon
This change replaces the API used for initial DB settings when starting
xcvrd from swsssdk to swsscommon. According to SONiC, swsssdk will be
deprecated and swsscommon is recommended.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
921adee1bf xcvrd: organize patches
This change separates sonic-buildimage-xcvrd patches by functionality. Also,
apply the changes to the patch according to the update of the
sonic-buildimage-xcvrd submodule.
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
73e44da173 xcvrd: update sm/sonic-buildimage-xcvrd to 202305 branch
This change updates sonic-buildimage-xcvrd submodule from 202205 branch (da8bc0bb)
to 202305 branch (53bcdcde).
2024-12-09 20:06:16 +09:00
KazuyaAnazawa
68ff55829d xcvrd: modifications to use onlp_shlock APIs 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
b77a3f2ce8 xcvrd: add hostIPC:true on manifest 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
bf7f0fe40c south-onlp: add hostIPC:true on manifest 2024-12-09 20:06:16 +09:00
Yuji Hata
ce000f1d15 ocnos: add hostip:true to ocnos.yaml 2024-12-09 20:06:16 +09:00
Ryosuke Kato
70a1157c34 Loading libtai-xxx.so on GFT (#36)
* Update README.md

'multiarch/qemu-user-static --reset -p' requires an argument.
and if you use docker belong with docker group ,  this command is not works well. It requires high privilege as a root.

* Update exec.py

* Create cfp2dco.json

* Update README.md

* Update cfp2dco.json (fix typo)
2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
7ca373a396 as7946-30xb: add files and startup process for xcvrd 2024-12-09 20:06:16 +09:00
Tatsuya Matsuo
0d78d4ca5b xcvrd: support xcvrd
This change adds xcvrd package. Users can use it to monitor and operate
transponder modules.
2024-12-09 20:06:16 +09:00
Wataru Ishida
489c6b1ae7 tai: fix build
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2024-12-09 20:06:16 +09:00
Wataru Ishida
f7eb9e6f66 mgmt: fix build
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2024-12-09 20:06:16 +09:00
Wataru Ishida
347f642559 usonic: update container image
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2024-12-09 20:06:16 +09:00
KazuyaAnazawa
72ff6488f2 as7316-26xb: enabled gs-south-ocnos 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
bf266a5776 as7316-26xb: enabled south target and south-onlp 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
a14b75d484 as7946-30xb: enabled gs-south-ocnos 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
c1f51a62f0 as7946-30xb: enabled south target and south-onlp 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
3137994670 south-ocnos: defined gs-south-ocnos service 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
453676e263 wtp-01-c1-00: enable xlate-or on GFT/arm64 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
5447a7c7ae wtp-01-c1-00: add port mapping info for xlate-or 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
9c8f54a110 wtp-01-c1-00: add operational modes supported by xlate-or 2024-12-09 20:06:16 +09:00
KazuyaAnazawa
d19520f233 xlate-or: add package gs-xlate-or 2024-12-09 20:06:16 +09:00
Kazuya Anazawa
049d5cb06f Goldstone support for as7946-30xb platform (#26)
* Goldstone support for as7946-30xb platform

* sm/ONL: updated to include AS7946-30XB support
2024-12-09 20:06:16 +09:00
Kazuya Anazawa
3b5112cbb4 Add ocnos package (#25)
* ocnos: add package of containerized ocnos as gs-ocnos

* wtp-01-02-00: disable ocnos service

Since the switch asic of wtp-01-02-00 (Galileo1) is assumed to be
controlled by usonic, we don't need ocnos service.

* ocnos: stop enabling ocnos.service in after-install.sh

We only enable it in init.sh of the platforms that use OcNOS.
This commit also a little bit improves init.sh of as7316-26xb.

* ocnos: removed NodePort not to expose NETCONF interface for external use

Instead of NodePort, ClusterIP is introduced to enable communication between
south-ocnos and containerized OcNOS.

* ocnos: removed static IP and hostname/subdomain
2024-12-09 20:06:16 +09:00
KazuyaAnazawa
46ff02b5ec kernels/4.19-lts: add patches
These patches are needed so that containerized OcNOS works fine on goldstone.
2024-12-09 20:06:16 +09:00
KazuyaAnazawa
106b3d8426 Goldstone support for as7316-26xb platform 2024-12-09 20:06:16 +09:00
Wataru Ishida
547d991f4f builds: support rootfs.sqsh over 2GB
ONL's switool.py and swiprep don't support files over 2GB.
Add Goldstone version to support it.

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-11-28 01:06:39 +09:00
Wataru Ishida
aebd79f3f7 python: add python3 symlink
needed by gs-yang.py

3ace4086ed (diff-e39059ab2e881a1cd01d178faaaa5d8267ff54ba1654dd99b4888801ef81ebf7R1)

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-11-28 01:06:39 +09:00
Noguchi Ko
22f293e5ef wtp-01-02-00: add supported model openconfig-telemetry 2022-11-24 17:27:48 +09:00
Noguchi Ko
e5b8106c1c wtp-01-c1-00: add supported model openconfig-telemetry 2022-11-24 17:27:48 +09:00
Noguchi Ko
6533bc1bba telemetry: add package gs-system-telemetry
This change adds a package gs-system-telemetry for the streaming
telemetry server application. It is enabled for arm64 and amd64
platforms.
2022-11-24 17:27:48 +09:00
Noguchi Ko
99f170bb7e mgmt: add gs-mgmt-system.target
This change adds a new target gs-mgmt-system to the mgmt package. The
target is for system daemons.
2022-11-24 17:27:48 +09:00
KazuyaAnazawa
69ad51b559 xlate-oc: explicitly install openconfig modules
Sometimes, the lookup of openconfig modules failed if --search-dirs is not given.
Therefore, changed to explicitly search them by giving --search-dirs option.
2022-11-24 15:23:31 +09:00
KazuyaAnazawa
a271d89a8c wtp-01-02-00: operationa-modes/gnmi-supported-models.json for xlate-oc/gnmi and enabled services 2022-11-24 15:23:31 +09:00
Noguchi Ko
e2837e8017 gnmi: add package gs-north-gnmi
This change adds a package gs-north-gnmi for the gNMI server
application and enables it for arm64 architecture.
For amd64 architecture, services related to gs-north-gnmi/xlate-oc
are disabled in init.sh.
2022-11-24 15:23:31 +09:00
Noguchi Ko
916fdb9b10 wtp-01-c1-00: add gnmi-supported-models.json for north-gnmi
This change adds a supported model configuration file for gNMI server
gnmi-supported-models.json as a platform configuration. It will be used
by north-gnmi.
2022-11-24 15:23:31 +09:00
Noguchi Ko
28f5ed41b4 xlate-oc: update manifests and units
This change adapts k8s manifests and systemd units to the latest
xlate-oc application.
2022-11-24 15:23:31 +09:00
Noguchi Ko
04de580c89 wtp-01-c1-00: add operational-modes.json for translators
This change adds a transponder operational mode configuration file
operational-modes.json as a platform configuration. This will be used by
xlate-oc and xlate-or.
2022-11-24 15:23:31 +09:00
Wataru Ishida
2171727659 initrd: extract SWI during the NOS installation
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-11-24 12:25:13 +09:00
HarshaF1
354721ecb9 Python docker-image version tag 2022-11-05 19:59:50 +09:00
Wataru Ishida
6ab5f8317c tai: improve stability
tai deployment may take time to be ready (especially in the initial
boot)

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-09-22 12:25:39 +09:00
Wataru Ishida
d83eceb1c6 cassini: fix transponder support
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-09-22 12:25:39 +09:00