Enumeration Classes
- class yangson.enumerations.ContentType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Enumeration of instance data content types.
- all = 3
All data.
- config = 1
Configuration data.
- nonconfig = 2
Data that does not represent configuration.
- class yangson.enumerations.NodeStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Enumeration of node definition statuses.
See sec. 7.21.2 in [RFC7950]. The value represents the status symbol used in tree diagrams [RFC8340].
- current = '+'
The definition is current and valid.
- deprecated = 'x'
The definition is obsolete but permits new/continued implementations.
- obsolete = 'o'
The definition is obsolete and SHOULD NOT be implemented.
- class yangson.enumerations.ValidationScope(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Enumeration of validation scopes.
- all = 3
Both syntax and semantics.
- semantics = 2
Validation of semantics (“must” constraints, uniqueness, cardinality, referential integrity).
- syntax = 1
Validation of syntax - schema (including “when”), data types.
- class yangson.enumerations.DefaultDeny(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Enumeration of NACM default deny values.
- all = 3
Very sensitive security system parameter.
- none = 1
Data node with no default access restrictions.
- write = 2
Sensitive security system parameter.
- class yangson.enumerations.Axis(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Enumeration of implemented XPath axes.
- ancestor = 1
Ancestors of the context node.
- ancestor_or_self = 2
Context node and its ancestors.
- attribute = 3
Attributes of the context node.
- child = 4
Children of the context node.
- descendant = 5
Descendants of the context node.
- descendant_or_self = 6
Context node and its descendants.
- following_sibling = 7
Following siblings of the context node.
- parent = 8
Parent of the context node.
- preceding_sibling = 9
Preceding siblings of the context node.
- self = 10
Just the context node.
- class yangson.enumerations.MultiplicativeOp(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Enumeration of XPath multiplicative operators.
- divide = 'div'
Division operator (
div
).
- modulo = 'mod'
Modulo operator (
mod
).
- multiply = '*'
Multiplication operator (
*
).