Interface VlanMatchFields
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
VlanMatch
public interface VlanMatchFields extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping vlan-match-fields { container vlan-id { presence "Match field is active and set"; leaf vlan-id-present { type boolean; } leaf vlan-id { type l2t:vlan-id; } } leaf vlan-pcp { type l2t:vlan-pcp; } }
The schema path to identify an instance is opendaylight-match-types/vlan-match-fields
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable VlanId
getVlanId()
VLAN id.@Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanPcp
getVlanPcp()
VLAN priority.Class<? extends VlanMatchFields>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanMatchFields> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVlanId
@Nullable VlanId getVlanId()
VLAN id.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.vlan.match.fields.VlanId
vlanId
, ornull
if not present
-
getVlanPcp
@Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanPcp getVlanPcp()
VLAN priority.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanPcp
vlanPcp
, ornull
if not present
-
-