Change in vdsm[master]: tc: add command line wrappers for qdiscs, classes and filters

danken at redhat.com danken at redhat.com
Mon Sep 15 10:50:38 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: tc: add command line wrappers for qdiscs, classes and filters
......................................................................


tc: add command line wrappers for qdiscs, classes and filters

Up until now there were ad-hoc wrappers in __init__.py for the cases
in which we needed to perform an operation.

This patch adds to each of the entities modules:
    - cls
    - filter
    - qdisc
some more generic operations:
    - add (except filter, can use replace instead)
    - delete
    - replace
    - show

With these new wrappers, it will be possible to start the
integration of addNetwork/delNetwork with tc to implement the QoS
flow.

Change-Id: Icd45c12b3b2eef5f1c3abec784257ee51e118ac9
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/30197
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/tcTests.py
M vdsm/network/tc/__init__.py
M vdsm/network/tc/cls.py
M vdsm/network/tc/filter.py
M vdsm/network/tc/qdisc.py
5 files changed, 129 insertions(+), 37 deletions(-)

Approvals:
  Antoni Segura Puimedon: Verified
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/30197
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd45c12b3b2eef5f1c3abec784257ee51e118ac9
Gerrit-PatchSet: 12
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list