# Functions

Input: username (string): Username string to be used to ssh into the host inventory hosts (string): The file name of hosts file to pass to ansible playbook clusterCfg (config.ClusterDetails): Opensearch cluster details for configuring operation (string): Operation called scale_up/scale_down Description: Calls the ansible script responsible for adding a new node into the Opensearch cluster and configuring it or removing a node and shut it down Return: (error): Returns error if any.
Input: hosts (string): The file name of hosts file to pass to ansible playbook tags ([]string): List of tags to call the scaling_manager clusterCfg (config.ClusterDetails): Cluster config details to read username and domain_name Description: Calls the ansible script responsible for calling install_scaling_manager with tags specified Return: (error): Returns error if any.