Enumeration Classes

class yangson.enumerations.ContentType

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.ValidationScope

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

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

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

Enumeration of XPath multiplicative operators.

divide = 2

Division operator (div).

modulo = 3

Modulo operator (mod).

multiply = 1

Multiplication operator (*).