1 module odl-codegen-extensions {
3 namespace "urn:opendaylight:yang:extension:codegen";
7 "YANG extensions for code generation.
9 Copyright (c) 2024 PANTHEON.tech, s.r.o. and others. All rights reserved.
11 This program and the accompanying materials are made available under the
12 terms of the Eclipse Public License v1.0 which accompanies this distribution,
13 and is available at http://www.eclipse.org/legal/epl-v10.html";
15 revision "2024-06-27" {
16 description "Initial revision";
19 extension "augment-identifier" {
21 "YANG language extension which assigns an identifier to augmentation. Augment identifier
22 is used to identify a specific augment statement by a name.
24 The identifier syntax is defined formally defined by the rule 'identifier' in
25 Section 12 of RFC 6020.
27 All augment identifiers defined in a namespace MUST be unique. The namespace of augment
28 identifiers is shared by module and its submodules.";
32 This extension allows for ease of development / debug of YANG modules and it is
33 suitable for code generation, where each augment statement is nicely identified by
34 unique name instead of combination of augment target and when condition.
36 argument "identifier";