1 module semantic-version {
2 namespace "urn:opendaylight:yang:extension:semantic-version";
7 description "Initial verison";
9 sv:semantic-version "1.0.0";
11 extension semantic-version {
12 argument "semantic-version" {
16 "The OpenConfig version number for the module. This is
17 expressed as a semantic version number of the form:
20 * x corresponds to the major version,
21 * y corresponds to a minor version,
22 * z corresponds to a patch version.
23 This version corresponds to the model file within which it is
24 defined, and does not cover the whole set of OpenConfig models.
25 Where several modules are used to build up a single block of
26 functionality, the same module version is specified across each
27 file that makes up the module.
29 A major version number of 0 indicates that this model is still
30 in development (whether within OpenConfig or with industry
31 partners), and is potentially subject to change.
33 Following a release of major version 1, all modules will
34 increment major revision number where backwards incompatible
35 changes to the model are made.
37 The minor version is changed when features are added to the
38 model that do not impact current clients use of the model.
40 The patch-level version is incremented when non-feature changes
41 (such as bugfixes or clarifications to human-readable
42 descriptions that do not impact model functionality) are made
43 that maintain backwards compatibility.
45 The version number is stored in the module meta-data.";