6 . \$(dirname \$0)/\.\./\.\./\.\./\.\./tests/reflectwarn.sh\
7 mkdir -p \$(dirname \$0)/\.\./configuration/initial/\
8 if [ -z "$USE_ODL_ALT_RESTCONF_PORT" ]; then\
11 RESTCONF_PORT=$USE_ODL_ALT_RESTCONF_PORT\
13 sed -e "s/ODL_RESTCONF_PORT/$RESTCONF_PORT/" \$(dirname \$0)/\.\./ressources/org.ops4j.pax.web._template.cfg >\$(dirname \$0)/\.\./etc/org.ops4j.pax.web.cfg\
14 sed -e "s/ODL_RESTCONF_PORT/$RESTCONF_PORT/" \$(dirname \$0)/\.\./ressources/jetty_template.xml >\$(dirname \$0)/\.\./etc/jetty.xml\
15 if [ -z "$USE_ODL_ALT_AKKA_PORT" ]; then\
18 AKKA_PORT=$USE_ODL_ALT_AKKA_PORT\
20 sed -e "s/ODL_AKKA_PORT/$AKKA_PORT/" \$(dirname \$0)/\.\./ressources/akka-default_template.conf >\$(dirname \$0)/\.\./configuration/initial/akka.conf\
21 if [ -z "$USE_ODL_ALT_SHELL_PORT" ]; then\
24 SHELL_PORT=$USE_ODL_ALT_SHELL_PORT\
26 sed -e "s/ODL_SHELL_PORT/$SHELL_PORT/" \$(dirname \$0)/\.\./ressources/org.apache.karaf.shell._template.cfg >\$(dirname \$0)/\.\./etc/org.apache.karaf.shell.cfg\
27 if [ -z "$USE_ODL_ALT_RMI_REGISTRY_PORT" ]; then\
28 RMI_REGISTRY_PORT=1099\
30 RMI_REGISTRY_PORT=$USE_ODL_ALT_RMI_REGISTRY_PORT\
32 if [ -z "$USE_ODL_ALT_RMI_SERVER_PORT" ]; then\
33 RMI_SERVER_PORT=44444\
35 RMI_SERVER_PORT=$USE_ODL_ALT_RMI_SERVER_PORT\
37 sed -e "s/ODL_RMI_REGISTRY_PORT/$RMI_REGISTRY_PORT/" -e "s/ODL_RMI_SERVER_PORT/$RMI_SERVER_PORT/" \$(dirname \$0)/\.\./ressources/org.apache.karaf.management._template.cfg >\$(dirname \$0)/\.\./etc/org.apache.karaf.management.cfg\
38 if [ -z "$USE_ODL_ALT_WEBSOCKET_PORT" ]; then\
41 WEBSOCKET_PORT=$USE_ODL_ALT_WEBSOCKET_PORT\
43 sed -e "s/ODL_WEBSOCKET_PORT/$WEBSOCKET_PORT/" \$(dirname \$0)/\.\./ressources/org.opendaylight.restconf._template.cfg >\$(dirname \$0)/\.\./etc/org.opendaylight.restconf.cfg\
46 sed 's/2550/ODL_AKKA_PORT/' ../system/org/opendaylight/controller/sal-clustering-config/*/sal-clustering-config-*-akkaconf.xml >akka-default_template.conf
47 sed 's/8181/ODL_RESTCONF_PORT/' ../etc/org.ops4j.pax.web.cfg > org.ops4j.pax.web._template.cfg
48 sed 's/8181/ODL_RESTCONF_PORT/' ../etc/jetty.xml > jetty_template.xml
49 sed 's/8101/ODL_SHELL_PORT/' ../etc/org.apache.karaf.shell.cfg > org.apache.karaf.shell._template.cfg
50 sed -e 's/1099/ODL_RMI_REGISTRY_PORT/' -e 's/44444/ODL_RMI_SERVER_PORT/' ../etc/org.apache.karaf.management.cfg > org.apache.karaf.management._template.cfg
51 sed 's/^[#|]websocket-port=8185/websocket-port=ODL_WEBSOCKET_PORT/' ../system/org/opendaylight/netconf/sal-rest-connector-config/[0-9.]*/sal-rest-connector-config-[0-9.]*-restconf.cfg >org.opendaylight.restconf._template.cfg