public interface FlowClass
Modifier and Type | Interface and Description |
---|---|
static class |
FlowClass.ActionClass
Coarse classification of type of action.
|
Modifier and Type | Field and Description |
---|---|
static long |
COOKIE_MASK
Mask for isolating assigned base cookie value, which is the top 16 bits.
|
Modifier and Type | Method and Description |
---|---|
Set<FlowClass.ActionClass> |
actions()
Returns the set of expected action types.
|
int |
actualPriority()
Returns the controller-issued actual priority that will be used when
sending flow-mod messages to the switches.
|
long |
baseCookie()
Returns the base cookie whose upper 16 bits will be assigned, thus
leaving the lower 48 bits free for use by the application.
|
String |
description()
Returns the description of purpose and intent behind this class of flows.
|
Set<String> |
higherIds()
Returns the set of flow class identifiers whose actual priorities must
be above this one.
|
String |
id()
Returns the global flow class identifier.
|
Set<String> |
lowerIds()
Returns the set of flow class identifiers whose actual priorities must
be lower than this one.
|
Set<OxmFieldType> |
matchFields()
Returns the set of field types expected to be set in the match.
|
String |
password()
Returns the password specified by the application during registration.
|
int |
priority()
Returns the controller-issued unique and opaque value that represents
the relative priority of this flow class, and which is to be used in
lieu of priority.
|
static final long COOKIE_MASK
int priority()
This accessor is available only on the private instances returned by the
FlowClassBroker.register(java.lang.String, java.lang.String, java.lang.String, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>, java.util.Set<com.hp.of.lib.match.OxmFieldType>, java.util.Set<com.hp.of.ctl.prio.FlowClass.ActionClass>)
invocation and not on the public ones
obtained via FlowClassBroker.getFlowClasses()
.
IllegalStateException
- if accessed on instances other
than one immediately returned during
registrationint actualPriority()
This accessor is available only on the private instances returned by the
FlowClassBroker.register(java.lang.String, java.lang.String, java.lang.String, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>, java.util.Set<com.hp.of.lib.match.OxmFieldType>, java.util.Set<com.hp.of.ctl.prio.FlowClass.ActionClass>)
invocation and not on the public ones
obtained via FlowClassBroker.getFlowClasses()
.
IllegalStateException
- if accessed on instances other
than one immediately returned during
registrationlong baseCookie()
String id()
String password()
String description()
Set<String> lowerIds()
Set<String> higherIds()
Set<OxmFieldType> matchFields()
Set<FlowClass.ActionClass> actions()
Copyright © 2015. All Rights Reserved.