From b90161ccd3b318f3314a23cb10c387651ad35831 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 06:23:18 +0200 Subject: Adding upstream version 2.1.148. Signed-off-by: Daniel Baumann --- tests/yanglint/data/modaction.xml | 8 ++++++++ tests/yanglint/data/modaction_ds.xml | 5 +++++ tests/yanglint/data/modaction_nc.xml | 13 +++++++++++++ tests/yanglint/data/modaction_reply.xml | 8 ++++++++ tests/yanglint/data/modaction_reply_nc.xml | 4 ++++ tests/yanglint/data/modconfig.xml | 4 ++++ tests/yanglint/data/modconfig2.xml | 3 +++ tests/yanglint/data/modconfig_ctx.xml | 13 +++++++++++++ tests/yanglint/data/moddatanodes.xml | 17 +++++++++++++++++ tests/yanglint/data/moddefault.xml | 4 ++++ tests/yanglint/data/modimp_type_ctx.xml | 13 +++++++++++++ tests/yanglint/data/modleaf.djson | 3 +++ tests/yanglint/data/modleaf.dxml | 1 + tests/yanglint/data/modleaf.xml | 1 + tests/yanglint/data/modleafref.xml | 2 ++ tests/yanglint/data/modleafref2.xml | 2 ++ tests/yanglint/data/modmandatory.xml | 3 +++ tests/yanglint/data/modmandatory_invalid.xml | 3 +++ tests/yanglint/data/modmerge.xml | 4 ++++ tests/yanglint/data/modmerge2.xml | 3 +++ tests/yanglint/data/modmerge3.xml | 3 +++ tests/yanglint/data/modnotif.xml | 5 +++++ tests/yanglint/data/modnotif2.xml | 3 +++ tests/yanglint/data/modnotif2_nc.xml | 6 ++++++ tests/yanglint/data/modnotif_ds.xml | 1 + tests/yanglint/data/modnotif_nc.xml | 8 ++++++++ tests/yanglint/data/modoper_leafref_action.xml | 8 ++++++++ tests/yanglint/data/modoper_leafref_action_reply.xml | 8 ++++++++ tests/yanglint/data/modoper_leafref_ds.xml | 9 +++++++++ tests/yanglint/data/modoper_leafref_notif.xml | 3 +++ tests/yanglint/data/modoper_leafref_notif2.xml | 8 ++++++++ tests/yanglint/data/modoper_leafref_notif_err.xml | 7 +++++++ tests/yanglint/data/modoper_leafref_rpc.xml | 3 +++ tests/yanglint/data/modoper_leafref_rpc_reply.xml | 5 +++++ tests/yanglint/data/modrpc.xml | 3 +++ tests/yanglint/data/modrpc_nc.xml | 6 ++++++ tests/yanglint/data/modrpc_reply.xml | 5 +++++ tests/yanglint/data/modrpc_reply_nc.xml | 6 ++++++ tests/yanglint/data/modsm.xml | 3 +++ tests/yanglint/data/modsm2.xml | 4 ++++ tests/yanglint/data/modsm_ctx_ext.xml | 20 ++++++++++++++++++++ tests/yanglint/data/modsm_ctx_main.xml | 17 +++++++++++++++++ 42 files changed, 255 insertions(+) create mode 100644 tests/yanglint/data/modaction.xml create mode 100644 tests/yanglint/data/modaction_ds.xml create mode 100644 tests/yanglint/data/modaction_nc.xml create mode 100644 tests/yanglint/data/modaction_reply.xml create mode 100644 tests/yanglint/data/modaction_reply_nc.xml create mode 100644 tests/yanglint/data/modconfig.xml create mode 100644 tests/yanglint/data/modconfig2.xml create mode 100644 tests/yanglint/data/modconfig_ctx.xml create mode 100644 tests/yanglint/data/moddatanodes.xml create mode 100644 tests/yanglint/data/moddefault.xml create mode 100644 tests/yanglint/data/modimp_type_ctx.xml create mode 100644 tests/yanglint/data/modleaf.djson create mode 100644 tests/yanglint/data/modleaf.dxml create mode 100644 tests/yanglint/data/modleaf.xml create mode 100644 tests/yanglint/data/modleafref.xml create mode 100644 tests/yanglint/data/modleafref2.xml create mode 100644 tests/yanglint/data/modmandatory.xml create mode 100644 tests/yanglint/data/modmandatory_invalid.xml create mode 100644 tests/yanglint/data/modmerge.xml create mode 100644 tests/yanglint/data/modmerge2.xml create mode 100644 tests/yanglint/data/modmerge3.xml create mode 100644 tests/yanglint/data/modnotif.xml create mode 100644 tests/yanglint/data/modnotif2.xml create mode 100644 tests/yanglint/data/modnotif2_nc.xml create mode 100644 tests/yanglint/data/modnotif_ds.xml create mode 100644 tests/yanglint/data/modnotif_nc.xml create mode 100644 tests/yanglint/data/modoper_leafref_action.xml create mode 100644 tests/yanglint/data/modoper_leafref_action_reply.xml create mode 100644 tests/yanglint/data/modoper_leafref_ds.xml create mode 100644 tests/yanglint/data/modoper_leafref_notif.xml create mode 100644 tests/yanglint/data/modoper_leafref_notif2.xml create mode 100644 tests/yanglint/data/modoper_leafref_notif_err.xml create mode 100644 tests/yanglint/data/modoper_leafref_rpc.xml create mode 100644 tests/yanglint/data/modoper_leafref_rpc_reply.xml create mode 100644 tests/yanglint/data/modrpc.xml create mode 100644 tests/yanglint/data/modrpc_nc.xml create mode 100644 tests/yanglint/data/modrpc_reply.xml create mode 100644 tests/yanglint/data/modrpc_reply_nc.xml create mode 100644 tests/yanglint/data/modsm.xml create mode 100644 tests/yanglint/data/modsm2.xml create mode 100644 tests/yanglint/data/modsm_ctx_ext.xml create mode 100644 tests/yanglint/data/modsm_ctx_main.xml (limited to 'tests/yanglint/data') diff --git a/tests/yanglint/data/modaction.xml b/tests/yanglint/data/modaction.xml new file mode 100644 index 0000000..37faa2d --- /dev/null +++ b/tests/yanglint/data/modaction.xml @@ -0,0 +1,8 @@ + + + kv + + some_input + + + diff --git a/tests/yanglint/data/modaction_ds.xml b/tests/yanglint/data/modaction_ds.xml new file mode 100644 index 0000000..a5a1727 --- /dev/null +++ b/tests/yanglint/data/modaction_ds.xml @@ -0,0 +1,5 @@ + + + kv + + diff --git a/tests/yanglint/data/modaction_nc.xml b/tests/yanglint/data/modaction_nc.xml new file mode 100644 index 0000000..a74b6bf --- /dev/null +++ b/tests/yanglint/data/modaction_nc.xml @@ -0,0 +1,13 @@ + + + + + kv + + some_input + + + + + diff --git a/tests/yanglint/data/modaction_reply.xml b/tests/yanglint/data/modaction_reply.xml new file mode 100644 index 0000000..7d6532d --- /dev/null +++ b/tests/yanglint/data/modaction_reply.xml @@ -0,0 +1,8 @@ + + + kv + + -56 + + + diff --git a/tests/yanglint/data/modaction_reply_nc.xml b/tests/yanglint/data/modaction_reply_nc.xml new file mode 100644 index 0000000..f7c3b8f --- /dev/null +++ b/tests/yanglint/data/modaction_reply_nc.xml @@ -0,0 +1,4 @@ + + -56 + diff --git a/tests/yanglint/data/modconfig.xml b/tests/yanglint/data/modconfig.xml new file mode 100644 index 0000000..f8a03a9 --- /dev/null +++ b/tests/yanglint/data/modconfig.xml @@ -0,0 +1,4 @@ + + rw + ro + diff --git a/tests/yanglint/data/modconfig2.xml b/tests/yanglint/data/modconfig2.xml new file mode 100644 index 0000000..c96e344 --- /dev/null +++ b/tests/yanglint/data/modconfig2.xml @@ -0,0 +1,3 @@ + + rw + diff --git a/tests/yanglint/data/modconfig_ctx.xml b/tests/yanglint/data/modconfig_ctx.xml new file mode 100644 index 0000000..124989c --- /dev/null +++ b/tests/yanglint/data/modconfig_ctx.xml @@ -0,0 +1,13 @@ + + + main-set + + modconfig + urn:yanglint:modconfig + + + 1 + + + 1 + diff --git a/tests/yanglint/data/moddatanodes.xml b/tests/yanglint/data/moddatanodes.xml new file mode 100644 index 0000000..8ae6e97 --- /dev/null +++ b/tests/yanglint/data/moddatanodes.xml @@ -0,0 +1,17 @@ + + x + 1 + 2 + + + ka1 + kb1 + v1 + + + ka2 + kb2 + v2 + + + diff --git a/tests/yanglint/data/moddefault.xml b/tests/yanglint/data/moddefault.xml new file mode 100644 index 0000000..00f3a9d --- /dev/null +++ b/tests/yanglint/data/moddefault.xml @@ -0,0 +1,4 @@ + + 0 + 5 + diff --git a/tests/yanglint/data/modimp_type_ctx.xml b/tests/yanglint/data/modimp_type_ctx.xml new file mode 100644 index 0000000..e6d158a --- /dev/null +++ b/tests/yanglint/data/modimp_type_ctx.xml @@ -0,0 +1,13 @@ + + + main-set + + modimp-type + urn:yanglint:modimp-type + + + 1 + + + 1 + diff --git a/tests/yanglint/data/modleaf.djson b/tests/yanglint/data/modleaf.djson new file mode 100644 index 0000000..25af218 --- /dev/null +++ b/tests/yanglint/data/modleaf.djson @@ -0,0 +1,3 @@ +{ + "modleaf:lfl": 7 +} diff --git a/tests/yanglint/data/modleaf.dxml b/tests/yanglint/data/modleaf.dxml new file mode 100644 index 0000000..408936a --- /dev/null +++ b/tests/yanglint/data/modleaf.dxml @@ -0,0 +1 @@ +7 diff --git a/tests/yanglint/data/modleaf.xml b/tests/yanglint/data/modleaf.xml new file mode 100644 index 0000000..408936a --- /dev/null +++ b/tests/yanglint/data/modleaf.xml @@ -0,0 +1 @@ +7 diff --git a/tests/yanglint/data/modleafref.xml b/tests/yanglint/data/modleafref.xml new file mode 100644 index 0000000..c9fb147 --- /dev/null +++ b/tests/yanglint/data/modleafref.xml @@ -0,0 +1,2 @@ +7 +7 diff --git a/tests/yanglint/data/modleafref2.xml b/tests/yanglint/data/modleafref2.xml new file mode 100644 index 0000000..3946daf --- /dev/null +++ b/tests/yanglint/data/modleafref2.xml @@ -0,0 +1,2 @@ +7 +10 diff --git a/tests/yanglint/data/modmandatory.xml b/tests/yanglint/data/modmandatory.xml new file mode 100644 index 0000000..108cb2a --- /dev/null +++ b/tests/yanglint/data/modmandatory.xml @@ -0,0 +1,3 @@ + + 9 + diff --git a/tests/yanglint/data/modmandatory_invalid.xml b/tests/yanglint/data/modmandatory_invalid.xml new file mode 100644 index 0000000..de71895 --- /dev/null +++ b/tests/yanglint/data/modmandatory_invalid.xml @@ -0,0 +1,3 @@ + + 9 + diff --git a/tests/yanglint/data/modmerge.xml b/tests/yanglint/data/modmerge.xml new file mode 100644 index 0000000..b52eff5 --- /dev/null +++ b/tests/yanglint/data/modmerge.xml @@ -0,0 +1,4 @@ + + one + 4 + diff --git a/tests/yanglint/data/modmerge2.xml b/tests/yanglint/data/modmerge2.xml new file mode 100644 index 0000000..e7f17c4 --- /dev/null +++ b/tests/yanglint/data/modmerge2.xml @@ -0,0 +1,3 @@ + + zero + diff --git a/tests/yanglint/data/modmerge3.xml b/tests/yanglint/data/modmerge3.xml new file mode 100644 index 0000000..6ef857e --- /dev/null +++ b/tests/yanglint/data/modmerge3.xml @@ -0,0 +1,3 @@ + + str + diff --git a/tests/yanglint/data/modnotif.xml b/tests/yanglint/data/modnotif.xml new file mode 100644 index 0000000..81cab21 --- /dev/null +++ b/tests/yanglint/data/modnotif.xml @@ -0,0 +1,5 @@ + + + nested + + diff --git a/tests/yanglint/data/modnotif2.xml b/tests/yanglint/data/modnotif2.xml new file mode 100644 index 0000000..fc75b57 --- /dev/null +++ b/tests/yanglint/data/modnotif2.xml @@ -0,0 +1,3 @@ + + top + diff --git a/tests/yanglint/data/modnotif2_nc.xml b/tests/yanglint/data/modnotif2_nc.xml new file mode 100644 index 0000000..c87cfa0 --- /dev/null +++ b/tests/yanglint/data/modnotif2_nc.xml @@ -0,0 +1,6 @@ + + 2010-12-06T08:00:01Z + + top + + diff --git a/tests/yanglint/data/modnotif_ds.xml b/tests/yanglint/data/modnotif_ds.xml new file mode 100644 index 0000000..efd835b --- /dev/null +++ b/tests/yanglint/data/modnotif_ds.xml @@ -0,0 +1 @@ + diff --git a/tests/yanglint/data/modnotif_nc.xml b/tests/yanglint/data/modnotif_nc.xml new file mode 100644 index 0000000..39a3440 --- /dev/null +++ b/tests/yanglint/data/modnotif_nc.xml @@ -0,0 +1,8 @@ + + 2010-12-06T08:00:01Z + + + nested + + + diff --git a/tests/yanglint/data/modoper_leafref_action.xml b/tests/yanglint/data/modoper_leafref_action.xml new file mode 100644 index 0000000..7ccf29f --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_action.xml @@ -0,0 +1,8 @@ + + + key_val + + rw + + + diff --git a/tests/yanglint/data/modoper_leafref_action_reply.xml b/tests/yanglint/data/modoper_leafref_action_reply.xml new file mode 100644 index 0000000..39ec672 --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_action_reply.xml @@ -0,0 +1,8 @@ + + + key_val + + rw + + + diff --git a/tests/yanglint/data/modoper_leafref_ds.xml b/tests/yanglint/data/modoper_leafref_ds.xml new file mode 100644 index 0000000..f934b9b --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_ds.xml @@ -0,0 +1,9 @@ + + rw + ro + + + + key_val + + diff --git a/tests/yanglint/data/modoper_leafref_notif.xml b/tests/yanglint/data/modoper_leafref_notif.xml new file mode 100644 index 0000000..2c56b67 --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_notif.xml @@ -0,0 +1,3 @@ + + rw + diff --git a/tests/yanglint/data/modoper_leafref_notif2.xml b/tests/yanglint/data/modoper_leafref_notif2.xml new file mode 100644 index 0000000..466697c --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_notif2.xml @@ -0,0 +1,8 @@ + + + key_val + + rw + + + diff --git a/tests/yanglint/data/modoper_leafref_notif_err.xml b/tests/yanglint/data/modoper_leafref_notif_err.xml new file mode 100644 index 0000000..1622ded --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_notif_err.xml @@ -0,0 +1,7 @@ + + rw + ro + + + rw + diff --git a/tests/yanglint/data/modoper_leafref_rpc.xml b/tests/yanglint/data/modoper_leafref_rpc.xml new file mode 100644 index 0000000..b294544 --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_rpc.xml @@ -0,0 +1,3 @@ + + rw + diff --git a/tests/yanglint/data/modoper_leafref_rpc_reply.xml b/tests/yanglint/data/modoper_leafref_rpc_reply.xml new file mode 100644 index 0000000..e8f7af3 --- /dev/null +++ b/tests/yanglint/data/modoper_leafref_rpc_reply.xml @@ -0,0 +1,5 @@ + + + rw + + diff --git a/tests/yanglint/data/modrpc.xml b/tests/yanglint/data/modrpc.xml new file mode 100644 index 0000000..a4f924d --- /dev/null +++ b/tests/yanglint/data/modrpc.xml @@ -0,0 +1,3 @@ + + some_input + diff --git a/tests/yanglint/data/modrpc_nc.xml b/tests/yanglint/data/modrpc_nc.xml new file mode 100644 index 0000000..78d3149 --- /dev/null +++ b/tests/yanglint/data/modrpc_nc.xml @@ -0,0 +1,6 @@ + + + some_input + + diff --git a/tests/yanglint/data/modrpc_reply.xml b/tests/yanglint/data/modrpc_reply.xml new file mode 100644 index 0000000..632971c --- /dev/null +++ b/tests/yanglint/data/modrpc_reply.xml @@ -0,0 +1,5 @@ + + + -56 + + diff --git a/tests/yanglint/data/modrpc_reply_nc.xml b/tests/yanglint/data/modrpc_reply_nc.xml new file mode 100644 index 0000000..da2a01c --- /dev/null +++ b/tests/yanglint/data/modrpc_reply_nc.xml @@ -0,0 +1,6 @@ + + + -56 + + diff --git a/tests/yanglint/data/modsm.xml b/tests/yanglint/data/modsm.xml new file mode 100644 index 0000000..bb0793c --- /dev/null +++ b/tests/yanglint/data/modsm.xml @@ -0,0 +1,3 @@ + + 7 + diff --git a/tests/yanglint/data/modsm2.xml b/tests/yanglint/data/modsm2.xml new file mode 100644 index 0000000..ff6f103 --- /dev/null +++ b/tests/yanglint/data/modsm2.xml @@ -0,0 +1,4 @@ + + 7 + str + diff --git a/tests/yanglint/data/modsm_ctx_ext.xml b/tests/yanglint/data/modsm_ctx_ext.xml new file mode 100644 index 0000000..e80141a --- /dev/null +++ b/tests/yanglint/data/modsm_ctx_ext.xml @@ -0,0 +1,20 @@ + + + test-set + + modleaf + urn:yanglint:modleaf + + + 1 + + + 1 + + + + modsm + + + + diff --git a/tests/yanglint/data/modsm_ctx_main.xml b/tests/yanglint/data/modsm_ctx_main.xml new file mode 100644 index 0000000..5405d4d --- /dev/null +++ b/tests/yanglint/data/modsm_ctx_main.xml @@ -0,0 +1,17 @@ + + + main-set + + modsm + urn:yanglint:modsm + + + modsm-augment + urn:yanglint:modsm-augment + + + 1 + + + 1 + -- cgit v1.2.3