summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_rules_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_rules_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_rules_running.json')
-rw-r--r--tests/unit/fixtures/firewall_rules_running.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/unit/fixtures/firewall_rules_running.json b/tests/unit/fixtures/firewall_rules_running.json
new file mode 100644
index 0000000..8fbd12c
--- /dev/null
+++ b/tests/unit/fixtures/firewall_rules_running.json
@@ -0,0 +1,33 @@
+{
+ "ipv4": {
+ "name": {
+ "RULE-SET1": {
+ "default-action": "drop",
+ "rule": {
+ "10": {
+ "action": "accept",
+ "protocol": "tcp",
+ "source": { "address": "192.168.1.0/24" },
+ "destination": { "port": "80" }
+ },
+ "20": {
+ "action": "drop",
+ "state": "invalid"
+ }
+ }
+ }
+ }
+ },
+ "ipv6": {
+ "name": {
+ "RULE-SET6": {
+ "default-action": "accept",
+ "rule": {
+ "10": {
+ "action": "accept"
+ }
+ }
+ }
+ }
+ }
+}