Skip to content
Snippets Groups Projects
Commit 97d10eaf authored by Ladislav Lhotka's avatar Ladislav Lhotka
Browse files

Add type alias SchemaNodeId.

parent 3bb2b1f0
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ InstanceIdentifier = str # YANG instance identifier
ResourceIdentifier = str # RESTCONF resource identifier
ScalarValue = Union[int, Decimal, str]
QualName = Tuple[YangIdentifier, YangIdentifier] # (name, namespace)
SchemaNodeId = str # [/] PrefName *("/" PrefName)
SchemaRoute = List[QualName]
SchemaPath = str # ["/"] ModuleName ":" NodeName *("/" [ModuleName ":"] NodeName)
DataPath = str # same syntax as SchemaPath but containing only data nodes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment