aboutsummaryrefslogtreecommitdiffstats
path: root/vicn/resource/linux/net_device.py
diff options
context:
space:
mode:
authorJacques Samain <jsamain+fdio@cisco.com>2017-04-10 10:58:31 +0200
committerJacques SAMAIN <jsamain+fdio@cisco.com>2017-04-10 11:22:20 +0000
commit27e84df440e187ad04bb681ae187e1a7111c8e24 (patch)
tree3458d9f237bd996447c46e28355a0ce96dc44741 /vicn/resource/linux/net_device.py
parent2021eb93cc7fd09e166fd721e8f2b814bba68bdb (diff)
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 <jsamain+fdio@cisco.com>
Diffstat (limited to 'vicn/resource/linux/net_device.py')
-rw-r--r--vicn/resource/linux/net_device.py2
1 files changed, 1 insertions, 1 deletions
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} | ' \