-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Description
Use Case
The current configuration of inputs.opcua_listener is not following the real naming structure of OPC UA and the current configuration, based on NamespaceIndex is a risk because the index can change on server side after a restart as you can see in the link provided.
Current conguration of a node:
nodes = [ {name="namespaces", namespace="0", identifier_type="i", identifier="2255"}, ]
Expected behavior
I would propose a configuration string like the following when accessing by NamespaceIndex (for the ones who still want to use the legacy method).
nodes = [ {name="namespaces", NamespaceIndex="0", IdentifierType="i", Identifier="2255"}, ]
I would propose a configuration string like the following when accessing by Namespace (for the ones who want to use the new and secure method).
nodes = [ {name="namespaces", Namespace="http://opcfoundation.org/UA/", IdentifierType="i", Identifier="2255"}, ]
Actual behavior
The behavior in the end will be the same with the only benefit of having the namespace change under control.
Additional info
Clear explanation of the behavior.
https://documentation.unified-automation.com/uasdkhp/1.4.1/html/_l2_ua_node_ids.html