Interface InterfaceServiceBindingsData

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

    public interface InterfaceServiceBindingsData
    extends org.opendaylight.yangtools.yang.binding.DataRoot

    This class represents the following YANG schema fragment defined in module interface-service-bindings

     module interface-service-bindings {
       namespace urn:opendaylight:genius:interfacemanager:servicebinding;
       prefix ifservicebindings;
       import opendaylight-flow-types {
         prefix offlow;
         revision-date 2013-10-26;
       }
       import openflowplugin-extension-nicira-action {
         prefix ofplugin;
         revision-date 2014-07-14;
       }
       import yang-ext {
         prefix ext;
       }
       import ietf-interfaces {
         prefix if;
         revision-date 2014-05-08;
       }
       revision 2016-04-06 {
       }
       identity service-type-base {
       }
       identity service-type-flow-based {
         base service-type-base;
       }
       identity service-mode-base {
       }
       identity service-mode-ingress {
         base service-mode-base;
       }
       identity service-mode-egress {
         base service-mode-base;
       }
       container service-bindings {
         list services-info {
           key "interface-name service-mode";
           leaf interface-name {
             type string;
           }
           leaf service-mode {
             type identityref {
               base service-mode-base;
             }
           }
           list bound-services {
             key service-priority;
             max-elements 16;
             leaf service-priority {
               type uint8;
             }
             leaf service-type {
               type identityref {
                 base service-type-base;
               }
             }
             leaf service-name {
               type string;
             }
           }
         }
       }
       grouping service-openflow-info {
         leaf dispatcher-table-id {
           type uint8;
         }
         leaf flow-priority {
           type uint16;
         }
         leaf flow-cookie {
           type uint64;
         }
         uses offlow:instruction-list;
       }
       augment /service-bindings/services-info/bound-services {
         ext:augment-identifier stype-openflow;
         when "service-type = 'service-type-flow-based'";
         uses service-openflow-info;
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-reg-load-apply-actions-case {
           uses ofplugin:nx-action-reg-load-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-reg-load-write-actions-case {
           uses ofplugin:nx-action-reg-load-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-reg-move-apply-actions-case {
           uses ofplugin:nx-action-reg-move-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-reg-move-write-actions-case {
           uses ofplugin:nx-action-reg-move-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-output-reg-apply-actions-case {
           uses ofplugin:nx-action-output-reg-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-output-reg-write-actions-case {
           uses ofplugin:nx-action-output-reg-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-resubmit-apply-actions-case {
           uses ofplugin:nx-action-resubmit-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-resubmit-write-actions-case {
           uses ofplugin:nx-action-resubmit-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-multipath-apply-actions-case {
           uses ofplugin:nx-action-multipath-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-multipath-write-actions-case {
           uses ofplugin:nx-action-multipath-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-encap-apply-actions-case {
           uses ofplugin:nx-action-encap-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-encap-write-actions-case {
           uses ofplugin:nx-action-encap-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-decap-apply-actions-case {
           uses ofplugin:nx-action-decap-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-decap-write-actions-case {
           uses ofplugin:nx-action-decap-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-conntrack-apply-actions-case {
           uses ofplugin:nx-action-conntrack-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-conntrack-write-actions-case {
           uses ofplugin:nx-action-conntrack-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-learn-apply-actions-case {
           uses ofplugin:nx-action-learn-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-learn-write-actions-case {
           uses ofplugin:nx-action-learn-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/apply-actions-case/apply-actions/action/action {
         case service-binding-nx-action-dec-nsh-ttl-apply-actions-case {
           uses ofplugin:nx-action-dec-nsh-ttl-grouping;
         }
       }
       augment /service-bindings/services-info/bound-services/instruction/instruction/write-actions-case/write-actions/action/action {
         case service-binding-nx-action-dec-nsh-ttl-write-actions-case {
           uses ofplugin:nx-action-dec-nsh-ttl-grouping;
         }
       }
       container bound-services-state-list {
         config false;
         list bound-services-state {
           key "interface-name service-mode";
           leaf interface-name {
             type string;
           }
           leaf service-mode {
             type identityref {
               base service-mode-base;
             }
           }
           leaf dpid {
             type uint64;
           }
           leaf port-no {
             type uint32;
           }
           leaf if-index {
             type int32;
           }
           leaf interface-type {
             type identityref {
               base interface-type;
             }
           }
         }
       }
     }
     
    • Method Detail

      • getServiceBindings

        @Nullable ServiceBindings getServiceBindings()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.ServiceBindings serviceBindings, or null if not present
      • getBoundServicesStateList

        @Nullable BoundServicesStateList getBoundServicesStateList()
        Contains the interface-state information for bound-services
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.BoundServicesStateList boundServicesStateList, or null if not present