33
44# Dependencies:
55#
6- # - ``functions`` file
7- # # ``DEST`` must be defined
8- # # ``STACK_USER`` must be defined
6+ # ``functions`` file
7+ # ``DEST`` must be defined
8+ # ``STACK_USER`` must be defined
99
1010# ``stack.sh`` calls the entry points in this order:
1111#
@@ -55,7 +55,7 @@ ODL_URL=${ODL_URL:-https://nexus.opendaylight.org/content/repositories/opendayli
5555
5656# Default arguments for OpenDaylight. This is typically used to set
5757# Java memory options.
58- # ODL_ARGS=Xmx1024m -XX:MaxPermSize=512m
58+ # `` ODL_ARGS=Xmx1024m -XX:MaxPermSize=512m``
5959ODL_ARGS=${ODL_ARGS:-"-XX:MaxPermSize=384m"}
6060
6161# How long to pause after ODL starts to let it complete booting
@@ -64,8 +64,6 @@ ODL_BOOT_WAIT=${ODL_BOOT_WAIT:-60}
6464# The physical provider network to device mapping
6565ODL_PROVIDER_MAPPINGS=${ODL_PROVIDER_MAPPINGS:-physnet1:eth1}
6666
67- # Set up default directories
68-
6967
7068# Entry Points
7169# ------------
@@ -139,6 +137,7 @@ function start_opendaylight {
139137 # The flags to ODL have the following meaning:
140138 # -of13: runs ODL using OpenFlow 1.3 protocol support.
141139 # -virt ovsdb: Runs ODL in "virtualization" mode with OVSDB support
140+
142141 # NOTE(chdent): Leaving this as screen_it instead of run_process until
143142 # the right thing for this service is determined.
144143 screen_it odl-server "cd $ODL_DIR/opendaylight && JAVA_HOME=$JHOME ./run.sh $ODL_ARGS -of13 -virt ovsdb"
0 commit comments