summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_interfaces_running.json
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-08-22 01:36:21 +1000
committerGitHub <noreply@github.com>2026-08-21 10:36:21 -0500
commit7a6b5e4f3a7a021cfa75faa7bf833741dfc09cff (patch)
tree82dad9c7ca58b7c88ac25f2ef7b04413e259a260 /tests/unit/fixtures/firewall_interfaces_running.json
parentcb738721c15ac01f49f66144dae80eb478331f77 (diff)
downloadrest.vyos-7a6b5e4f3a7a021cfa75faa7bf833741dfc09cff.tar.gz
rest.vyos-7a6b5e4f3a7a021cfa75faa7bf833741dfc09cff.zip
T8989: wave3 user, bgp_global, bgp_address_family, facts, firewall_global
* T8989: vyos_user module * T8989: Wave 3 vyos_user module with integration and unit tests * T8989: Wave 3 vyos_bgp_global module with integration and unit tests * T8989: Wave 3 vyos_bgp_address_family module with integration and unit tests * T8989: Add overridden integration tests for vyos_bgp_global and vyos_bgp_address_family * T8989: vyos_facts * T8989: Add vyos_facts integration and unit tests with fixtures * T8989: vyos_firewall_global module * T8989: vyos_firewall_global module with integration and unit tests * T8989: vyos_firewall_rules module * T8989: vyos_firewall_rules module with integration and unit tests * T8989: vyos_firewall_interfaces module * T8989: vyos_firewall_interfaces module * T8989: vyos_firewall_interfaces UAT & SIT * T8989: vyos_firewall_interfaces UAT & SIT
Diffstat (limited to 'tests/unit/fixtures/firewall_interfaces_running.json')
-rw-r--r--tests/unit/fixtures/firewall_interfaces_running.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/unit/fixtures/firewall_interfaces_running.json b/tests/unit/fixtures/firewall_interfaces_running.json
new file mode 100644
index 0000000..b0ce2d5
--- /dev/null
+++ b/tests/unit/fixtures/firewall_interfaces_running.json
@@ -0,0 +1,30 @@
+{
+ "ipv4": {
+ "input": {
+ "filter": {
+ "default-action": "accept",
+ "rule": {
+ "10": { "action": "accept", "state": "established" },
+ "20": { "action": "drop", "state": "invalid" }
+ }
+ }
+ },
+ "forward": {
+ "filter": {
+ "default-action": "accept"
+ }
+ },
+ "output": {
+ "filter": {
+ "default-action": "accept"
+ }
+ }
+ },
+ "ipv6": {
+ "input": {
+ "filter": {
+ "default-action": "accept"
+ }
+ }
+ }
+}