summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_interfaces_running.json
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-08-21 14:06:28 -0500
committerGitHub <noreply@github.com>2026-08-21 14:06:28 -0500
commitff5224728484eb4f3bbf6ae52fe0b79f64959660 (patch)
tree71b3e53e0080da60abf9fd2381705971dfe4d507 /tests/unit/fixtures/firewall_interfaces_running.json
parent7a6b5e4f3a7a021cfa75faa7bf833741dfc09cff (diff)
parent45dc95873fd906c582fbbd5e6ca3838caf867399 (diff)
downloadrest.vyos-ff5224728484eb4f3bbf6ae52fe0b79f64959660.tar.gz
rest.vyos-ff5224728484eb4f3bbf6ae52fe0b79f64959660.zip
Merge pull request #16 from vyos/T8989_wave4
T8989: wave4 vyos_command, dict_op refactor
Diffstat (limited to 'tests/unit/fixtures/firewall_interfaces_running.json')
-rw-r--r--tests/unit/fixtures/firewall_interfaces_running.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/unit/fixtures/firewall_interfaces_running.json b/tests/unit/fixtures/firewall_interfaces_running.json
index b0ce2d5..af120ce 100644
--- a/tests/unit/fixtures/firewall_interfaces_running.json
+++ b/tests/unit/fixtures/firewall_interfaces_running.json
@@ -5,7 +5,12 @@
"default-action": "accept",
"rule": {
"10": { "action": "accept", "state": "established" },
- "20": { "action": "drop", "state": "invalid" }
+ "20": {
+ "action": "drop",
+ "state": "invalid",
+ "source": { "address": "10.0.0.0/8" },
+ "destination": { "port": "22" }
+ }
}
}
},
@@ -18,6 +23,13 @@
"filter": {
"default-action": "accept"
}
+ },
+ "name": {
+ "my-ruleset": {
+ "rule": {
+ "1": { "action": "accept" }
+ }
+ }
}
},
"ipv6": {