@@ -1002,7 +1002,7 @@ function enable_netconsole {
10021002# For OVS troubleshooting needs:
10031003# http://www.yet.org/2014/09/openvswitch-troubleshooting/
10041004#
1005- function ovs_gre_bridge {
1005+ function ovs_vxlan_bridge {
10061006 if is_fedora; then
10071007 local ovs_package=' openvswitch'
10081008 local ovs_service=' openvswitch'
@@ -1048,26 +1048,26 @@ function ovs_gre_bridge {
10481048 # For reference on how to setup a tunnel using OVS see:
10491049 # http://openvswitch.org/support/config-cookbooks/port-tunneling/
10501050 # The command below is equivalent to the sequence of ip/brctl commands
1051- # where an interface of gre type is created first, and then plugged into
1051+ # where an interface of vxlan type is created first, and then plugged into
10521052 # the bridge; options are command specific configuration key-value pairs.
10531053 #
1054- # Create the gre tunnel for the Controller/Network Node:
1054+ # Create the vxlan tunnel for the Controller/Network Node:
10551055 # This establishes a tunnel between remote $node_ip to local $host_ip
10561056 # uniquely identified by a key $offset
10571057 sudo ovs-vsctl --may-exist add-port $bridge_name \
10581058 ${bridge_name} _${node_ip} \
1059- -- set interface ${bridge_name} _${node_ip} type=gre \
1059+ -- set interface ${bridge_name} _${node_ip} type=vxlan \
10601060 options:remote_ip=${node_ip} \
10611061 options:key=${offset} \
10621062 options:local_ip=${host_ip}
1063- # Now complete the gre tunnel setup for the Compute Node:
1063+ # Now complete the vxlan tunnel setup for the Compute Node:
10641064 # Similarly this establishes the tunnel in the reverse direction
10651065 remote_command $node_ip " $install_ovs_deps "
10661066 remote_command $node_ip sudo ovs-vsctl --may-exist add-br $bridge_name
10671067 remote_command $node_ip sudo ip link set mtu $mtu dev $bridge_name
10681068 remote_command $node_ip sudo ovs-vsctl --may-exist add-port $bridge_name \
10691069 ${bridge_name} _${host_ip} \
1070- -- set interface ${bridge_name} _${host_ip} type=gre \
1070+ -- set interface ${bridge_name} _${host_ip} type=vxlan \
10711071 options:remote_ip=${host_ip} \
10721072 options:key=${offset} \
10731073 options:local_ip=${node_ip}
0 commit comments