commit | 651a68ea2ce9738b84e928836053b2e0fb5db2ba | [log] [tgz] |
---|---|---|
author | Ben Pfaff <blp@nicira.com> | Tue Mar 06 15:04:04 2012 -0800 |
committer | Jesse Gross <jesse@nicira.com> | Tue Mar 06 15:04:04 2012 -0800 |
tree | 1584b5b2c3180745483bd6587bb435178cf0651d | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f [diff] |
openvswitch: Honor dp_ifindex, when specified, for vport lookup by name. When OVS_VPORT_ATTR_NAME is specified and dp_ifindex is nonzero, the logical behavior would be for the vport name lookup scope to be limited to the specified datapath, but in fact the dp_ifindex value was ignored. This commit causes the search scope to be honored. Signed-off-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>