commit | e9ba39c13a5c79dc71b2c4d34c225a5c3c2e129e | [log] [tgz] |
---|---|---|
author | CyberHasH <b67gary@gmail.com> | Fri Oct 11 05:59:12 2019 +0800 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Fri Nov 01 11:52:21 2019 -0700 |
tree | 8e3fe42ba239fdf4e5eee487347c1b1120397ca2 | |
parent | 5a2de713cbeead0eb66f86867abfc4a0e958ac2e [diff] [blame] |
[ONOS-7808] Support P4Runtime default table entries We achieve this by creating a special mirror to store the original default entries as specified in the P4 program. Applications can modify the default entry by inserting flow rules with empty selectors. When removing such flow rule, the default table entry is restored to the original one as stored in the mirror. Change-Id: Ib11a7172ab56be7cbbd23022e4b62ed6b70b6eca
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json index a56d4aa..95eb58e 100644 --- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json +++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
@@ -10180,9 +10180,9 @@ }, "default_entry" : { "action_id" : 3, - "action_const" : true, + "action_const" : false, "action_data" : [], - "action_entry_const" : true + "action_entry_const" : false } }, {