]pmon]: Import requests libraries for Ragile platform (#13171)

if there is no request, you need to use curl to get data from bmc, and each query needs to start a curl process. pmon is a circular query, which will pull up multiple processes in a loop, which consumes a lot. Using request does not need to pull up the process.
This commit is contained in:
pettershao-ragilenetworks 2023-01-08 13:12:13 +08:00 committed by GitHub
parent 4b933bd566
commit 3c9837b484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,9 @@ RUN pip3 install grpcio==1.39.0 \
# Barefoot platform vendors' sonic_platform packages import these Python libraries
RUN pip3 install thrift==0.13.0 netifaces
# Ragile platform vendors' sonic_platform packages import these Python libraries
RUN pip3 install requests
# We install the libpci module in order to be able to do PCI transactions
RUN pip3 install libpci