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 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

        @Nullable VlanId getVlanId()
        VLAN id.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.vlan.match.fields.VlanId vlanId, or null 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, or null if not present