Add new handling options for the snmp provisioning metadata adapter
Description
The current implemented behavior is to create a results object that contains data from the aforementioned scan. Then add in all of the current node's metadata excluding the "snmp" context. Then write that metadata back to the node.
This behavior ends up with a "REPLACE" mentality.
We need to include an "ADD/UPDATE" option. This would walk through the results and either update an existing key with a new value or add a new key/value pair if the key does not exist.
The behavior would be selected with "REPLACE" as default and the "ADD/UPDATE" as a secondary option. As such the goal of the adapter does not change.
The current implemented behavior is to create a results object that contains data from the aforementioned scan. Then add in all of the current node's metadata excluding the "snmp" context. Then write that metadata back to the node.
This behavior ends up with a "REPLACE" mentality.
We need to include an "ADD/UPDATE" option. This would walk through the results and either update an existing key with a new value or add a new key/value pair if the key does not exist.
The behavior would be selected with "REPLACE" as default and the "ADD/UPDATE" as a secondary option. As such the goal of the adapter does not change.