def METHOD_NAME(self):
    """
    Set a direct resource on indirect resource and make sure
    this change is reflected on resource assigned.
    """
    # Create a consumable custom resources 'fooi'
    self.server.add_resource('fooi', 'long', 'nh')
    # Create 2 vnodes with individual hosts
    attr = {'resources_available.ncpus': 1}
    self.mom.create_vnodes(attr, 2, sharednode=False)
    vnode0 = self.mom.shortname + '[0]'
    vnode1 = self.mom.shortname + '[1]'
    self.server.manager(MGR_CMD_SET, NODE,
                        {'resources_available.fooi': 100}, vnode0)
    self.server.manager(MGR_CMD_SET, NODE, {'resources_available.fooi':
                                            '@' + vnode0}, vnode1)
    self.server.manager(MGR_CMD_SET, NODE,
                        {'resources_available.fooi': 100}, vnode1)
    self.server.expect(NODE, {'resources_assigned.fooi': ''},
                       id=vnode1, op=UNSET, max_attempts=1)