[ovs-discuss] clarification on sflow documentation

Shivaram Mysore shivaram.mysore at gmail.com
Thu Nov 30 01:45:11 UTC 2017


Hello,
I am referring to http://docs.openvswitch.org/en/latest/howto/sflow/

$ ovs-vsctl -- --id=@sflow create sflow agent=${AGENT_IP} \
    target="${COLLECTOR_IP}:${COLLECTOR_PORT}" header=${HEADER_BYTES} \
    sampling=${SAMPLING_N} polling=${POLLING_SECS} \
      -- set bridge br0 sflow=@sflow

In the above, the quotes need to be escaped otherwise, the command will not
work.  I think it should be fixed to:

$ ovs-vsctl -- --id=@sflow create sflow agent=${AGENT_IP} \
    target=*\*"${COLLECTOR_IP}:${COLLECTOR_PORT}*\*" header=${HEADER_BYTES} \
    sampling=${SAMPLING_N} polling=${POLLING_SECS} \
      -- set bridge br0 sflow=@sflow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171129/a0915910/attachment.html>


More information about the discuss mailing list