Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

libyang env path update #16

Merged
merged 1 commit into from
Jul 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions dockers/docker-sonic-mgmt-framework/rest-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ REST_SERVER_ARGS="-ui /rest_ui -logtostderr"
echo "REST_SERVER_ARGS = $REST_SERVER_ARGS"


#export LIBYANG_EXTENSIONS_PLUGINS_DIR
export CVL_SCHEMA_PATH=/usr/sbin/schema
export LIBYANG_EXTENSIONS_PLUGINS_DIR=/usr/sbin/lib
export LIBYANG_USER_TYPES_PLUGINS_DIR=/usr/sbin/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PATH:/usr/sbin/lib
export LIBYANG_EXTENSIONS_PLUGINS_DIR=/usr/lib/x86_64-linux-gnu/libyang/extensions
export LIBYANG_USER_TYPES_PLUGINS_DIR=/usr/lib/x86_64-linux-gnu/libyang/user_types

exec /usr/sbin/rest_server ${REST_SERVER_ARGS}
#while [ true ]; do sleep 1; done