summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_firewall_rules/vars
diff options
context:
space:
mode:
authorRohit Thakur <rohitthakur2590@outlook.com>2020-05-08 13:14:12 +0530
committerRohit Thakur <rohitthakur2590@outlook.com>2020-05-08 13:14:12 +0530
commit45715027fec488a74f7942cbc647ce7a6e0c69ed (patch)
tree6f72763224aa225a7718ddee3fabc50159e17570 /tests/integration/targets/vyos_firewall_rules/vars
parentbf9a91b4859e07c40b0a6aeb64b8ef6096af41b1 (diff)
downloadvyos-ansible-collection-45715027fec488a74f7942cbc647ce7a6e0c69ed.tar.gz
vyos-ansible-collection-45715027fec488a74f7942cbc647ce7a6e0c69ed.zip
test cases updated
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
Diffstat (limited to 'tests/integration/targets/vyos_firewall_rules/vars')
-rw-r--r--tests/integration/targets/vyos_firewall_rules/vars/main.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/integration/targets/vyos_firewall_rules/vars/main.yaml b/tests/integration/targets/vyos_firewall_rules/vars/main.yaml
index adfc48a..88323ba 100644
--- a/tests/integration/targets/vyos_firewall_rules/vars/main.yaml
+++ b/tests/integration/targets/vyos_firewall_rules/vars/main.yaml
@@ -196,6 +196,49 @@ overridden:
action: reject
description: Rule 502 is configured by Ansible
ipsec: match-ipsec
+parsed:
+ after:
+ - afi: ipv6
+ rule_sets:
+ - name: UPLINK
+ description: This is ipv6 specific rule-set
+ default_action: accept
+ rules:
+ - number: 1
+ action: accept
+ description: Fwipv6-Rule 1 is configured by Ansible
+ ipsec: match-ipsec
+ - number: 2
+ action: accept
+ description: Fwipv6-Rule 2 is configured by Ansible
+ ipsec: match-ipsec
+ - afi: ipv4
+ rule_sets:
+ - name: INBOUND
+ description: IPv4 INBOUND rule set
+ default_action: accept
+ rules:
+ - number: 101
+ action: accept
+ description: Rule 101 is configured by Ansible
+ ipsec: match-ipsec
+ - number: 102
+ action: reject
+ description: Rule 102 is configured by Ansible
+ ipsec: match-ipsec
+ - number: 103
+ action: accept
+ description: Rule 103 is configured by Ansible
+ destination:
+ group:
+ address_group: inbound
+ source:
+ address: 192.0.2.0
+ state:
+ established: true
+ new: false
+ invalid: false
+ related: true
rendered:
commands:
- set firewall ipv6-name UPLINK default-action 'accept'