]> git.proxmox.com Git - mirror_ovs.git/commit
vswitchd: Allow user to directly specify sFlow agent address.
authorBen Pfaff <blp@ovn.org>
Sun, 1 Apr 2018 00:12:54 +0000 (17:12 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 3 Apr 2018 18:10:25 +0000 (11:10 -0700)
commit966574598a3cb86a6d799ca3715005763a7c9186
tree6e3a118b0173afaee839ec505083c7dd3918b5f2
parentbaee3741fcd3f22bf3ca0f00b2531a717de521fd
vswitchd: Allow user to directly specify sFlow agent address.

At least for testing purposes, and perhaps in production, it is useful to
be able to fix the agent IP address directly, rather that indirecting it
through a device name or the routing table.

This commit uses this feature to fix the agent IP address used in the unit
tests.  This will be particularly useful in an upcoming commit that
disables the use of the system routing table in the unit tests, to make
the tests' results independent of the host's routes.

CC: Neil McKee <neil.mckee@inmon.com>
Tested-By: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-sflow.c
tests/ofproto-dpif.at
vswitchd/vswitch.xml