Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Base Models will be used by different YANG components. It includes following:

DataNode:

Provides a basis for holding information in a tree whose structure corresponds to a set of YANG models (base & augmentations).

  • Is immutable.
  • Provides a mechanism for mutation (Builder pattern, etc.)
  • Understands the schema that was used to construct it.
  • Store will be based on DataNode.

...

  • Inner node represents container and list.
  • Leaf node represents leaf and leaf-list.
ResourceId: 

Resource identifier, Its list of node key to drive path till the resource, where key is contains the local node name and

the corresponding module namespace. 

  • Is immutable.
  • Provides a mechanism for mutation (Builder pattern, etc.)
  • Used to operate on a given resource.
ModelObject:

Provides a common basis for all POJOs which are generated from a YANG model.

  • It is mutable.
  • The binding between ModelObject POJO and DataNode is performed by the YANG Runtime.

...

Implementations of outward-facing protocols depend on the YANG runtime to serialize and deserialize their payloads , and

the Dynamic dynamic Config subsystem will depend on the YANG runtime to serialize these objects for distribution and persistence.

...