diff options
author | Pravin B Shelar <pshelar@ovn.org> | 2016-03-24 09:30:57 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@ovn.org> | 2016-03-24 09:30:57 -0700 |
commit | 80c4589aa499995a6527d15cfc7a544a841dfde6 (patch) | |
tree | 15123de7416fdaa89e817baf75b03ce7f09b8a44 /lib | |
parent | d2b11b5bd6a7d84ef7196bd1773d466bd944d6e5 (diff) | |
download | openvswitch-80c4589aa499995a6527d15cfc7a544a841dfde6.tar.gz |
tunneling: Enable IPv6 tuneling.
There is check to disable IPv6 tunneling. Following patch
removes it and reintroduces the tunneling automake tests.
This reverts mostly commit 250bd94d1e500a89c76cac944e660bd9c07ac364.
There are couple of new autotests and updated documentation
related to ipv6 tunneling added in this patch.
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/netdev-vport.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index faf000f69..3d81c6cf0 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -504,10 +504,6 @@ set_tunnel_config(struct netdev *dev_, const struct smap *args) name, node->value); return EINVAL; } - if (dst_proto == ETH_TYPE_IPV6) { - VLOG_WARN("%s: IPv6 'remote_ip' is not supported", name); - return EOPNOTSUPP; - } } else if (!strcmp(node->key, "local_ip")) { int err; err = parse_tunnel_ip(node->value, true, &tnl_cfg.ip_src_flow, @@ -517,10 +513,6 @@ set_tunnel_config(struct netdev *dev_, const struct smap *args) VLOG_WARN("%s: bad %s 'local_ip'", name, type); break; } - if (src_proto == ETH_TYPE_IPV6) { - VLOG_WARN("%s: IPv6 'local_ip' is not supported", name); - return EOPNOTSUPP; - } } else if (!strcmp(node->key, "tos")) { if (!strcmp(node->value, "inherit")) { tnl_cfg.tos_inherit = true; |