Interface VlanLogicalMatchTop
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Vlan
@Generated("mdsal-binding-generator")
public interface VlanLogicalMatchTop
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration for various VLAN tag matching schemes, including Q-in-Q.
This class represents the following YANG schema fragment defined in module openconfig-vlan
grouping vlan-logical-match-top {
container match {
container single-tagged {
container config {
uses vlan-logical-single-tagged-config;
}
container state {
config false;
uses vlan-logical-single-tagged-config;
}
}
container single-tagged-list {
container config {
uses vlan-logical-single-tagged-list-config;
}
container state {
config false;
uses vlan-logical-single-tagged-list-config;
}
}
container single-tagged-range {
container config {
uses vlan-logical-single-tagged-range-config;
}
container state {
config false;
uses vlan-logical-single-tagged-range-config;
}
}
container double-tagged {
container config {
uses vlan-logical-double-tagged-config;
}
container state {
config false;
uses vlan-logical-double-tagged-config;
}
}
container double-tagged-inner-list {
container config {
uses vlan-logical-double-tagged-inner-list-config;
}
container state {
config false;
uses vlan-logical-double-tagged-inner-list-config;
}
}
container double-tagged-outer-list {
container config {
uses vlan-logical-double-tagged-outer-list-config;
}
container state {
config false;
uses vlan-logical-double-tagged-outer-list-config;
}
}
container double-tagged-inner-range {
container config {
uses vlan-logical-double-tagged-inner-range-config;
}
container state {
config false;
uses vlan-logical-double-tagged-inner-range-config;
}
}
container double-tagged-outer-range {
container config {
uses vlan-logical-double-tagged-outer-range-config;
}
container state {
config false;
uses vlan-logical-double-tagged-outer-range-config;
}
}
container double-tagged-inner-outer-range {
container config {
uses vlan-logical-double-tagged-inner-outer-range-config;
}
container state {
config false;
uses vlan-logical-double-tagged-inner-outer-range-config;
}
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetMatch()Return match, ornullif it is not present.Class<? extends VlanLogicalMatchTop>@NonNull MatchReturn match, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends VlanLogicalMatchTop> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMatch
Match getMatch()Return match, ornullif it is not present.Configuration for various VLAN tag matching schemes, including single-tagged 802.1q packets and double-tagged 802.1ad 'Q-in-Q' packets. Typically only one of the subordinate containers should be specified. Wildcards may be matched by specifying range values of 2-4094. If implementations have a more efficient way to match Wildcards then they should recognize this pattern and translate accordingly. Implementations are expected to return errors for combinations that they do not support, or provide deviations to the same effect. For simple VLAN configurations without an 'egress-mapping' then using the 'single-tagged' and 'double-tagged' VLAN matches that resolve to specific values, these specify the VLAN identifiers applied to packets on egress.- Returns:
Matchmatch, ornullif it is not present.
-
nonnullMatch
@NonNull Match nonnullMatch()Return match, or an empty instance if it is not present.- Returns:
Matchmatch, or an empty instance if it is not present.
-