Skip to content

Commit

Permalink
Enable NETLINK_FIB_HANDLER in default configuration
Browse files Browse the repository at this point in the history
Summary:
To address issue reported on github -
#27

Changing default configuration so that it works on linux by default!

Reviewed By: hanli0612

Differential Revision: D7791997

fbshipit-source-id: c0c519244bbb5c77ad8e4ff87a71daf3c7f8d9a4
  • Loading branch information
saifhhasan authored and facebook-github-bot committed Apr 27, 2018
1 parent 100f8a3 commit 1181ff7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions openr/scripts/run_openr.sh
Expand Up @@ -7,16 +7,29 @@
# LICENSE file in the root directory of this source tree.
#

#
# NOTE
#
# Ports 60000 - 60100 needs to be reserved in system so that they are always
# free for openr to use. On linux you can do following to reserve.
# > sysctl -w net.ipv4.ip_local_reserved_ports=60000-60100
#

#
# NOTE
#
# Default OpenR configuration
# Override the ones you need in `/etc/sysconfig/openr` for custom configuration
# on the node
# on the node or pass config name to this script
# e.g. run_openr.sh /data/openr.cfg
#

#
# NOTE
#
# Change `CONFIG_STORE_FILEPATH` to path which is persistent across reboot for
# correct functioning of OpenR across reboot (e.g. preserving drain state)
# e.g. CONFIG_STORE_FILEPATH=/data/openr_config_store.bin
#

#
Expand All @@ -36,7 +49,7 @@ DOMAIN=openr
DRYRUN=false
ENABLE_FIB_SYNC=false
ENABLE_HEALTH_CHECKER=false
ENABLE_NETLINK_FIB_HANDLER=false
ENABLE_NETLINK_FIB_HANDLER=true
ENABLE_NETLINK_SYSTEM_HANDLER=true
ENABLE_PERF_MEASUREMENT=true
ENABLE_PREFIX_ALLOC=false
Expand Down

0 comments on commit 1181ff7

Please sign in to comment.