diff options
author | Ben Pfaff <blp@ovn.org> | 2017-01-06 08:19:53 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-01-10 10:39:07 -0800 |
commit | 72fe7578efd7b4028f215f14a916876397cd22f7 (patch) | |
tree | 52fb9d6fdc50b81b5cb1ac26a186c4e27fd8e827 /include | |
parent | bd3c2df3a8f7e47eff8c124e8e45d36ac3672869 (diff) | |
download | openvswitch-72fe7578efd7b4028f215f14a916876397cd22f7.tar.gz |
New action "ct_clear".
This is being introduced specifically to allow a user of the "clone" action
to clear the connection tracking state, but it's implemented as a separate
action as a matter of clean design and in case another use case arises
later.
Reported-by: Mickey Spiegel <mickeys.dev@gmail.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/326981.html
Fixes: 7ae62a676d3a ("ofp-actions: Add clone action.")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Mickey Spiegel <mickeys.dev@gmail.com>
Tested-by: Dong Jun <dongj@dtdream.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/openvswitch/ofp-actions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openvswitch/ofp-actions.h b/include/openvswitch/ofp-actions.h index df9025cba..8ca787aae 100644 --- a/include/openvswitch/ofp-actions.h +++ b/include/openvswitch/ofp-actions.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, 2014, 2015, 2016 Nicira, Inc. + * Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -107,6 +107,7 @@ OFPACT(SAMPLE, ofpact_sample, ofpact, "sample") \ OFPACT(UNROLL_XLATE, ofpact_unroll_xlate, ofpact, "unroll_xlate") \ OFPACT(CT, ofpact_conntrack, ofpact, "ct") \ + OFPACT(CT_CLEAR, ofpact_null, ofpact, "ct_clear") \ OFPACT(NAT, ofpact_nat, ofpact, "nat") \ OFPACT(OUTPUT_TRUNC, ofpact_output_trunc,ofpact, "output_trunc") \ OFPACT(CLONE, ofpact_nest, actions, "clone") \ |