On Wed, Nov 29, 2017 at 05:45:11PM -0800, Shivaram Mysore wrote:
> 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
Thanks for the report. I sent out a patch for review:
https://patchwork.ozlabs.org/patch/843145/
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss