czechlight-cfg-fs: add NACM rules for anonymous access

Depends-On: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/6373
Change-Id: Ifd7f4f9f4ff5d184a6459d3c98aa2602cbe53d5f
diff --git a/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/cmdline b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/cmdline
new file mode 100644
index 0000000..6b1d906
--- /dev/null
+++ b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/cmdline
@@ -0,0 +1 @@
+czechlight=sdn-roadm-line
diff --git a/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/expected.json b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/expected.json
new file mode 100644
index 0000000..f8ca166
--- /dev/null
+++ b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/expected.json
@@ -0,0 +1,111 @@
+{
+    "ietf-netconf-acm:nacm": {
+        "rule-list": [
+            {
+                "name": "Permit yangnobody user/group to read only some modules",
+                "group": [
+                    "yangnobody"
+                ],
+                "rule": [
+                    {
+                        "name": "czechlight-roadm-device",
+                        "module-name": "czechlight-roadm-device",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "czechlight-inline-amp",
+                        "module-name": "czechlight-inline-amp",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "czechlight-coherent-add-drop",
+                        "module-name": "czechlight-coherent-add-drop",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-yang-library",
+                        "module-name": "ietf-yang-library",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-hardware",
+                        "module-name": "ietf-hardware",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-interfaces",
+                        "module-name": "ietf-interfaces",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-system: contact",
+                        "module-name": "ietf-system",
+                        "action": "permit",
+                        "path": "/ietf-system:system/contact",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-system: hostname",
+                        "module-name": "ietf-system",
+                        "action": "permit",
+                        "path": "/ietf-system:system/hostname",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-system: location",
+                        "module-name": "ietf-system",
+                        "action": "permit",
+                        "path": "/ietf-system:system/location",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-system: clock",
+                        "module-name": "ietf-system",
+                        "action": "permit",
+                        "path": "/ietf-system:system/clock",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "ietf-system: system-state",
+                        "module-name": "ietf-system",
+                        "action": "permit",
+                        "path": "/ietf-system:system-state",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "czechlight-lldp",
+                        "module-name": "czechlight-lldp",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "czechlight-system:firmware",
+                        "module-name": "czechlight-system",
+                        "path": "/czechlight-system:firmware",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "czechlight-system:leds",
+                        "module-name": "czechlight-system",
+                        "path": "/czechlight-system:leds",
+                        "action": "permit",
+                        "access-operations": "read"
+                    },
+                    {
+                        "name": "wildcard-deny",
+                        "module-name": "*",
+                        "action": "deny",
+                        "access-operations": "*"
+                    }
+                ]
+            }
+        ]
+    }
+}
diff --git a/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/startup.json b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/startup.json
new file mode 100644
index 0000000..2c63c08
--- /dev/null
+++ b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/startup.json
@@ -0,0 +1,2 @@
+{
+}
diff --git a/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/version b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/version
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/version
@@ -0,0 +1 @@
+4
diff --git a/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/xpath b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/xpath
new file mode 100644
index 0000000..8eca9fa
--- /dev/null
+++ b/tests/czechlight-cfg-fs/data/v4_sdn-roadm-line_no_nacm/xpath
@@ -0,0 +1 @@
+/ietf-netconf-acm:nacm