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-actionTo create instances of this class use
PushVlanActionBuilder
.- See Also:
PushVlanActionBuilder
-
-
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 Default Methods Modifier and Type Method Description @Nullable VlanCfi
getCfi()
@Nullable org.opendaylight.yangtools.yang.common.Uint16
getEthernetType()
@Nullable Integer
getPcp()
@Nullable Integer
getTag()
@Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId
getVlanId()
default Class<PushVlanAction>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<PushVlanAction> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEthernetType
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getEthernetType()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
ethernetType
, ornull
if not present
-
getTag
@Nullable Integer getTag()
- Returns:
java.lang.Integer
tag
, ornull
if not present
-
getPcp
@Nullable Integer getPcp()
- Returns:
java.lang.Integer
pcp
, ornull
if not present
-
getCfi
@Nullable VlanCfi getCfi()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.VlanCfi
cfi
, ornull
if not present
-
getVlanId
@Nullable 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
, ornull
if not present
-
-