sonic-buildimage/platform/p4/docker-sonic-p4
shi-su f3feb56c8a
Add switch for synchronous mode (#5237)
Add a master switch so that the sync/async mode can be configured.
Example usage of the switch:
1.  Configure mode while building an image
    `make ENABLE_SYNCHRONOUS_MODE=y <target>`
2. Configure when the device is running 
    Change CONFIG_DB with `sonic-cfggen -a '{"DEVICE_METADATA":{"localhost": {"synchronous_mode": "enable"}}}' --write-to-db`
    Restart swss with `systemctl restart swss`
2020-08-24 14:04:10 -07:00
..
config_bm.sh [p4]: Updated p4 bm (#1228) 2017-12-12 00:38:36 -08:00
Dockerfile.j2 Add switch for synchronous mode (#5237) 2020-08-24 14:04:10 -07:00
init_cfg.json.j2 Add switch for synchronous mode (#5237) 2020-08-24 14:04:10 -07:00
orchagent.sh Add switch for synchronous mode (#5237) 2020-08-24 14:04:10 -07:00
port_config.ini [saip4]: New p4 platform based on SAI behavioral model software switch (#1117) 2017-11-06 22:45:50 -08:00
sonic-dev.gpg.key [p4]: Updated p4 bm (#1228) 2017-12-12 00:38:36 -08:00
start.sh Add switch for synchronous mode (#5237) 2020-08-24 14:04:10 -07:00
supervisord.conf [swss] Remove "-p port_config.ini" option from the portsyncd (#3671) 2019-10-27 21:15:39 -07:00