This patch helps to avoid an error during vrouter module upgrade.
Target error: "modprobe: ERROR: could not insert 'vrouter':
Cannot allocate memory".
It adds additional instructions (free up memory)
before loading vrouter module according to official recomendation
from Juniper [1].
Also it fixes KERNEL_MODULE_RELOAD command in OC 3.2 -> 4.0 upgrade
pipeline: there will not be 'supervisor-vrouter' service after
upgrade as contrail services are managed by systemd starting from OC 4.0.
[1] https://github.com/Juniper/contrail-controller/wiki/Vrouter-Module-Parameters
Related-bug: PROD-23459
Change-Id: I31cbb7bbdc598fbae6a37eaab41edf5eb1e698b6
2 files changed