Open himalayanBuddy opened 7 years ago
@harishpokharel i think this is probably a valid feature request.
@harishpokharel I'm not familiar enough with the BIG-IP UI to know what all forms it does this on though, we'll cover your use case of pools as a place to start and then address others in the future.
I executed the following code:
I had a pool already in LTM with same name. But f5-sdk threw out an error specifying that the poola_name already exist when it tried to execute create method which I had not expected.
Upon troubleshooting I figured out that my file for the pools had a whitespace at the end. So, looks like the exists method takes the name with whitespace. But when LTM tried to create the pool (May be it trims white space at that time) it figured out that the pool already exist and threw the error.
Can't f5-sdk trim whitespaces as it is obvious that LTM trims whitespace while creating objects.