-
Stratos Psomadakis authored
ebtables cannot handle multiple userspace ebtables processes running concurrently. This could lead to failures while setting up or cleaning up ebtables for VM networks. ebtables latest release (included in Debian Wheezy) supports ebtables command seriliazation with the --concurrent cmdline option (which uses flock). In order to make sure that snf-network works with older versions of ebtables, we wrap the ebtables commands around a Python helper script which serializes the excecution of any processes on a host machine by waiting until successfully binding on a TCPv4 port on localhost (for more information see the runlocked script).
1409faba