This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform
BrynXu 311045f01f
[vs]: support virtual-chassis setup in vs docker (#4709)
virtual-chassis test uses multiple vs instances to simulate a
modular switch and a redis-chassis service is required to run on
the vs instance that represents a supervisor card.
This change allows vs docker start redis-chassis service according
to external config file.

**- Why I did it**
To support virtual-chassis setup, so that we can test distributed forwarding feature in virtual sonic environment, see `Distributed forwarding in a VOQ architecture HLD` pull request at https://github.com/Azure/SONiC/pull/622

**- How I did it**
The sonic-vs start.sh is enhanced to start new redis_chassis service if external chassis config file found. The config file doesn't exist in current vs environment, start.sh will behave like before. 

**- How to verify it**
The swss/test still pass. The chassis_db service is verified in virtual-chassis topology and tests which are in following PRs.

Signed-off-by: Honggang Xu <hxu@arista.com>
(cherry picked from commit c1d45cf81ce3238be2dcbccae98c0780944981ce)

Co-authored-by: Honggang Xu <hxu@arista.com>
2020-07-29 14:20:31 -07:00
..
barefoot [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
broadcom [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
cavium [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
centec [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
marvell [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
marvell-arm64 [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
marvell-armhf [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
mellanox [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
nephos [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
p4 [docker-orchagent]: make build depends only on sairedis package (#4880) 2020-07-12 18:08:51 +00:00
template [docker-syncd-vs]: Convert syncd-vs docker to buster (#4726) 2020-06-09 09:07:25 -07:00
vs [vs]: support virtual-chassis setup in vs docker (#4709) 2020-07-29 14:20:31 -07:00