]> git.proxmox.com Git - pve-firewall.git/commit - test/corosync.conf
Update and add tests for corosync firewall changes
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 1 Jul 2019 15:22:16 +0000 (17:22 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 2 Jul 2019 07:05:44 +0000 (09:05 +0200)
commit6f6a6b3f8259c06fe9f7f14490caa5275996b5c6
tree96d4e6308314494b0c27892e063598d7aa39cccc
parent06208a013f82b8654d009c7f6e10c2bd25b316bd
Update and add tests for corosync firewall changes

Since corosync rules are now only created when a corosync.conf file is
present, a static corosync.conf has been added and will be loaded for
testing.

New test rules have been introduced to check corosync rules relating to
different rings/links.

Includes hostnames in config to trigger resolving codepaths.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
test/corosync.conf [new file with mode: 0644]
test/fwtester.pl
test/test-default-rules1/tests