summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_rules_running.json
diff options
context:
space:
mode:
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"
+ }
+ }
+ }
+ }
+ }
+}