Merge into master from pull request #146:
small fixes, push tags in push-artifacts (https://github.com/floodlight/loxigen/pull/146)
diff --git a/.build/push-artifacts.sh b/.build/push-artifacts.sh
index fd607eb..8c7b60b 100755
--- a/.build/push-artifacts.sh
+++ b/.build/push-artifacts.sh
@@ -54,6 +54,7 @@
) | git commit --file=-
git tag -a -f "loxi/${loxi_head}" -m "Tag Loxigen Revision ${loxi_head}"
+ git push --tags
git push
)
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFPortBitMap.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFPortBitMap.java
index 18ab8b0..63b97f3 100644
--- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFPortBitMap.java
+++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFPortBitMap.java
@@ -63,10 +63,17 @@
return builder.build();
}
+ /** @return an OFPortBitmap based on the 'mask' part of an OFBitMask128, as, e.g., returned
+ * by the switch.
+ **/
public static OFPortBitMap of(OFBitMask128 mask) {
return new OFPortBitMap(mask);
}
+ /** @return iterating over all ports that are logically included in the
+ * match, i.e., whether a packet from in-port <emph>port</emph> be matched by
+ * this OXM.
+ */
public Iterable<OFPort> getOnPorts() {
ArrayList<OFPort> ports = new ArrayList<>();
for(int i=0; i < 127; i++) {