X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fplanetlab%2Fscripts%2Fpl-vif-create.py;h=b1ef4f35e68dead5be400fd4fd61f9c323cadf6a;hb=88c5b86c62dbaef9e3b2a73bf08b6c21075e12a3;hp=998ed53bdb3e265859e607ea512788b683d10bad;hpb=0b2ce43bb7573f766bb348117d089e81d2a395ff;p=nepi.git diff --git a/src/nepi/resources/planetlab/scripts/pl-vif-create.py b/src/nepi/resources/planetlab/scripts/pl-vif-create.py index 998ed53b..b1ef4f35 100644 --- a/src/nepi/resources/planetlab/scripts/pl-vif-create.py +++ b/src/nepi/resources/planetlab/scripts/pl-vif-create.py @@ -75,6 +75,9 @@ def stop_action(): return "STOP-ACK" def passfd_action(fd, args): + """ Sends the file descriptor associated to the TAP device + to another process through a unix socket. + """ address = args.pop(0) print address sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)