Interface OnfExtensionsData

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

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

    This class represents the following YANG schema fragment defined in module onf-extensions

     module onf-extensions {
       namespace urn:opendaylight:openflowplugin:extension:onf;
       prefix onf-ext;
       import openflow-types {
         prefix oft;
         revision-date 2013-07-31;
       }
       import openflow-protocol {
         prefix ofproto;
         revision-date 2013-07-31;
       }
       revision 2017-01-24 {
       }
       typedef onf-experimenter-error-code {
         type enumeration {
           enum ONFERR_ET_UNKNOWN {
             value 2300;
           }
           enum ONFERR_ET_EPERM {
             value 2301;
           }
           enum ONFERR_ET_BAD_ID {
             value 2302;
           }
           enum ONFERR_ET_BUNDLE_EXIST {
             value 2303;
           }
           enum ONFERR_ET_BUNDLE_CLOSED {
             value 2304;
           }
           enum ONFERR_ET_OUT_OF_BUNDLES {
             value 2305;
           }
           enum ONFERR_ET_BAD_TYPE {
             value 2306;
           }
           enum ONFERR_ET_BAD_FLAGS {
             value 2307;
           }
           enum ONFERR_ET_MSG_BAD_LEN {
             value 2308;
           }
           enum ONFERR_ET_MSG_BAD_XID {
             value 2309;
           }
           enum ONFERR_ET_MSG_UNSUP {
             value 2310;
           }
           enum ONFERR_ET_MSG_CONFLICT {
             value 2311;
           }
           enum ONFERR_ET_MSG_TOO_MANY {
             value 2312;
           }
           enum ONFERR_ET_MSG_FAILED {
             value 2313;
           }
           enum ONFERR_ET_TIMEOUT {
             value 2314;
           }
           enum ONFERR_ET_BUNDLE_IN_PROGRESS {
             value 2315;
           }
         }
       }
       typedef bundle-id {
         type uint32;
       }
       typedef bundle-control-type {
         type enumeration {
           enum ONF_BCT_OPEN_REQUEST {
             value 0;
           }
           enum ONF_BCT_OPEN_REPLY {
             value 1;
           }
           enum ONF_BCT_CLOSE_REQUEST {
             value 2;
           }
           enum ONF_BCT_CLOSE_REPLY {
             value 3;
           }
           enum ONF_BCT_COMMIT_REQUEST {
             value 4;
           }
           enum ONF_BCT_COMMIT_REPLY {
             value 5;
           }
           enum ONF_BCT_DISCARD_REQUEST {
             value 6;
           }
           enum ONF_BCT_DISCARD_REPLY {
             value 7;
           }
         }
       }
       typedef bundle-flags {
         type bits {
           bit atomic {
             position 0;
           }
           bit ordered {
             position 1;
           }
         }
       }
       typedef bundle-property-type {
         type enumeration {
           enum ONF_ET_BPT_EXPERIMENTER {
             value 65535;
           }
         }
       }
       grouping bundle-property-grouping {
         leaf type {
           type bundle-property-type;
         }
         choice bundle-property-entry {
           case bundle-property-experimenter {
             leaf experimenter {
               type oft:experimenter-id;
             }
             leaf exp-type {
               type uint32;
             }
             choice bundle-property-experimenter-data;
           }
         }
       }
       grouping bundle-common-grouping {
         leaf bundle-id {
           type bundle-id;
         }
         leaf flags {
           type bundle-flags;
         }
         list bundle-property {
           uses bundle-property-grouping;
         }
       }
       grouping bundle-control-grouping {
         uses bundle-common-grouping;
         leaf type {
           type bundle-control-type;
         }
       }
       grouping bundle-add-message-grouping {
         uses bundle-common-grouping;
         choice bundle-inner-message {
           case bundle-flow-mod-case {
             container flow-mod-case-data {
               uses ofproto:flow-mod;
             }
           }
           case bundle-group-mod-case {
             container group-mod-case-data {
               uses ofproto:group-mod;
             }
           }
           case bundle-port-mod-case {
             container port-mod-case-data {
               uses ofproto:port-mod;
             }
           }
         }
       }
       augment /ofproto:experimenter/ofproto:input/ofproto:experimenter-data-of-choice {
         case bundle-control-onf {
           container onf-control-grouping-data {
             uses bundle-control-grouping;
           }
         }
         case bundle-add-message-onf {
           container onf-add-message-grouping-data {
             uses bundle-add-message-grouping;
           }
         }
       }
     }