diff --git a/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/sai.profile b/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/sai.profile new file mode 100644 index 0000000000..037b5c1353 --- /dev/null +++ b/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/sai.profile @@ -0,0 +1,3 @@ +SAI_KEY_WARM_BOOT_WRITE_FILE=/var/warmboot/sai-warmboot.bin +SAI_KEY_WARM_BOOT_READ_FILE=/var/warmboot/sai-warmboot.bin + diff --git a/device/barefoot/x86_64-accton_wedge100bf_65x-r0/mavericks/sai.profile b/device/barefoot/x86_64-accton_wedge100bf_65x-r0/mavericks/sai.profile new file mode 100644 index 0000000000..037b5c1353 --- /dev/null +++ b/device/barefoot/x86_64-accton_wedge100bf_65x-r0/mavericks/sai.profile @@ -0,0 +1,3 @@ +SAI_KEY_WARM_BOOT_WRITE_FILE=/var/warmboot/sai-warmboot.bin +SAI_KEY_WARM_BOOT_READ_FILE=/var/warmboot/sai-warmboot.bin + diff --git a/platform/barefoot/docker-syncd-bfn-rpc.mk b/platform/barefoot/docker-syncd-bfn-rpc.mk index 9ef1839b55..c9eb5418a5 100644 --- a/platform/barefoot/docker-syncd-bfn-rpc.mk +++ b/platform/barefoot/docker-syncd-bfn-rpc.mk @@ -14,3 +14,4 @@ $(DOCKER_SYNCD_BFN_RPC)_CONTAINER_NAME = syncd $(DOCKER_SYNCD_BFN_RPC)_RUN_OPT += --net=host --privileged -t $(DOCKER_SYNCD_BFN_RPC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf $(DOCKER_SYNCD_BFN_RPC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro +$(DOCKER_SYNCD_BFN_RPC)_RUN_OPT += -v /host/warmboot:/var/warmboot diff --git a/platform/barefoot/docker-syncd-bfn.mk b/platform/barefoot/docker-syncd-bfn.mk index 8fa7a30e2c..d015b70bad 100644 --- a/platform/barefoot/docker-syncd-bfn.mk +++ b/platform/barefoot/docker-syncd-bfn.mk @@ -14,3 +14,4 @@ $(DOCKER_SYNCD_BFN)_CONTAINER_NAME = syncd $(DOCKER_SYNCD_BFN)_RUN_OPT += --net=host --privileged -t $(DOCKER_SYNCD_BFN)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf $(DOCKER_SYNCD_BFN)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro +$(DOCKER_SYNCD_BFN)_RUN_OPT += -v /host/warmboot:/var/warmboot