nsxt_rest execution module and unit test#239
Conversation
waynew
left a comment
There was a problem hiding this comment.
question What is the advantage of this module over, say the existing Salt http module? https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.http.html
|
Hi @waynew, this module was provided as a nsxt wrapper to the nsxt_rest utility which handles the errors and return nsxt specific error logs, for use cases where we don't have a module or state code prioritised in phase 1. |
|
Could you provide a sample of what this does that the existing Salt http module doesn't do? In other words: make a nsxt query using the http module, and make the same one using this code, to highlight the differences and advantages of using this vs the http module. Looking at the code, including the call_api function, it is not at all immediately obvious that there are benefits to this approach. |
No description provided.