Skip to content

Commit

Permalink
fix encap_ip will be lost when we restart the ovs-dpdk node (#2543)
Browse files Browse the repository at this point in the history
Co-authored-by: yuanliu <yuanliu@cmss.chinamobile.com>
  • Loading branch information
2 people authored and bobz965 committed Jun 12, 2023
1 parent 919c8ee commit 0a0d254
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/images/start-ovs-dpdk-v2.sh
Expand Up @@ -103,11 +103,12 @@ esac

ovs-vsctl set port ${DPDK_TUNNEL_IFACE} tag=${VLAN_TAG}

ip addr add ${ENCAP_IP} dev ${DPDK_TUNNEL_IFACE}
fi

ip link set ${DPDK_TUNNEL_IFACE} up

ip addr replace ${ENCAP_IP} dev ${DPDK_TUNNEL_IFACE}

ovs-vsctl --may-exist add-br br-int \
-- set Bridge br-int datapath_type=netdev \
-- br-set-external-id br-int bridge-id br-int \
Expand Down

0 comments on commit 0a0d254

Please sign in to comment.