2bd3d5670b
This patch and "Sample script for deploying k8s with kubespray", "Sample script for scaling k8s with kubespray" are actually the same one. For the convenience of review, they were submitted separately. This patch is only about the content of heal k8s nodes. However, since the processing of scale_start is similar to heal_start, and the processing of scale_end is similar to the processing of heal_end, the code of scale has been refactored and the common processing is extracted as a common method. At the same time, when CNF needs to perform `heal_entire`, the configuration file of Load Balancer needs to be re-modified, so heal-related processing is added to the example MgmtDriver of CNF's `NodePort`. Because the input parameter of terminate and heal is limited, the type of this parameter is also modified. In `NFV-SOL003 v2.6.1`[1], the `additionalParams`'s type is `KeyValuePairs`, so we changed the additionalParams's type from `list` to `dict` in heal_vnf_request. In order not to affect the original function, we modified the original additional_params to legacy_additional_params and retained the original processing, and revised the UT code. [1] https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.06.01_60/gs_NFV-SOL003v020601p.pdf Implements: blueprint k8s-mgmtdriver-kubespray Change-Id: Ibf8b56904b1326f5c7d323c9295d10e303f4b4b8