Created
June 20, 2013 10:10
-
-
Save celebdor/5821656 to your computer and use it in GitHub Desktop.
create a vdsm network with QoS.. As you can see there is some problem passing the data to libvirt that makes the outbound average be used for inbound and the outbound to be ignored.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from vdsm import vdscli | |
connection = vdscli.connect() | |
connection.addNetwork('toni', '', '', ['p1p3'], {'qosInbound':{'average': '1024'}, 'qosOutbound':{'average': '2400'}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<network> | |
<name>vdsm-toni</name> | |
<uuid>f3caf14b-8e84-dc5b-efd2-be62ab0e367e</uuid> | |
<forward mode='bridge'/> | |
<bridge name='toni' /> | |
<bandwidth> | |
<inbound average='2400'/> | |
</bandwidth> | |
</network> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment