Skip to content

Commit

Permalink
Merge pull request #2 from tonydamage/master
Browse files Browse the repository at this point in the history
Added simple definition of augment-grouping argument
  • Loading branch information
rovarga committed Mar 8, 2016
2 parents d20cf97 + bffdb8c commit 0f5c297
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
17 changes: 10 additions & 7 deletions netmod-augment-sugar/draft-varga-netmod-augment-sugar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,19 @@ module ietf-augment-grouping {
extension "augment-grouping" {
description
"Defines a set of augment statements to be attached to the grouping
identified by the argument. An instance of this extension can
carry one or more augment statements, which will be applied to
each instantiation of the target grouping.
The argument of these augment statements must be a relative path,
identified by the argument. An instance of this extension can carry
one or more augment statements, which will be applied to each
instantiation of the target grouping.
The argument of this extension is 'identifier-ref-arg-str' as defined
in RFC6020 referencing definition of grouping, which instantiations
are augmented.
The argument of these augment statements must be a relative path
not an absolute and its target must lie within the grouping or
augmentations introduced by other modules using this extension.
Argument value of \".\" indicates that the container (or list)
Argument value of \".\" indicates that the container (list or case)
in which the grouping is being instantiated is to be augmented.
All nodes introduced via this extension will have the namespace
Expand All @@ -252,7 +256,6 @@ module ietf-augment-grouping {
"RFC XXXX Section ZZ, augment-grouping Feature";
}
}
<CODE ENDS>
]]>
</artwork>
Expand Down
14 changes: 9 additions & 5 deletions netmod-augment-sugar/ietf-augment-grouping.yang
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,19 @@ module ietf-augment-grouping {
extension "augment-grouping" {
description
"Defines a set of augment statements to be attached to the grouping
identified by the argument. An instance of this extension can
carry one or more augment statements, which will be applied to
each instantiation of the target grouping.
identified by the argument. An instance of this extension can carry
one or more augment statements, which will be applied to each
instantiation of the target grouping.
The argument of this extension is 'identifier-ref-arg-str' as defined
in RFC6020 referencing definition of grouping, which instantiations
are augmented.
The argument of these augment statements must be a relative path,
The argument of these augment statements must be a relative path
not an absolute and its target must lie within the grouping or
augmentations introduced by other modules using this extension.
Argument value of \".\" indicates that the container (or list)
Argument value of \".\" indicates that the container (list or case)
in which the grouping is being instantiated is to be augmented.
All nodes introduced via this extension will have the namespace
Expand Down

0 comments on commit 0f5c297

Please sign in to comment.