diff options
author | Ben Pfaff <blp@nicira.com> | 2011-10-24 12:27:36 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-10-24 12:27:36 -0700 |
commit | b37e6334fd80a6460aabc95f05eb8ab68e5a82ed (patch) | |
tree | f8219a0f73891186b47d85793c6fec739e8e8e98 /vswitchd | |
parent | 10500639d5756986a587116ca1b8b42764f5ace2 (diff) |
datapath: Add multicast tunnel support.
Something like this, on two separate vswitches, works to try it out:
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
ovs-vsctl \
-- add-port br0 gre0 \
-- set interface gre0 type=gre options:remote_ip=224.0.0.1
Runtime tested on Linux 3.0, build tested on Linux 2.6.18, both i386.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'vswitchd')
-rw-r--r-- | vswitchd/vswitch.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 239a9e88..bcb6b6fd 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -1118,12 +1118,22 @@ </p> <column name="options" key="remote_ip"> - Required. The tunnel endpoint. + <p> + Required. The tunnel endpoint. Unicast and multicast endpoints are + both supported. + </p> + + <p> + When a multicast endpoint is specified, a routing table lookup occurs + only when the tunnel is created. Following a routing change, delete + and then re-create the tunnel to force a new routing table lookup. + </p> </column> <column name="options" key="local_ip"> - Optional. The destination IP that received packets must - match. Default is to match all addresses. + Optional. The destination IP that received packets must match. + Default is to match all addresses. Must be omitted when <ref + column="options" key="remote_ip"/> is a multicast address. </column> <column name="options" key="in_key"> |