public interface Field extends org.opendaylight.yangtools.yang.binding.ChildOf<MatchField>, org.opendaylight.yangtools.yang.binding.Augmentable<Field>
This class represents the following YANG schema fragment defined in module p4plugin-runtime
list field { leaf field-name { type string; } choice match-type { case EXACT { leaf exact-value { type p4p-types:value; } } case LPM { leaf lpm-value { type p4p-types:value; } leaf prefix-len { type uint32; } } case TERNARY { leaf ternary-value { type p4p-types:value; } leaf mask { type uint8 { range 1..128; } } } case RANGE { leaf range-value-high { type uint64; } leaf range-value-low { type uint64; } } } }The schema path to identify an instance is p4plugin-runtime/match-field/field
To create instances of this class use FieldBuilder
.
FieldBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName() |
MatchType |
getMatchType() |
Copyright © 2018 OpenDaylight. All rights reserved.