Updates the metadata field for the flow. If mask is omit‐
ted, the metadata field is set exactly to value; if mask
is specified, then a 1-bit in mask indicates that the
corresponding bit in the metadata field will be replaced
with the corresponding bit from value. Both value and
mask are 64-bit values that are decimal by default; use a
0x prefix to specify them in hexadecimal.
seems to work fine It seems, this is a group-table flow. You can use group table functionality to support multiports in action part. You can read Openflow 1.3 spec documentation for details. (Part. 5.6, 5.6.1)
hop of those help? In a typical L2 network, two hosts need to communicate with the ARP protocol to exchange hardware addresses before they can ping (or any other IP-based protocol) each other. My best guest is that, with your current configuration, h1 can send an ARP request to h2 (thanks to the rule on the ingress port) but h2 cannot answer. Thus, h1 doesn't know the hardware address of h2 and can't send it IP packets. To check this hypothesis, you can run:
will help you Although this is not currently documented, ANY as a value for in_port should only be used for flow mod (delete) and flow stats requests. To match packets regardless of their port, you can simply remove in_port=ANY from your OpenFlow rule.
hop of those help? First of all, your use of the genrule is generally broken, as it depends on more than the declared inputs. As you noticed yourself, sandboxing detects these undeclared (and hence untracked by bazel) inputs. The reason why the .git subdirectory is deleted as part of the git_repository rule is to have reproducible content of the external repository in a machine-verifiable form. However, all parts of the repository rule, including the patch_cmds are executed before the .git subdirectory is removed. So you can create meta data as part of the repository itself, e.g., as follows.
Hope this helps I am writing an openflow rule that needs to preserve match metadata and pass it on to the next table. I used the following new metadata assignment , The answer is YES. It does preserve the metadata.