forked from YangModels/yang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request YangModels#1500 from yang-catalog/main
Cronjob - daily update of yang files.
- Loading branch information
Showing
8 changed files
with
252 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,7 +189,6 @@ module ietf-ac-svc { | |
} | ||
} | ||
} | ||
|
||
// Full Layer 2 connection | ||
|
||
grouping l2-connection { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
experimental/ietf-extracted-YANG-modules/ietf-yang-full-include@2023-11-05.yang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
module ietf-yang-full-include { | ||
yang-version 1.1; | ||
namespace "urn:ietf:params:xml:ns:yang:ietf-yang-full-include"; | ||
prefix full; | ||
|
||
organization | ||
"IETF NETMOD (NETCONF Data Modeling Language) Working Group"; | ||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/netmod/> | ||
WG List: <mailto:netmod@ietf.org> | ||
Editor: "; | ||
description | ||
"This module defines a YANG extension statement that can be used | ||
to incorporate data models defined in other YANG modules in a | ||
module. | ||
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL | ||
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', | ||
'MAY', and 'OPTIONAL' in this document are to be interpreted as | ||
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here. | ||
Copyright (c) 2023 IETF Trust and the persons identified as | ||
authors of the code. All rights reserved. | ||
Redistribution and use in source and binary forms, with or | ||
without modification, is permitted pursuant to, and subject to | ||
the license terms contained in, the Revised BSD License set | ||
forth in Section 4.c of the IETF Trust's Legal Provisions | ||
Relating to IETF Documents | ||
(https://trustee.ietf.org/license-info). | ||
This version of this YANG module is part of RFC XXXX; | ||
see the RFC itself for full legal notices."; | ||
revision 2023-11-05 { | ||
description | ||
"Initial revision."; | ||
reference | ||
"RFC XXXX: YANG Full Include"; | ||
} | ||
|
||
extension include { | ||
argument prefix; | ||
description | ||
"The argument 'prefix' MUST be the prefix of a module imported | ||
by the calling module. | ||
The 'include' statement MUST NOT be used in a YANG | ||
version 1 module, neither explicitly nor via a 'uses' | ||
statement. | ||
The 'include' statement MAY be present as a substatement | ||
of 'container' and 'list' and MUST NOT be present elsewhere. | ||
Whenever a sequence of 'include' statements is used, the | ||
schema tree defined by the set of the included modules is | ||
inserted in the schema tree of the calling module, at the | ||
place where the sequence is declared"; | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
experimental/ietf-extracted-YANG-modules/ietf-yang-library-augmentation@2023-10-27.yang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
module ietf-yang-library-augmentation { | ||
yang-version 1.1; | ||
namespace "urn:ietf:params:xml:ns:yang:ietf-yang-library-augmentation"; | ||
prefix yanglib-aug; | ||
|
||
import ietf-yang-library { | ||
prefix yanglib; | ||
reference | ||
"RFC 8525: YANG library"; | ||
} | ||
|
||
organization | ||
"IETF NETCONF (Network Configuration) Working Group"; | ||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/netconf/> | ||
WG List: <mailto:netconf@ietf.org> | ||
Author: Zhuoyao Lin | ||
<mailto:zephyre888@gmail.com> | ||
Benoit Claise | ||
<mailto:benoit.claise@huawei.com>"; | ||
|
||
description | ||
"This module augments the ietf-yang-library defined in [RFC8525] to provide the augmentation list, in order to give sufficient information about the YANG models reverse dependency. It facilitates the process of obtaining the entire dependencies of YANG model."; | ||
|
||
revision 2023-10-27 { | ||
description | ||
"Added list augmentation in yang-library/module-set/module to | ||
make the module store the entire reverse dependency information | ||
(augmentation and deviation)."; | ||
reference | ||
"RFC XXXX: Support of augmentation in ietf-yang-library"; | ||
} | ||
|
||
augment "/yanglib:yang-library/yanglib:module-set/yanglib:module" { | ||
description | ||
"Augment the augmentation from module info with the module-augmentation grouping" ; | ||
uses yanglib-aug:module-augmentation; | ||
} | ||
|
||
/* | ||
* Groupings | ||
*/ | ||
|
||
grouping module-augmentation { | ||
description | ||
"This grouping defines a leaf-list that contains the augmentation list."; | ||
|
||
leaf-list augmentation { | ||
type leafref { | ||
path "/yanglib:yang-library/yanglib:module-set/yanglib:module/yanglib:name"; | ||
} | ||
|
||
description | ||
"List of all YANG augmentation modules used by this server to | ||
modify the conformance of the module associated with this | ||
entry. Note that the same module can be used for augmentation | ||
for multiple modules, so the same entry MAY appear within | ||
multiple 'module' entries. | ||
This reference MUST NOT (directly or indirectly) | ||
refer to the module being augmented. | ||
Robust clients may want to make sure that they handle a | ||
situation where a module augments itself (directly or | ||
indirectly) gracefully."; | ||
} | ||
} | ||
} |
112 changes: 112 additions & 0 deletions
112
...mental/ietf-extracted-YANG-modules/ietf-yang-library-rfc7895-augmentation@2023-10-27.yang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
module ietf-yang-library-rfc7895-augmentation { | ||
yang-version 1.1; | ||
namespace "urn:ietf:params:xml:ns:yang:ietf-yang-library-rfc7895-augmentation"; | ||
prefix yanglib-aug; | ||
|
||
import ietf-yang-library { | ||
prefix yanglib; | ||
revision-date 2016-06-21; | ||
reference | ||
"RFC 8525: YANG library"; | ||
} | ||
|
||
organization | ||
"IETF NETCONF (Network Configuration) Working Group"; | ||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/netconf/> | ||
WG List: <mailto:netconf@ietf.org> | ||
Author: Zhuoyao Lin | ||
<mailto:zephyre888@gmail.com> | ||
Benoit Claise | ||
<mailto:benoit.claise@huawei.com>"; | ||
|
||
description | ||
"This module augments the ietf-yang-library defined in [RFC8525] to provide not only the deviation list, but also the augmentation list, in order to give sufficient information about the YANG models reverse dependency. It facilitates the process of obtaining the entire dependencies of YANG model."; | ||
|
||
revision 2023-10-27 { | ||
description | ||
"Added list augmentation in yang-library/module-set/module to | ||
make the module store the entire reverse dependency information | ||
(augmentation and deviation)."; | ||
reference | ||
"RFC XXXX: Support of augmentation in ietf-yang-library"; | ||
} | ||
|
||
augment "/yanglib:yang-library/yanglib:module-set/yanglib:module" { | ||
description | ||
"Augment the augmentation from module info with the module-augmentation grouping" ; | ||
uses yanglib-aug:module-augmentation; | ||
} | ||
|
||
augment "/yanglib:modules-state/yanglib:module" { | ||
description | ||
"Augment the augmentation from module info with the module-augmentation grouping" ; | ||
uses yanglib-aug:module-state-augmentation; | ||
} | ||
|
||
/* | ||
* Groupings | ||
*/ | ||
|
||
grouping module-augmentation { | ||
description | ||
"This grouping defines a leaf-list that contains the augmentation list."; | ||
|
||
leaf-list augmentation { | ||
type leafref { | ||
path "/yanglib:yang-library/yanglib:module-set/yanglib:module/yanglib:name"; | ||
} | ||
|
||
description | ||
"List of all YANG augmentation modules used by this server to | ||
modify the conformance of the module associated with this | ||
entry. Note that the same module can be used for augmentation | ||
for multiple modules, so the same entry MAY appear within | ||
multiple 'module' entries. | ||
This reference MUST NOT (directly or indirectly) | ||
refer to the module being augmented. | ||
Robust clients may want to make sure that they handle a | ||
situation where a module augments itself (directly or | ||
indirectly) gracefully."; | ||
} | ||
} | ||
|
||
grouping module-state-augmentation { | ||
description | ||
"This grouping defines a list with keys being the module | ||
name and revison. The list contains the augmentation list."; | ||
|
||
list augmentation { | ||
key "name revision"; | ||
status deprecated; | ||
|
||
description | ||
"List of YANG augmentation module names and revisions | ||
used by this server to modify the conformance of | ||
the module associated with this entry. Note that | ||
the same module can be used for augmentations for | ||
multiple modules, so the same entry MAY appear | ||
within multiple 'module' entries. | ||
The augmentation module MUST be present in the 'module' | ||
list, with the same name and revision values. | ||
The 'conformance-type' value will be 'implement' for | ||
the augmentation module."; | ||
|
||
leaf name { | ||
type leafref { | ||
path "/yanglib:modules-state/yanglib:module/yanglib:name"; | ||
} | ||
} | ||
|
||
leaf revision { | ||
type leafref { | ||
path "/yanglib:modules-state/yanglib:module/yanglib:revision"; | ||
} | ||
} | ||
} | ||
} | ||
} |