This commit fixes a couple of issues surrounding the main StarlingX
traffic control script. The following has been changed:
- The name of the script has been changed to remove the 'cgcs_'
prefix
- Obsolete code involving the (old) infrastructure network and
related consolidation with the management interface has been
removed.
- There is no more class/qdisc for live-migration, since that
traffic now runs over the cluster-host network. It should
be prioritized via a kubernetes network policy instead.
(not in this commit)
- The code has been cleaned up to define the handles and qdisc
parameters globally so they can be changed once instead of
in each tc command.
- SM heartbeats are treated as high priority traffic. Previously,
we were only treating a tos of 0x10 (low delay) as high priority
traffic, while SM uses a DSCP value of 0xc0.
- The script now handles IPv6
Closes-Bug: #1839386
Change-Id: I32cd58842865d8c8efe9444b23b05a96f1df168a
Signed-off-by: Steven Webster <steven.webster@windriver.com>