Interface Action
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Action
@Generated("mdsal-binding-generator") public interface Action extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-action-types
grouping action { choice action { case output-action-case { container output-action { leaf output-node-connector { type inet:uri; } leaf max-length { type uint16; } } } case controller-action-case { container controller-action { leaf max-length { type uint16; } } } case set-field-case { container set-field { uses match:match; } } case set-queue-action-case { container set-queue-action { leaf queue { type string; } leaf queue-id { type uint32; } } } case pop-mpls-action-case { container pop-mpls-action { leaf ethernet-type { type uint16; } } } case set-mpls-ttl-action-case { container set-mpls-ttl-action { leaf mpls-ttl { type uint8; } } } case set-nw-ttl-action-case { container set-nw-ttl-action { leaf nw-ttl { type uint8; } } } case push-pbb-action-case { container push-pbb-action { leaf ethernet-type { type uint16; } } } case pop-pbb-action-case { container pop-pbb-action { presence "no content action"; } } case push-mpls-action-case { container push-mpls-action { leaf ethernet-type { type uint16; } } } case dec-mpls-ttl-case { container dec-mpls-ttl { presence "no content action"; } } case dec-nw-ttl-case { container dec-nw-ttl { presence "no content action"; } } case drop-action-case { container drop-action { presence "no content action"; } } case flood-action-case { container flood-action { presence "no content action"; } } case flood-all-action-case { container flood-all-action { presence "no content action"; } } case hw-path-action-case { container hw-path-action { presence "no content action"; } } case loopback-action-case { container loopback-action { presence "no content action"; } } case pop-vlan-action-case { container pop-vlan-action { presence "no content action"; } } case push-vlan-action-case { 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; } } } case copy-ttl-out-case { container copy-ttl-out { presence "no content action"; } } case copy-ttl-in-case { container copy-ttl-in { presence "no content action"; } } case set-dl-dst-action-case { container set-dl-dst-action { leaf address { type yang:mac-address; } } } case set-dl-src-action-case { container set-dl-src-action { leaf address { type yang:mac-address; } } } case group-action-case { container group-action { leaf group { type string; } leaf group-id { type uint32; } } } case set-dl-type-action-case { container set-dl-type-action { leaf dl-type { type l2t:ether-type; } } } case set-next-hop-action-case { container set-next-hop-action { uses address; } } case set-nw-dst-action-case { container set-nw-dst-action { uses address; } } case set-nw-src-action-case { container set-nw-src-action { uses address; } } case set-nw-tos-action-case { container set-nw-tos-action { leaf tos { type int32; } } } case set-tp-dst-action-case { container set-tp-dst-action { leaf port { type inet:port-number; } leaf ip-protocol { type uint8; default 0; } } } case set-tp-src-action-case { container set-tp-src-action { leaf port { type inet:port-number; } leaf ip-protocol { type uint8; default 0; } } } case set-vlan-cfi-action-case { container set-vlan-cfi-action { leaf vlan-cfi { type vlan-cfi; } } } case set-vlan-id-action-case { container set-vlan-id-action { leaf vlan-id { type l2t:vlan-id; } } } case set-vlan-pcp-action-case { container set-vlan-pcp-action { leaf vlan-pcp { type l2t:vlan-pcp; } } } case strip-vlan-action-case { container strip-vlan-action { presence "no content action"; } } case sw-path-action-case { container sw-path-action { presence "no content action"; } } } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Action
getAction()
Return action, ornull
if it is not present.Class<? extends Action>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends Action> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAction
Action getAction()
Return action, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action
action, ornull
if it is not present.
-
-