public interface FlowspecType
extends org.opendaylight.yangtools.yang.binding.DataContainer
This class represents the following YANG schema fragment defined in module bgp-flowspec
choice flowspec-type {
case destination-port-case {
list destination-ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case dscp-case {
list dscps {
key leaf op {
type numeric-operand;
}
leaf value {
type dscp;
}
uses dscp-value;
}
}
case fragment-case {
list fragments {
key leaf op {
type bitmask-operand;
}
leaf value {
type fragment;
}
uses fragment-value;
}
}
case icmp-code-case {
list codes {
key leaf op {
type numeric-operand;
}
leaf value {
type uint8;
}
uses numeric-one-byte-value;
}
}
case icmp-type-case {
list types {
key leaf op {
type numeric-operand;
}
leaf value {
type uint8;
}
uses numeric-one-byte-value;
}
}
case packet-length-case {
list packet-lengths {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case port-case {
list ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case source-port-case {
list source-ports {
key leaf op {
type numeric-operand;
}
leaf value {
type uint16;
}
uses numeric-two-byte-value;
}
}
case tcp-flags-case {
list tcp-flags {
key leaf op {
type bitmask-operand;
}
leaf value {
type uint16;
}
uses bitmask-two-byte-value;
}
}
}
The schema path to identify an instance is
bgp-flowspec/flowspec-destination/flowspec/flowspec-type| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Copyright © 2017 OpenDaylight. All rights reserved.