I was using the ExperimenterMessage model generated from the yang model openflow-protocol.yang and I noticed that it is missing the data field.
For example if you look at echo-request you will find the data leaf:
grouping echo-request {
reference "OFPT_ECHO_REQUEST message in Openflow Switch 1.3 Spec";
/* Symmetric message */
uses ofHeader;
leaf data {
type binary;
}
}
While if you look at the Experimenter fields, data is missing and consequently the generated source does not implement the getData() method (that is the method to which I am interested in):
grouping experimenter-core {
description "General experimenter message content suitable for symmetric and multipart message";
leaf experimenter {
type oft:experimenter-id;
}
leaf exp_type {
type uint32;
}
choice experimenter-data-of-choice {
// to be augmented by vendors
}
}
Is that any reason for that or is it just a bug?
Thank you for your help.
Best,
Giuseppe Petralia
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.