commit | 93f3fa53e057b2c1025640d2a9f151c4645c1a90 | [log] [tgz] |
---|---|---|
author | macauley_cheng <macauley_cheng@accton.com> | Wed Sep 02 17:57:31 2015 +0800 |
committer | macauley_cheng <macauley_cheng@accton.com> | Wed Sep 02 17:57:31 2015 +0800 |
tree | 223dd570bed9d716ce37258196ef843529e93346 | |
parent | 1db6a36ca8c07da0535f01a2cccf95603ce84f30 [diff] [blame] |
add set vlan filed on rewrite group
diff --git a/accton/accton_util.py b/accton/accton_util.py index 3a5af5a..3b77b1c 100755 --- a/accton/accton_util.py +++ b/accton/accton_util.py
@@ -233,6 +233,8 @@ if dst_mac is not None: action.append(ofp.action.set_field(ofp.oxm.eth_dst(dst_mac))) + action.append(ofp.action.set_field(ofp.oxm.vlan_vid(vlanid))) + action.append(ofp.action.group(group_id)) buckets = [ofp.bucket(actions=action)]