From 27e84df440e187ad04bb681ae187e1a7111c8e24 Mon Sep 17 00:00:00 2001 From: Jacques Samain Date: Mon, 10 Apr 2017 10:58:31 +0200 Subject: Adding the capability to create link between two containers on two physically distant servers plus: small typo fix in net_device.py Change-Id: I40ccf95e1fa81089b30a853d02bb47aab6223a90 Signed-off-by: Jacques Samain --- vicn/resource/linux/net_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vicn/resource/linux/net_device.py') diff --git a/vicn/resource/linux/net_device.py b/vicn/resource/linux/net_device.py index 84a946a4..09e56084 100644 --- a/vicn/resource/linux/net_device.py +++ b/vicn/resource/linux/net_device.py @@ -64,7 +64,7 @@ CMD_SET_UP = 'ip link set {netdevice.device_name} {up_down}' CMD_SET_CAPACITY='\n'.join([ 'tc qdisc del dev {netdevice.device_name} root || true', 'tc qdisc add dev {netdevice.device_name} root handle 1: tbf rate ' - '{netdevice.capacity}Mbit burst {burst}kb latency 70ms' + '{netdevice.capacity}Mbit burst {burst}kb latency 70ms', 'tc qdisc add dev {netdevice.device_name} parent 1:1 codel', ]) CMD_GET_PCI_ADDRESS='ethtool -i {netdevice.device_name} | ' \ -- cgit 1.2.3-korg