Change allowed directions for QoS min-bw rule in SR-IOV

Changed allowed directions for QoS minimum bandwidth rule in
SR-IOV driver to only "egress". Currently this is the only
supported direction for this rule in this backend.

Closes-Bug: #1696679
Change-Id: Ia56146143e902663e9a47231773956ab2f035c8e
This commit is contained in:
Rodolfo Alonso Hernandez
2017-06-08 14:30:10 +01:00
parent 8d9fcb2d30
commit 48398e5347

View File

@@ -36,7 +36,7 @@ SUPPORTED_RULES = {
qos_consts.RULE_TYPE_MINIMUM_BANDWIDTH: {
qos_consts.MIN_KBPS: {
'type:range': [0, constants.DB_INTEGER_MAX_VALUE]},
qos_consts.DIRECTION: {'type:values': constants.VALID_DIRECTIONS}
qos_consts.DIRECTION: {'type:values': [constants.EGRESS_DIRECTION]}
}
}