[ovs-git] [openvswitch/ovs] d59831: bridge: No QoS configured is not an error

GitHub noreply at github.com
Fri Aug 5 01:23:42 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d59831e9b08e357b6b8193da2e1b4cf1fd804315
      https://github.com/openvswitch/ovs/commit/d59831e9b08e357b6b8193da2e1b4cf1fd804315
  Author: Maxime Coquelin <maxime.coquelin at redhat.com>
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: No QoS configured is not an error

If no QoS is configured, type value is likely to be an empty
string.

This is not an error though, so use the regular command reply
function, not the error one.

For example, before this patch:
  # ovs-appctl -t ovs-vswitchd qos/show vhost-user1
  QoS not configured on vhost-user1
  ovs-appctl: ovs-vswitchd: server returned an error

After the patch:
  # ovs-appctl -t ovs-vswitchd qos/show vhost-user1
  QoS not configured on vhost-user1

Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Acked-by: Ian Stokes <ian.stokes at intel.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list