You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace function fail inside a foreach_create_dict.
the error ValueError: key #2 '{'__function': 'replace', 'value': 'mode' not found in data seem to indicate it is looking for mode and not mode.value ?
I also wonder how to do multiple replacements on the same value. eg
if netbox have mode.value, and it can be tagged or access (or unset) and I need to output portmode: as trunk, or untagged, or perhaps omit the whole portmode: if unset? but that is a bit unrelated to this error message.
replace function fail inside a foreach_create_dict.
the error ValueError: key #2 '{'__function': 'replace', 'value': 'mode' not found in data seem to indicate it is looking for mode and not mode.value ?
I also wonder how to do multiple replacements on the same value. eg
if netbox have mode.value, and it can be tagged or access (or unset) and I need to output portmode: as trunk, or untagged, or perhaps omit the whole portmode: if unset? but that is a bit unrelated to this error message.
Best Regards
Ronny Aasen
The text was updated successfully, but these errors were encountered: