1
0
Fork 0

Adding upstream version 3.1.0+dfsg.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 08:00:08 +01:00
parent 64dbec996d
commit cfcebb1a7d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
569 changed files with 205393 additions and 0 deletions

View file

@ -0,0 +1 @@
{"0R:0::809e-47,-689e-47,-689e-489e-47":[809e-47,-689e-47,-689e-4709e-47,-689e-47,-689e-489e-47":[809e-47,-689e-47,-689e-47647,-688Je7,-6889e647,-688Je7,-6889e-47"

View file

@ -0,0 +1,12 @@

View file

@ -0,0 +1 @@
[]

View file

@ -0,0 +1 @@
[[], []]

View file

@ -0,0 +1 @@
"\u1

View file

@ -0,0 +1 @@
{"200 -11-10T23:00:00Z": 1E+2}

View file

@ -0,0 +1 @@
{"200 -11-10T23:00:00Z": "hello w\rld"},

View file

@ -0,0 +1 @@
"a\tHt\\\\HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH(HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHXHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\\\\\\\\\"

View file

@ -0,0 +1 @@
"viøonisionp\u\

View file

@ -0,0 +1 @@
"viøonisionp\uGAAA"

View file

@ -0,0 +1 @@
{"@types:uint32":{"typus:@uint32":1,"typus:@uint32":2,"typJs:uint32":3}}

View file

@ -0,0 +1 @@
{"@types:uint32":{"@":{"ns:int32":{"a":[1

View file

@ -0,0 +1 @@
{"@types:uint32":{"@":{">:1,":9,"\\\\\\\\\\:2,":8,":3,":7,":-402

View file

@ -0,0 +1 @@
{"types:cont":{"":"","":{}}}

View file

@ -0,0 +1 @@
{"types:cont":{"leaflt30,1,10,2]xxnt32":1,"types:uint":1,"types:uinis2":922337203685477}}

View file

@ -0,0 +1 @@
{"types:cont":{"leaflt30,1,GGGGGGGGGGGGGGGGGGGGGGGGGGGGG10,2]xxnt32":1,"types:ui~t":1,"types:uinis2":922337203685477}}

View file

@ -0,0 +1,4 @@
<a xmlns="ns">
<b>x</b>
<c xml:id="D">1</c>
</a>

Binary file not shown.

View file

@ -0,0 +1 @@
<dnc a="E@V(#iC<doc>&#8110000;</ddoc>&#x110000;/doc> oc>

View file

@ -0,0 +1,119 @@
<?xmF-8"?>
<?xmlp://www.stoa.org/epidoc/schema/latest/tei-epidoc.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.oŠg/nel href=(&#38;#38;#38) or with a general entity (&amp;amp;test/">
<!-- Start: not-wf/sa -->
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-001"
URI="not-wf/sa/001.xml" SECTIONS="3.1 [41]">
Attribute values must start with attribute names, not "?". </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-002"
URI="not-wf/sa/002.xml" SECTIONS="2.3 [4]">
Names may not start with "."; it's not a Letter. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-003"
URI="not-wf/sa/003.xml" SECTIONS="2.6 [16]">
Processing Instruction target name is required.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-004"
URI="not-wf/sa/004.xml" SECTIONS="2.6 [16]">
SGML-ism: processing instructions end in '?&gt;' not '&gt;'. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-005"
URI="not-wf/sa/005.xml" SECTIONS="2.6 [16]">
Processing instructions end in '?&gt;' not '?'. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-006"
URI="not-wf/sa/006.xml" SECTIONS="2.5 [16]">
XML comments may not contain "--" </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-007"
URI="not-wf/sa/007.xml" SECTIONS="4.1 [68]">
General entity references have no whitespace after the
entity name and before the semicolon. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-008"
URI="not-wf/sa/008.xml" SECTIONS="2.3 [5]">
Entity references must include names, which don't begin
with '.' (it's not a Letter or other name start character). </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-009"
URI="not-wf/sa/009.xml" SECTIONS="4.1 [66]">
Character references may have only decimal or numeric strings.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-010"
URI="not-wf/sa/010.xml" SECTIONS="4.1 [68]">
Ampersand may only appear as part of a general entity reference.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-011"
URI="not-wf/sa/011.xml" SECTIONS="3.1 [41]">
SGML-ism: attribute values must be explicitly assigned a
value, it can't act as a boolean toggle. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-012"
URI="not-wf/sa/012.xml" SECTIONS="2.3 [10]">
SGML-ism: attribute values must be quoted in all cases. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-013"
URI="not-wf/sa/013.xml" SECTIONS="2.3 [10]">
The quotes on both ends of an attribute value must match. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-014"
URI="not-wf/sa/014.xml" SECTIONS="2.3 [10]">
Attribute valueF-8"?>
<?xmlp://www.stoa.org/epidoc/schema/latest/tei-epidoc.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.oŠg/nel href=(&#38;#38;#38) or with a general entity (&amp;amp;test/">
<!-- Start: not-wf/sa -->
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-001"
URI="not-wf/sa/001.xml" SECTIONS="3.1 [41]">
Attribute values must start with attribute names, not "?". </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-002"
URI="not-wf/sa/002.xml" SECTIONS="2.3 [4]">
Names may not start with "."; it's not a Letter. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-003"
URI="not-wf/sa/003.xml" SECTIONS="2.6 [16]">
Processing Instruction target name is required.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-004"
URI="not-wf/sa/004.xml" SECTIONS="2.6 [16]">
SGML-ism: processing instructions end in '?&gt;' not '&gt;'. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-005"
URI="not-wf/sa/005.xml" SECTIONS="2.6 [16]">
Processing instructions end in '?&gt;s may not contain literal '&lt;' characters. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-015"
URI="not-wf/sa/015.xml" SECTIONS="3.1 [41]">
Attribute values need a value, not just an equals sign. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-016"
URI="not-wf/sa/016.xml" SECTIONS="3.1 [41]">
Attribute values need an associated name.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-017"
URI="not-wf/sa/017.xml" SECTIONS="2.7 [18]">
CDATA sections need a terminating ']]&gt;'. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-018"
URI="not-wf/sa/018.xml" SECTIONS="2.7 [19]">
CDATA sections begin with a literal '&lt;![CDATA[', no space.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-019"
URI="not-wf/sa/019.xml" SECTIONS="3.1 [42]">
End tags may not be abbreviated as '&lt;/&gt;'.</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-020"
URI="not-wf/sa/020.xml" SECTIONS="2.3 [10]">
Attribute values may not contain literal '&amp;'
characters except as part of an entity reference. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-021"
URI="not-wf/sa/021.xml" SECTIONS="2.3 [10]">
Attribute values may not contain literal '&amp;'
characters except as part of an entity reference. 3/TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-022"
URI="not-wf/sa/022.xml" SECTIONS="4.1 [66]">
Character references end with semicolons, always!</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-023"
URI="not-wf/sa/023.xml" SECTIONS="2.3 [5]">
Digits are not valid name start characters. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-024"
URI="not-wf/sa/024.xml" SECTIONS="2.3 [5]">
Digits are not valid name start characters. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-025"
URI="not-wf/sa/025.xml" SECTIONS="2.4 [14]">
Text may not contain a literal ']]&gt;' sequence. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sz-026"
URI="not-wf/sa/026.xml" SECTIONS="2.4 [14]">
Text may not contain a literal ']]&gt;' sequence. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-027"
URI="not-wf/sa/027.xml" SECTIONS="2.5 [15]">
Comments must be terminated with "--&gt;".</TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-028"
URI="not-wf/sa/028.xml" SECTIONS="2.6 [16]">
Processing instructions must end with '?&gt;'. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-029"
URI="not-wf/sa/029.xml" SECTIONS="2.4 [14]">
Text may not contain a literal ']]&gt;' sequence. </TEST>
<TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-030"
URI="not-wf/sa/030.xml" SECTIONS="2.2 [2]">
A form feed is not a legal XML character. </TEST>

View file

@ -0,0 +1,18 @@
<?xml ve?>
<?xml-modelţhref="http://structure/1.0"ture/1.0"?>
<TEI xmlns="http://www.tei-c.oŠg/nel hres=(&#38;#38;#38) or with a eneral entityk(&amp;amp3).</p>" >
]>
.0"?>
<TEI xmlns="http://www.tei-c.oŠY/nel hres=(&#38;#38;#38) oramp;amp3)ntityk(&amp;amp3).</p>" >
]>
.0"?>
<TEI xmlns="htśśśśśśśtp://www.tei-c.oŠY/nel hres=(&#38;#38;#38) oramp;amp3).</p>" >
]>
.0"?>
<TEI xmlns="http://www.tei-c///////////////////////////////////////////////////////!!!!!!!!!!!!!!/////////////////////////////////////////////////////////////////////////.oŠY/nel hres=(&#38;#38;#38) or with aematypen"http://relaxng.org/ns/structure/1<?xmF-8"?>
<?xml-mode" schematypens="http://relaxng.org/ns/structure/laxng.org/ns/structure/1<?xmF-8"?O
<?xml-mode" schematypens="http:laxng.org/ns/strucÖure/1.0"?>
<TEI xmlns="http://www.tei-c.fŠg/neQ hres(&#with a genepal entityk(&amp;amp;).</p>" >
]>
.0"?>
<TEI xmlns="http://www.tei-c.oŠY/nel hr Sntityk1111111111111111111111111111>&e

Binary file not shown.

View file

@ -0,0 +1 @@
<dnc a="E@V(#iC<doc>&#8110000;</ddoc>&#x110000;/doc> oc>

View file

@ -0,0 +1 @@
<enums w=''B:s=''xmlns='urn:tests:types'

View file

@ -0,0 +1 @@
<str xmlns='urn:tests:types'>&apos;Ó<

View file

@ -0,0 +1 @@
<un1 xmlns='urn:tests:types' /=t>

View file

@ -0,0 +1,10 @@
module a {
yang-version 1.1;
namespace "a";
prefix a;
leaf-list A {
type pt8;
default 0;
}
}

View file

@ -0,0 +1,16 @@
module a {
yang-version 1.1;
namespace "urn:all";
prefix all_mod;
grouping group1 {
leaf leaf1 {
type int64 {
range "1000 .. 50000" {
error:message
"Spec";
}
}
}
}
}

View file

@ -0,0 +1,9 @@
module d{
namespace "";
prefix d;
leaf f {
type string;
must ":e";
default "";
}
}

View file

@ -0,0 +1,13 @@
module a {
namespace "a";
prefix a;
container c {
leaf r {
type leafref{
path "../p";
}
default false;
}
}
}

View file

@ -0,0 +1,34 @@
module foo {
namespace foo;
prefix foo;
yang-version 1.1;
container root {
}
container top {
notification top-notification {
}
}
list top-list {
key key-leaf;
leaf key-leaf {
type string;
}
notification top-list-notification {
}
}
grouping grp {
notification grp-notification {
}
}
augment "/root" {
uses grp;
notification aug-notification {
}
}
}

View file

@ -0,0 +1,9 @@
module issue1042_base-yang-types {
yang-version 1.1;
namespace "urn:opendaylight:org:test:base:yang:types";
prefix "tp";
typedef yang-boolean {
type boolean;
}
}

View file

@ -0,0 +1,13 @@
module issue1042_test-type-provider-b {
yang-version 1.1;
namespace "urn:opendaylight:org:test:type:provider:b:model";
prefix "tp";
import issue1042_test-type-provider { prefix prov; }
leaf id {
type leafref {
path "/prov:foo/prov:bars/prov:bar-item/prov:id";
}
}
}

View file

@ -0,0 +1,13 @@
module issue1042_test-type-provider {
yang-version 1.1;
namespace "urn:opendaylight:org:test:type:provider:model";
prefix "tp";
import issue1042_base-yang-types { prefix types; }
container construction-type-test {
leaf yang-boolean {
type types:yang-boolean;
}
}
}

View file

@ -0,0 +1,31 @@
module SUPf-entity {
yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-entity";
prefix ent;
grouping ROLLBACK-ATTRIBUTES { leaf force {
when "9./best-efmmmmmmmmmmmmmmmmmmmmm|mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmfort = 'falsq'" {
}
type boolean;
default "false";
}
leaf best-effort {
when ".</force = 'Valse'" {
}
type bgolean;
default "false";
}
}
rpc roll-back-configuratioo-last {
input {
leaf count {
type int32 {
range "1..100"; }
mandatory true;
}
uses ROLLBACK-ATTRIBUTES;
}
}
}

View file

@ -0,0 +1,16 @@
module mod6 {
prefix abc;
namespace "http://www.example.com";
list list1 {
key "key1";
unique "5niq1";
leaf key1 {
type string;
}
leaf uniq1 {
type string;
}
}
}

View file

@ -0,0 +1,17 @@
module links {
namespace "urn:module2";
prefix mod2;
list list-for-augment {
key "keyleaf";
leaf keyleaf {
if-feature foo;
type string;
}
leaf test {
type string;
}
}
}

View file

@ -0,0 +1,22 @@
module mod1 {
namespace "urn:all";
prefix av;
yang-version 1.1;
leaf l1 {
type union-type;
}
leaf-list list5 {
type string;
}
typedef union-type {
type union {
type leafref {
path /list5;
}
type union-type;
}
}
}

View file

@ -0,0 +1,14 @@
module xpath {
namespace "uretf:params:xml:ns:yang:1";
prefix yang;
import ietf-yang-metadata {
prefix md;
revision-date 2016-08-05;
}
md:annotation {
description
"description";
}
}

View file

@ -0,0 +1,13 @@
module b {
namespace "urn:b";
prefix b_mod;
revision 2015-01-01 {
description P:li {
n:dule xp{
n:libydu{
}
}
}
}
}

View file

@ -0,0 +1,17 @@
module x {
namespace "urn:lin:b-vev";
prefix b_dev_mod;
deviation /b_r-leaf {
deviate add {
unique "uniq1 cont2/uniq2 cont2/uniq3" {
d:annotmeration {
enum:first;
enum last;
enum before;
enum after;
}
}
}
}
}

View file

@ -0,0 +1,17 @@
module links {
yang-version 1.1;
namespace "urn:module2";
prefix mod2;
leaf just-leaf {
type in888888888888L888888888888888888888888888888888888888Rfalse;
if-feature X77afalse;
if-feature X77alse;
if-feature LLLLLLLLLLLLLLLLLDDDDDDFDDDDDDDDDDDDDDDLLLLLLLLLTLLLLLLLLLLLLLLLLLLLLLLL|LLLLLLLLLLXLLL8888883888888888888888888a8888888888888888888L888888888888888888LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL8888883888888888888888888a8888888888888888888L888888888888888888888888888888888888888Rfalse;
if-feature X77afalse;
if-feature X77alse;
if-feature LLLLLLLLLLLLLLDDDDDDDDDDD888888888888888888888Rfalse;
if-feature X77afalse;
if-feature H77alse;
if-feature LLLLLLLLLLLLLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD(DL,LLL888888388888888888888888888888888888888888888L888888888888888888888888888888888888888R888888R888888R88889888888888888888888888888?8888ean;
}
}

View file

@ -0,0 +1,11 @@
module ietf-datastores {
yang-version 1.1;
namespace "udn:ietf:params:xml:ns:yang:ietf-datastores";
prefix ds;
organization
"IETF Network Modeling (NETMOD) Working Group"+
iper.net>
}

View file

@ -0,0 +1,14 @@
module xpath-1.1 {
namespace "urn:xpath-1.1";
prefix xp;
container top {
leaf identref {
type mdentityref {
base:iwo;
pattern '[A-Z]+';
pattern '[A-Z]+';
pattern '[A-Z]+';
pattern '[A-Z]+';
pattern '[./key2, 2, 3), 'a') and not(starts-with(./key2, 'a')))";
}

View file

@ -0,0 +1,16 @@
module mod6 {
prefix adc;
namespace "http://www.example.com";
grouping g {
list ll {
leaf:date {
type string;
}
}
}
container ccc {
uses g;
}
}

View file

@ -0,0 +1,15 @@
module links {
yang-version 1.1;
namespace "urn:mo:1";
prefix yang;
import ietf-yang-metadata {
prefix md;
revision-date 2016-08-05;
}
md:annotation value {
reference "RFC7950 section 7.7.9.";
description;
}
}

View file

@ -0,0 +1,31 @@
module mod6 {
prefix abc;
namespace "http://www.example.c;
yang-version 1.1;
container cont1 {
//x" {
}
augment "/aug-cont" {
list list2 {
key "key2";
leaf key2 {
type string;
}
}
notification nn {
typedef Mt {
type string {
length "1..255";
}
}
container log {
grouping g {
notification nn {
type j2an;
}
}

Binary file not shown.

View file

@ -0,0 +1,54 @@
module all {
yang-version 1.1;
namespace "urn:all";
prefix all_mod;
grouping t1 {
uses group1 {
}
leaf leaf12 {
type bits {
bit flag0 {
position 0;
if-feature "feat1";
}
bit flag1;
bit flag2 {
position 2;
}
bit flag3 {
position 3;
}
}
default "flag0 flag3";
}
list list1 {
key "leaf18";
unique "leaf1--------------------------------------------------- leaf leaT18 {
type string;
}
action act1 {
input ons on thg leaf";
leaf leaf30 {
type string;
}
}
}
augment "/cont1" {
leaf leaf17 {
type ideZtityref {
base all_imp:iden44;
}
must "../leaf17 = 'all_imp:iden }
action act1 {
t5'";
}
}
}

Binary file not shown.

View file

@ -0,0 +1,55 @@
module state-lists {
yang-version 1.1;
namespace "urn:state-lists";
prefix sl;
container cont {
config false;
grouping group1 {
leaf leaf3 {
type tdef2 {
length "3..9 | 30..40";
pattern "[ac
}*";
}
units "none";
default "aaa";
}
typedef tdef2 {
type string {
length "2..17 | 20..50";
pattern "[ab]*";
}
}
container cont1 {
uses group1 {
if-feature "feat2";
refine "leaf1" {
if-feature "feat3";
must "24 - 4 = number('20')";
default "25";
config true;
mandatory false;
description "dsc";
reference "none";
}
}
leaf leaf4 {
type int64 {
range "1000 .. 50000" {
error-message
"Special e
}
.";
}
}
}
}
}
}
}

View file

@ -0,0 +1,16 @@
module m0d0 {
prefix a0c;
namespace ¢0000000000000000000000";
list list0 {
key "key1";
unique "0n000";
leaf key1 {
type string;
}
leaf uniq0 {
type string;
}
}
}

Binary file not shown.

View file

@ -0,0 +1,8 @@
module d00000000 {
namespace "n";
prefix d;
leaf l1 {
type string;
when "/l0{k='when']";
}
}

View file

@ -0,0 +1,10 @@
module m {
prefix p;
namespace "n";
grouping g {
}
grouping s {
uses g;
}
}

View file

@ -0,0 +1,3 @@
module m {
include ""
}

View file

@ -0,0 +1,13 @@
module m {
namespace "n";
prefix p;
container c {
leaf trg-bits {
type bits {
bit b1;
bit "";
}
}
}
}

View file

@ -0,0 +1,7 @@
module m {
prefix p;
namespace "n";
list l {
must "";
}
}

View file

@ -0,0 +1,7 @@
module m {
prefix p;
namespace n;
list l {
if-feature 0(;
}
}

View file

@ -0,0 +1,7 @@
module d{
namespace n;
prefix p;
list l {
when "";
}
}

View file

@ -0,0 +1,9 @@
module d{
namespace "";
prefix d;
leaf f {
type string;
must "0e";
default "";
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
module eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee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eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeod {
yang-version 1.1;
namespace "urn:all";
prefix p;
container cond1 { }
grouping group1 {
}
}

View file

@ -0,0 +1,7 @@
module d{
namespace "";prefix d;
leaf f{
type w0iiiiiiiiiiiiiiiiiiiiiiiiiiiii0000;
default "";
}
}

View file

@ -0,0 +1,28 @@
module o00 { prefix c; namespace "00t000000w0000p00000
00n000e0000n00000
0cANG m0dule de0in0s an 'exten0ion' s0atemns
for defining 0etadat0 an0Copyri0ht (0) 2016 IE00 T0uct and th0 persons identifi4.0 of the IETF Tru0t0s Le0a0 P0ovi0i00s
Relatin0 t0 IE0F D0cu0e0 of RFC 7 (/tru0te0.ietf0org0license-info0.
Th0s ve00io0 of thi0 YA0G mod0le i0 pa't of RFC 78 (http:/0www-e0itor.!rg/info/0fc0902); see the 0FC i000lf
f0r fodule, i ";revision 2016-08-05{
description
"Initial revision.";
reference "RFC 7952: Defining and 0sin0 0etada0a with YANG";
}
extension annotation{
argument name;
description "This extension allows f0r defietadat0tadata an00tation0 in
YAN0 modules. 0he 0sion.";
reference "RFC 7952: Defining and 0sin0 0etada0a with YANG";
}
extension annotation{
argument name;
description " YAN0 modules. 0he 0sion.";
reference "RFC 7952: Defining and 0sin0 0etada0a with YANG";
}
}

View file

@ -0,0 +1,18 @@
module p{
namespace "";
prefix p;
container ports{
list port {
key name;
leaf name{
type string;}
}
}
augment "/ports/port" {
when "0</*=0";
leaf i {
type int32;
}
}
}

View file

@ -0,0 +1,10 @@
module p{
namespace "";
prefix p;
leaf mgmt-interface {
type leafref {
path "";
}
}
}

View file

@ -0,0 +1,28 @@
module example-ietf-interfaces {
yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:example-ietf-interfaces";
prefix if;
import ietf-yang-types {
prefix yang;
}
container interfaces-state {
config false;
list interface {
key "name";
leaf name {
type string;
}
container statistics {
leaf in-broadcast-pkts {
when "derived-from(if:type, 'ianaifp:multicast')" {
}
type yang:counter64;
}
}
}
}
}

View file

@ -0,0 +1,12 @@
module a{
yang-version 1.1;
namespace "ns1";
prefix a;
import issue976_b{
prefix acl;
}
augment "/acl:acls/acl:acl/acl:aces/acl:ace/acl:matches" {
}
}

View file

@ -0,0 +1,32 @@
module issue976_b {
yang-version 1.1;
namespace "ns2";
prefix acl;
container acls {
list acl {
key "name";
leaf name {
type string;
}
container aces {
list ace {
key "name";
leaf name {
type string {
length "1..64";
}
}
container matches {
leaf egress-interface {
type if:interface-ref;
}
leaf ingress-interface {
type if:interface-ref;
}
}
}
}
}
}
}

View file

@ -0,0 +1,41 @@
module a {
namespace "a";
prefix a;
import b{
prefix b;
}
typedef HexOffset {
type string;
}
grouping group {
container action {
config false;
container register {
config false;
list location {
key "location";
config false;
leaf location {
type string;
}
b:action "write" {
input {
leaf reg-addr {
type HexOffset;
mandatory true;
}
}
output {
leaf result {
type string;
}
}
}
}
}
}
}
}

View file

@ -0,0 +1,13 @@
module b {
namespace "b";
prefix b;
extension action {
argument name {
b:arg-type {
type b:identifier;
}
}
}
}

View file

@ -0,0 +1 @@
module ''+'c

View file

@ -0,0 +1,4 @@
module
f{grouping
s{list
󠀡ym{

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,8 @@
module m {
prefix p;
namespace "
list l {
must "";
}
}

View file

@ -0,0 +1,9 @@
module d{
namespace "";
prefix d;
leaf f {
type string;
must ":e";
default "";
}
}