Open StephaneGerardVUB opened 7 years ago
do you want support for gre tunnels like https://www.linickx.com/gre-example-for-centosrhel? because that requires also some schema changes
I need support for GRE tunnels like this : http://docs.openvswitch.org/en/latest/howto/tunneling/?highlight=gre
that's a tunnel mamanged by openvswitch. maybe i'm missing something here, but i don't think these have ifcfg- files. (and if they have, you can call them whatever you want, incl eth)
We create openvswitch bridges and GRE endpoints with ifcfg- files generated by ncm-network. Here are a few examples : `cat /etc/sysconfig/network-scripts/ifcfg-br2
ONBOOT=yes NM_CONTROLLED='no' DEVICE=br2 TYPE=OVSBridge DEVICETYPE='ovs' MTU=1462 BOOTPROTO=none
cat /etc/sysconfig/network-scripts/ifcfg-gre0
ONBOOT=yes NM_CONTROLLED='no' DEVICE=gre0 TYPE=OVSTunnel DEVICETYPE='ovs' OVS_BRIDGE='br2' OVS_TUNNEL_TYPE='gre' OVS_TUNNEL_OPTIONS='options:remote_ip=192.168.10.145' BOOTPROTO=none ` You are right, we can call these ifcfg- files whatever we want since the name of the interface is actually defined by DEVICE. But it is a bit confusing.
The device name of a gre tunnel is usually 'gre[i]', but this is not allowed with the current $dev_regexp.