Difference between revisions of "How to run a simulation of a control plane with ERSAP backend"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<pre> | <pre> | ||
export GRPC_INSTALL_DIR=/daqfs/gRPC/installation | export GRPC_INSTALL_DIR=/daqfs/gRPC/installation | ||
+ | export GRPC_JAVA_INSTALL_DIR=/daqfs/gRPC/java_installation | ||
export PATH="$GRPC_INSTALL_DIR/bin:$PATH" | export PATH="$GRPC_INSTALL_DIR/bin:$PATH" | ||
export LD_LIBRARY_PATH="$GRPC_INSTALL_DIR/lib:$LD_LIBRARY_PATH" | export LD_LIBRARY_PATH="$GRPC_INSTALL_DIR/lib:$LD_LIBRARY_PATH" | ||
Line 12: | Line 13: | ||
</blockquote> | </blockquote> | ||
− | ::To make things easy, the ET lib has been copied into $GRPC_INSTALL_DIR/lib, includes into $GRPC_INSTALL_DIR/include, and executables into $GRPC_INSTALL_DIR/bin | + | ::To make things easy, for c++ the ET lib has been copied into $GRPC_INSTALL_DIR/lib, includes into $GRPC_INSTALL_DIR/include, and executables into $GRPC_INSTALL_DIR/bin |
− | :: | + | ::The ET jar file has been copied into $GRPC_JAVA_INSTALL_DIR/jars |
− | |||
− | |||
<blockquote> | <blockquote> |
Revision as of 18:25, 3 January 2023
- Start with the gRPC installation directory and define some environmental variables
export GRPC_INSTALL_DIR=/daqfs/gRPC/installation export GRPC_JAVA_INSTALL_DIR=/daqfs/gRPC/java_installation export PATH="$GRPC_INSTALL_DIR/bin:$PATH" export LD_LIBRARY_PATH="$GRPC_INSTALL_DIR/lib:$LD_LIBRARY_PATH"
- To make things easy, for c++ the ET lib has been copied into $GRPC_INSTALL_DIR/lib, includes into $GRPC_INSTALL_DIR/include, and executables into $GRPC_INSTALL_DIR/bin
- The ET jar file has been copied into $GRPC_JAVA_INSTALL_DIR/jars
export GRPC_INSTALL_DIR=/daqfs/gRPC/installation export PATH="$GRPC_INSTALL_DIR/bin:$PATH" export LD_LIBRARY_PATH="$GRPC_INSTALL_DIR/lib:$LD_LIBRARY_PATH"
- Start by Running the ET system.
Now that it compiles, as an example, implement ERSAP backend reassembler communication of fifo fill percentage to load-balancer control plane
- Rename a few files and directories, from helloworld to loadBalancerControl (or whatever you want)