package org.opendaylight.openflowplugin.api;
import java.math.BigInteger;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowCookie;
/**
* OFP related constants
/** enum ofp_group: For OFPFC_DELETE* commands, require matching entries to include this as an
* output group. A value of OFPG_ANY indicates no restriction. */
public static final Long OFPG_ANY = ANY;
+ /** enum ofp_group: Represents all groups for group delete commands. */
+ public static final Long OFPG_ALL = 0xfffffffcL;
/** Refers to all queues configured at the specified port. */
public static final Long OFPQ_ALL = ANY;
+ /** Represents all meters for stat requests commands. */
+ public static final Long OFPM_ALL = ANY;
+ /** default cookie */
public static final BigInteger DEFAULT_COOKIE = BigInteger.ZERO;
public static final BigInteger DEFAULT_COOKIE_MASK = BigInteger.ZERO;
+ public static final FlowCookie DEFAULT_FLOW_COOKIE = new FlowCookie(DEFAULT_COOKIE);
+ public static final Integer DEFAULT_FLOW_PRIORITY = 0x8000;
+
/** indicates that no buffering should be applied and the whole packet is to be
* sent to the controller. */
public static final Long OFP_NO_BUFFER = 0xffffffffL;