Skip to content

Commit

Permalink
nfd-init: set workspace strategy on UCLA
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 11, 2024
1 parent 0a04aa4 commit 050b496
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/nfd/nfd-init.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo -e "Starting NFD initialization script"
sleep 10

# set default strategy to best-route (bestroute2)
{% if hyperbolic_state == "on" %}
{% if hyperbolic_state == 'on' %}
nfdc strategy set / /localhost/nfd/strategy/asf/%FD%04/max-timeouts~3
nfdc strategy set /ndn/web /localhost/nfd/strategy/asf/%FD%04/max-timeouts~5
nfdc strategy set /ndn/web/stats /localhost/nfd/strategy/best-route
Expand All @@ -26,6 +26,10 @@ nfdc strategy set /ndn/irl-workspace/32=sync /localhost/nfd/strategy
nfdc strategy set /ndn/ndncomm2024/32=sync /localhost/nfd/strategy/multicast
nfdc strategy set /ndn/localfirst/meetingnotes/32=sync /localhost/nfd/strategy/multicast

{% if inventory_hostname in ['UCLA'] %}
nfdc strategy set /ndn/irl-workspace /localhost/nfd/strategy/multicast
{% endif %}

# Default local access strategy
nfdc strategy set {{ default_prefix }} /localhost/nfd/strategy/access

Expand Down

0 comments on commit 050b496

Please sign in to comment.