vlan: update error message pattern for new guest
and replace "iptables -F" with stopping "firewalld.service"
1. Developer added extack messages for vlan link create in kernel
> 4.18, so update corresponding txt pattern in test case.
2. "iptables -F" deletes all the filter rules on RHEL7, but does
not work on RHEL8, "firewalld" uses "nftables" as its default
backend on RHEL8. so try to stop filter rules with
"systemctl stop firewalld" on RHEL7 and RHEL8.
Signed-off-by: NSitong Liu <siliu@redhat.com>
Showing
想要评论请 注册 或 登录