integ/utilities/platform-util/scripts
Steven Webster 01f5fdd274 Traffic control: fix TC filters for vlan sub-interface
Sometime after kernel 3.10.0-514.16.1.X, tc filter commands no longer
match 802.1q packets when the filter protocol is set to 'ip'.

This poses a problem for a consolidated (eg. infra w/ vlan over
management) interface configuration.

The tc filter will operate properly on the vlan interface, but all
traffic will go to the default qdisc (low priority) when it arrives
with a vlan tag at the sub-interface.

This commit sets the filter protocol to '802.1q' in the case of a
subinterface with a vlan tagged interface ontop of it.

Some bashate cleanup has also been done on this file.

Closes-Bug: #1807055
Change-Id: I457faa2b56bbd270c104cc0313ffe3cc1bfd4db3
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2018-12-11 11:50:47 -05:00
..
LICENSE Relocate platform-util to stx-integ/utilities/platform-util 2018-08-01 12:26:20 -04:00
cgcs_tc_setup.sh Traffic control: fix TC filters for vlan sub-interface 2018-12-11 11:50:47 -05:00
connectivity_test Relocate platform-util to stx-integ/utilities/platform-util 2018-08-01 12:26:20 -04:00
opt-platform.mount Relocate platform-util to stx-integ/utilities/platform-util 2018-08-01 12:26:20 -04:00
opt-platform.service Relocate platform-util to stx-integ/utilities/platform-util 2018-08-01 12:26:20 -04:00
patch-restart-haproxy Relocate platform-util to stx-integ/utilities/platform-util 2018-08-01 12:26:20 -04:00
patch-restart-mtce Implement Active-Active Heartbeat as HA Improvement 2018-11-14 20:19:41 +00:00
patch-restart-processes Barbican integration into logging/patching mechanisms. 2018-11-30 13:23:13 -05:00
remotelogging_tc_setup.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00