def get_vm_extra_config_spec(client_factory, extra_opts):
    config_spec = client_factory.create('ns0:VirtualMachineConfigSpec')
    # add the key value pairs
    extra_config = []
    for key, value in six.iteritems(extra_opts):
        opt = client_factory.create('ns0:OptionValue')
        opt.key = key
        opt.value = value
        extra_config.append(opt)
        config_spec.extraConfig = extra_config
    return config_spec
The last_modified timestamp should be updated when the prefix is
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/get_vm_extra_config_spec--crossover with--dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipaptest.py/TestPrefixLastModified.test1