Wil,
Yes, the framework needs to include the role. Note that if a framework
doesn't specify the resource's role, the field will be populated with the
default value `*` automatically by the protobuf library when the message is
serialized. So, any resource object accepted by your framework will
actually include a role, and it should match the role of the resource you
would like your framework to accept.

Cheers,
Greg


On Mon, Jul 18, 2016 at 12:21 PM, Wil Yegelwel <[email protected]> wrote:

> If a framework receives an offer with resources for a specific role and
> accepts the offer does the framework need to specify the same role on the
> resources of the task info? I assume yes based on code in resources.cpp but
> I wanted to confirm.
>
> I can't find this explicitly documented anywhere.
>
> Thanks,
> Wil
>

Reply via email to