tacker/samples/free5gc
Yi Feng 9d5a84c2fd Fixed some bugs for Mgmt Driver
Tested the Mgmt Driver in the Yoga version and found some bugs.

To fix these bugs, the following things have been done in this
patch:

1. When checking whether the node has k8s installed, since the
   value of result.get_stderr() is a list, an error will occur
   in the if branch, and the value needs to be modified.
2. Use the _init_commander_and_send_install_scripts function
   instead of the RemoteCommandExecutor function to prevent the
   VM from getting an error when the connection fails during
   the startup phase.
3. Added the type of exceptions caught by the
   _init_commander_and_send_install_scripts function.
4. Change the scale_stack_id to scale_out_id_list uniformly to
   solve the parameter mismatch between the input values for
   mgmt_drvier in vnflcm_driver and mgmt_driver.
5. Add modify_information_start and modify_information_end to
   Mgmt Driver.
6. When using the Mgmt Driver to modify the content of the
   haproxy configuration file, use the exact match of grep to
   find the corresponding line number.

Closes-Bug: #1976440
Change-Id: I94f011fd5061b04dff0840bf90ca10ae2a677874
2022-08-31 11:10:32 +09:00
..
cnf/sample_free5gc_cnf_package Fixed some bugs for Mgmt Driver 2022-08-31 11:10:32 +09:00
cnf_on_vm/no_affinity Fixed some bugs for Mgmt Driver 2022-08-31 11:10:32 +09:00
vnf Fixed some bugs for Mgmt Driver 2022-08-31 11:10:32 +09:00