[ovs-build] Fixed: horms2/ovs#294 (topic/branch-2.7/shanwei88/bucket-fixes - 6d3fd2e)

Travis CI builds at travis-ci.org
Wed Mar 27 10:19:04 UTC 2019


Build Update for horms2/ovs
-------------------------------------

Build: #294
Status: Fixed

Duration: 39 mins and 14 secs
Commit: 6d3fd2e (topic/branch-2.7/shanwei88/bucket-fixes)
Author: solomon
Message: ofp-group: support to insert bucket with weight value for select type

After creating a group with hash select type,then  we need to insert a new
bucket with weight, But,it fails. Commands are as following:

   # ovs-ofctl  -O OpenFlow15 add-group br0 "group_id=10, type=select, selection_method=hash,fields=tcp_src, bucket=bucket_id=10,weight:99,actions=output:1, bucket=bucket_id=20,weight:199,actions=output:1 "

   # ovs-ofctl -O OpenFlow15 insert-buckets br0 "group_id=10,type=select command_bucket_id=last,bucket=bucket_id=3,weight=100,actions=output:1"
   ovs-ofctl: type is not needed

   # ovs-ofctl -O OpenFlow15 insert-buckets br0 "group_id=10 command_bucket_id=last,bucket=bucket_id=3,weight=100,actions=output:1"
   ovs-ofctl: Only select groups can have bucket weights.

This patch can help us. However, for other types that are not select, the
check of the parameters is not strict, but it does not affect their
function, because other types do not use this weight parameter.

Signed-off-by: solomon <liwei.solomon at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
[simon: rebased]
Signed-off-by: Simon Horman <simon.horman at netronome.com>

View the changeset: https://github.com/horms2/ovs/compare/41d916a16bb5...6d3fd2ed72d0

View the full build log and details: https://travis-ci.org/horms2/ovs/builds/511897703?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the horms2/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=20314049&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20190327/e254aa0a/attachment.html>


More information about the build mailing list