Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mapping vlan skb_priority to dot1p value in vlan interfaces
to make sure 802.1p bits are rewritten as per the applied qos-config. Change-Id: Id3e20f7424b80fbc7e1d6820d1574fb3eb128bb8 Closes-Bug: 1603031
- Loading branch information
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import string | ||
|
||
template = string.Template(""" | ||
#!/bin/bash | ||
vconfig set_egress_map $__interface__ 0 0 | ||
vconfig set_egress_map $__interface__ 1 1 | ||
vconfig set_egress_map $__interface__ 2 2 | ||
vconfig set_egress_map $__interface__ 3 3 | ||
vconfig set_egress_map $__interface__ 4 4 | ||
vconfig set_egress_map $__interface__ 5 5 | ||
vconfig set_egress_map $__interface__ 6 6 | ||
vconfig set_egress_map $__interface__ 7 7 | ||
""") |