Skip to content

Commit

Permalink
Enable plugin running and turn on logs on fabric devices
Browse files Browse the repository at this point in the history
Summary: Enabled running plugin in fabric dc only devices with logging.

Reviewed By: saifhhasan

Differential Revision: D15614187

fbshipit-source-id: b1902cffed35d3d2d1920be56341b9a265cd5841
  • Loading branch information
Nanda Kishore Salem authored and facebook-github-bot committed Jun 10, 2019
1 parent 43f9bab commit 0cfa69a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openr/scripts/run_openr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ ENABLE_NETLINK_FIB_HANDLER=true
ENABLE_NETLINK_SYSTEM_HANDLER=true
ENABLE_ORDERED_FIB_PROGRAMMING=false
ENABLE_PERF_MEASUREMENT=true
ENABLE_PLUGIN=false
ENABLE_PREFIX_ALLOC=false
ENABLE_RTT_METRIC=true
ENABLE_SECURE_THRIFT_SERVER=false
Expand All @@ -82,6 +83,7 @@ KVSTORE_TTL_DECREMENT_MS=1
KVSTORE_ZMQ_HWM=65536
LINK_FLAP_INITIAL_BACKOFF_MS=1000
LINK_FLAP_MAX_BACKOFF_MS=60000
LOGGING=""
LINK_MONITOR_CMD_PORT=60006
LOOPBACK_IFACE="lo"
MEMORY_LIMIT_MB=300
Expand All @@ -103,6 +105,7 @@ TLS_ECC_CURVE_NAME="prime256v1"
TLS_TICKET_SEED_PATH=""
USE_NETLINK_MESSAGE=true
VERBOSITY=1
VMODULE=""
X509_CA_PATH=""
X509_CERT_PATH=""
X509_KEY_PATH=""
Expand Down Expand Up @@ -175,6 +178,7 @@ exec ${OPENR} \
--enable_netlink_system_handler=${ENABLE_NETLINK_SYSTEM_HANDLER} \
--enable_ordered_fib_programming=${ENABLE_ORDERED_FIB_PROGRAMMING} \
--enable_perf_measurement=${ENABLE_PERF_MEASUREMENT} \
--enable_plugin=${ENABLE_PLUGIN} \
--enable_prefix_alloc=${ENABLE_PREFIX_ALLOC} \
--enable_rtt_metric=${ENABLE_RTT_METRIC} \
--enable_secure_thrift_server=${ENABLE_SECURE_THRIFT_SERVER} \
Expand Down Expand Up @@ -202,6 +206,7 @@ exec ${OPENR} \
--link_flap_initial_backoff_ms=${LINK_FLAP_INITIAL_BACKOFF_MS} \
--link_flap_max_backoff_ms=${LINK_FLAP_MAX_BACKOFF_MS} \
--link_monitor_cmd_port=${LINK_MONITOR_CMD_PORT} \
--logging="${LOGGING}" \
--loopback_iface=${LOOPBACK_IFACE} \
--memory_limit_mb=${MEMORY_LIMIT_MB} \
--minloglevel=${MIN_LOG_LEVEL} \
Expand Down Expand Up @@ -233,4 +238,5 @@ exec ${OPENR} \
--logtostderr \
--max_log_size=1 \
--v=${VERBOSITY} \
--vmodule="${VMODULE}" \
${OPENR_ARGS}

0 comments on commit 0cfa69a

Please sign in to comment.