The Changes done are
1.Used log function intead of print
2.Added file_path as a argument in createResourceYaml function
3.Removed the name component from all dictionary .
4.Changed list server_set ,earlier it was the list of dictionaries ,changed to list of strings
5.Used eval while updating dictionary.
6.Used wtYaml function to append data to file
7.Added return code 0 or 100 in createResourceYaml so that the failure can be sent back to resource spawner so that a rollback can be initiated.
Update floating ip retrieval code for deletion

Previously, the code that was getting the floating
ip code was incorrectly returning the entire row
and not the desired field.

This commit adds an awk statement to capture only
the desired field.
Improved the code so that failure can be sent back to resource spawner
1.Used log function intead of print
2.Added file_path as a argument in createResourceYaml function
3.Removed the name component from all dictionary .
4.Changed list server_set ,earlier it was the list of dictionaries ,changed to list of strings
5.Used eval while updating dictionary.
6.Used wtYaml function to append data to file
7.Added return code 0 or 100 in createResourceYaml so that the failure can be sent back to resource spawner so that a rollback can be initiated.