Interface OpenflowActionData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface OpenflowActionData
    extends org.opendaylight.yangtools.yang.binding.DataRoot

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

     module openflow-action {
       namespace urn:opendaylight:openflow:common:action;
       prefix ofaction;
       import ietf-inet-types {
         prefix inet;
       }
       import ietf-yang-types {
         prefix yang;
       }
       import openflow-types {
         prefix oft;
       }
       import openflow-extensible-match {
         prefix oxm;
       }
       revision 2015-02-03 {
       }
       identity experimenter-action-sub-type {
       }
       container action-container {
         uses action-grouping;
       }
       grouping actions-grouping {
         list action {
           uses action-grouping;
           leaf experimenter-id {
             type oft:experimenter-id;
           }
         }
       }
       grouping action-grouping {
         choice action-choice {
           case output-action-case {
             container output-action {
               leaf port {
                 type oft:port-number;
               }
               leaf max-length {
                 type uint16;
               }
             }
           }
           case copy-ttl-out-case;
           case copy-ttl-in-case;
           case set-mpls-ttl-case {
             container set-mpls-ttl-action {
               leaf mpls-ttl {
                 type uint8;
               }
             }
           }
           case dec-mpls-ttl-case;
           case push-vlan-case {
             container push-vlan-action {
               leaf ethertype {
                 type oft:ether-type;
               }
             }
           }
           case pop-vlan-case;
           case push-mpls-case {
             container push-mpls-action {
               leaf ethertype {
                 type oft:ether-type;
               }
             }
           }
           case pop-mpls-case {
             container pop-mpls-action {
               leaf ethertype {
                 type oft:ether-type;
               }
             }
           }
           case set-queue-case {
             container set-queue-action {
               leaf queue-id {
                 type uint32;
               }
             }
           }
           case group-case {
             container group-action {
               leaf group-id {
                 type uint32;
               }
             }
           }
           case set-nw-ttl-case {
             container set-nw-ttl-action {
               leaf nw-ttl {
                 type uint8;
               }
             }
           }
           case dec-nw-ttl-case;
           case set-field-case {
             container set-field-action {
               uses oxm:match-entries-grouping;
             }
           }
           case push-pbb-case {
             container push-pbb-action {
               leaf ethertype {
                 type oft:ether-type;
               }
             }
           }
           case pop-pbb-case;
           case set-vlan-vid-case {
             container set-vlan-vid-action {
               leaf vlan-vid {
                 type uint16;
               }
             }
           }
           case set-vlan-pcp-case {
             container set-vlan-pcp-action {
               leaf vlan-pcp {
                 type uint8;
               }
             }
           }
           case strip-vlan-case;
           case set-dl-src-case {
             container set-dl-src-action {
               leaf dl-src-address {
                 type yang:mac-address;
               }
             }
           }
           case set-dl-dst-case {
             container set-dl-dst-action {
               leaf dl-dst-address {
                 type yang:mac-address;
               }
             }
           }
           case set-nw-src-case {
             container set-nw-src-action {
               leaf ip-address {
                 type inet:ipv4-address;
               }
             }
           }
           case set-nw-dst-case {
             container set-nw-dst-action {
               leaf ip-address {
                 type inet:ipv4-address;
               }
             }
           }
           case set-nw-tos-case {
             container set-nw-tos-action {
               leaf nw-tos {
                 type uint8;
               }
             }
           }
           case set-tp-src-case {
             container set-tp-src-action {
               leaf port {
                 type oft:port-number;
               }
             }
           }
           case set-tp-dst-case {
             container set-tp-dst-action {
               leaf port {
                 type oft:port-number;
               }
             }
           }
           case enqueue-case {
             container enqueue-action {
               leaf port {
                 type oft:port-number;
               }
               leaf queue-id {
                 type oft:queue-id;
               }
             }
           }
         }
       }
     }
     
    • Method Detail

      • getActionContainer

        ActionContainer getActionContainer()
        Return actionContainer, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.ActionContainer actionContainer, or null if it is not present.