3 namespace "urn:opendaylight:yang:extension:yang-ext";
6 contact "Anton Tkacik <ttkacik@cisco.com>";
9 "Copyright (c) 2013 Cisco Systems, Inc. and others. All rights
10 reserved. This program and the accompanying materials are made
11 available under the terms of the Eclipse Public License v1.0 which
12 accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html";
14 revision "2013-07-09" {
20 extension "augment-identifier" {
22 "YANG language extension which assigns an identifier to augmentation.
23 Augment identifier is used to identify specific augment statement
24 by name. The identifier syntax is defined formally defined by
25 the rule 'identifier' in Section 12 of RFC 6020. All augment identifiers
26 defined in a namespace MUST be unique. The namespace of augment
27 identifiers is shared by module and its submodules.";
31 This extension allows for ease of development / debug
32 of YANG modules and it is suitable for code generation,
33 where each augment statement is nicely identified by
34 unique name instead of combination of augment target
37 argument "identifier";
42 grouping rpc-context-ref {
44 "A reference to RPC context.";
45 leaf context-instance {
46 type instance-identifier;
47 description "Pointer to the context. ";
51 extension "rpc-context-instance" {
53 "YANG language extension which defines enclosing (parent) schema
54 node as referencable context for RPCs. The argument is identity
55 which is used to identify RPC context type.";
57 argument "context-type";
60 extension "context-reference" {
61 argument "context-type";
64 extension "context-instance" {
65 argument "context-type";
68 extension "instance-target" {
72 extension "anyxml-schema-location" {
73 argument "target-node";