Skip to content
Snippets Groups Projects
Commit 91733342 authored by Alex de Cock Buning's avatar Alex de Cock Buning
Browse files

l2sm-switch: Updated initiation script for containerized process

Modified the switch subsystem to use a new initiation script that runs as a full process within the container. The script is now invoked using CMD in the Dockerfile, eliminating the direct creation of VXLANs. This change enhances the containerization approach and ensures a more streamlined and efficient initiation process.

This adjustment aligns with best practices for running processes within containers and improves the overall architecture of the switch subsystem.
parent 0e816032
No related branches found
No related tags found
1 merge request!2repo: added new directory where utils scripts will be
......@@ -6,4 +6,7 @@ ovs-vsctl --db=unix:/var/run/openvswitch/db.sock --no-wait init
ovs-vswitchd --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach
l2sm-br --n_veths=$NVETHS --node_name=$NODENAME --controller_ip=$CONTROLLERIP /etc/l2sm/switchConfig.json
l2sm-init --n_veths=$NVETHS --controller_ip=$CONTROLLERIP
#l2sm-vxlans --node_name=$NODENAME /etc/l2sm/switchConfig.json
sleep infinity
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment