Interface PushVlanAction

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PushVlanAction>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Action>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface PushVlanAction
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Action>, org.opendaylight.yangtools.yang.binding.Augmentable<PushVlanAction>

    This class represents the following YANG schema fragment defined in module opendaylight-action-types

     container push-vlan-action {
       leaf ethernet-type {
         type uint16;
       }
       leaf tag {
         type int32;
       }
       leaf pcp {
         type int32;
       }
       leaf cfi {
         type vlan-cfi;
       }
       leaf vlan-id {
         type l2t:vlan-id;
       }
     }
     
    The schema path to identify an instance is opendaylight-action-types/action/action/push-vlan-action-case/push-vlan-action

    To create instances of this class use PushVlanActionBuilder.

    See Also:
    PushVlanActionBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<PushVlanAction> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getEthernetType

        org.opendaylight.yangtools.yang.common.Uint16 getEthernetType()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 ethernetType, or null if not present
      • getTag

        Integer getTag()
        Returns:
        java.lang.Integer tag, or null if not present
      • getPcp

        Integer getPcp()
        Returns:
        java.lang.Integer pcp, or null if not present
      • getCfi

        VlanCfi getCfi()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.VlanCfi cfi, or null if not present
      • getVlanId

        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId getVlanId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId vlanId, or null if not present