Removal of IPTable rules in vm-infra-bridge manifests.

Change in the vino networking model to accomodate pxe network
(https://review.opendev.org/c/airship/vino/+/793652) has made the iptables
update in the vm-infra-bridge manifesst unnecessary.
This PS removes the iptables related entries.

Change-Id: I0eb530b17302f34c3eaee83ca6fd454c665f7e73
This commit is contained in:
Manoj Alva(ma257n) 2021-06-03 17:25:57 +00:00
parent 6d26fe9aec
commit d41cbd9b1b
2 changed files with 0 additions and 8 deletions

View File

@ -61,8 +61,4 @@
ip addr add ${vm_infra_ip_address}${vm_infra_ip_cidr} dev vm-infra-bridge
brctl addif vm-infra-bridge REPLACEMENT_VM_INFRA_INTF
fi;
# add forwarding rule for vm-infra-bridge
iptables -A FORWARD -i vm-infra-bridge -j ACCEPT
# add iptables postrouting nat
iptables -t nat -A POSTROUTING -s REPLACEMENT_VM_NETWORK${vm_infra_ip_cidr} -o REPLACEMENT_MGMT_INTF -j MASQUERADE
exit 0

View File

@ -61,8 +61,4 @@
ip addr add ${vm_infra_ip_address}${vm_infra_ip_cidr} dev vm-infra-bridge
brctl addif vm-infra-bridge REPLACEMENT_VM_INFRA_INTF
fi;
# add forwarding rule for vm-infra-bridge
iptables -A FORWARD -i vm-infra-bridge -j ACCEPT
# add iptables postrouting nat
iptables -t nat -A POSTROUTING -s REPLACEMENT_VM_NETWORK${vm_infra_ip_cidr} -o REPLACEMENT_MGMT_INTF -j MASQUERADE
exit 0