Versions Compared

Key

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

...

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.

    Each model or application will have a unique identifier, which can be configured using buck or maven as shown below :

    Code Block
    languagebash
    titleTo config mode-ld using maven
    <configuration>
        <modelId>xml</modelId>
    </configuration>
    Code Block
    languagebash
    titleTo config model-Id using buck
    yang_model(
        app_name = 'example.application',
        model_id = 'example_id'
    )


    In-case model-id is not configured then artifact-Id will be configured as model-Id for that particular application. 

YANG Compiler

             

...