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:

    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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends VlanMatchFields> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getVlanId

        VlanId getVlanId()
        Return vlanId, or null if it is not present.
                 VLAN id.
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.vlan.match.fields.VlanId vlanId, or null if it is not present.
      • getVlanPcp

        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanPcp getVlanPcp()
        Return vlanPcp, or null if it is not present.
                 VLAN priority.
        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanPcp vlanPcp, or null if it is not present.