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:
parent
6d26fe9aec
commit
d41cbd9b1b
@ -61,8 +61,4 @@
|
|||||||
ip addr add ${vm_infra_ip_address}${vm_infra_ip_cidr} dev vm-infra-bridge
|
ip addr add ${vm_infra_ip_address}${vm_infra_ip_cidr} dev vm-infra-bridge
|
||||||
brctl addif vm-infra-bridge REPLACEMENT_VM_INFRA_INTF
|
brctl addif vm-infra-bridge REPLACEMENT_VM_INFRA_INTF
|
||||||
fi;
|
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
|
exit 0
|
||||||
|
@ -61,8 +61,4 @@
|
|||||||
ip addr add ${vm_infra_ip_address}${vm_infra_ip_cidr} dev vm-infra-bridge
|
ip addr add ${vm_infra_ip_address}${vm_infra_ip_cidr} dev vm-infra-bridge
|
||||||
brctl addif vm-infra-bridge REPLACEMENT_VM_INFRA_INTF
|
brctl addif vm-infra-bridge REPLACEMENT_VM_INFRA_INTF
|
||||||
fi;
|
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
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user