Skip to content

Commit 9ed036d

Browse files
e2e: remove features config from controller entrypoint
Config non-nil causes tunnel.tmpl to emit 'no traffic-engineering' cleanup lines in all non-flex-algo tests, breaking IBRL fixture comparisons.
1 parent 1e48cde commit 9ed036d

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

e2e/docker/controller/entrypoint.sh

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,5 @@ if [ -n "${ALLOY_PROMETHEUS_URL:-}" ]; then
2525
alloy run /etc/alloy/config.alloy &
2626
fi
2727

28-
# Write the features config on first start (preserve across restarts so step-9
29-
# enable can be applied by editing the file and restarting the container).
30-
FEATURES_CONFIG=/etc/doublezero-controller/features.yaml
31-
if [ ! -f "${FEATURES_CONFIG}" ]; then
32-
mkdir -p /etc/doublezero-controller
33-
cat > "${FEATURES_CONFIG}" << 'EOF'
34-
features:
35-
flex_algo:
36-
enabled: false
37-
link_tagging:
38-
exclude:
39-
links: []
40-
community_stamping:
41-
all: false
42-
tenants: []
43-
devices: []
44-
exclude:
45-
devices: []
46-
EOF
47-
fi
48-
4928
# Start the controller.
50-
doublezero-controller start -listen-addr 0.0.0.0 -listen-port 7000 -program-id ${DZ_SERVICEABILITY_PROGRAM_ID} -solana-rpc-endpoint ${DZ_LEDGER_URL} -device-local-asn 65342 -no-hardware -features-config ${FEATURES_CONFIG}
29+
doublezero-controller start -listen-addr 0.0.0.0 -listen-port 7000 -program-id ${DZ_SERVICEABILITY_PROGRAM_ID} -solana-rpc-endpoint ${DZ_LEDGER_URL} -device-local-asn 65342 -no-hardware

0 commit comments

Comments
 (0)