/**
* Creates {@link EthernetMatch} containing ARP ether-type and the given destination MAC address
+ *
+ * @param destinationMacAddress the destination MAC address
+ * @return {@link EthernetMatch}
*/
public static EthernetMatch createEthernetMatch(MacAddress destinationMacAddress) {
return new EthernetMatchBuilder().setEthernetType(
/**
* Creates {@link ArpMatch} containing Reply ARP operation, THA and TPA for the given target
* address and SPA for the given sender protocol address
+ *
+ * @param targetAddress the target address
+ * @param senderProtocolAddress the sender protocol address
+ * @return {@link ArpMatch}
*/
public static ArpMatch createArpMatch(ArpMessageAddress targetAddress, Ipv4Address senderProtocolAddress) {
return new ArpMatchBuilder().setArpOp(ArpOperation.REPLY.intValue())
* Creates {@link Action} representing output to the controller
*
* @param order the order for the action
+ * @return {@link Action}
*/
public static Action createSendToControllerAction(int order) {
return new ActionBuilder().setOrder(order)