I am a new user of Syncthing and like so mutch this apply.
My question is in the title:
Is it possible to reserve device id?
I explain.
When i want configure several computer with file “config.xml”, i create the folders and the devices but i don’t know the device “id” before run a first time Syncthing on client and if i have this information it’s very easy for me to run my configuration.
Yes, sort of. You can run syncthing -generate somefolder. Syncthing will generate a new key pair and blank config in the folder named somefolder and print the resulting device ID. You can do this as many times as you need, puzzle together the relevant configs, then ship the files out to the other boxes.
When running with -generate syncthing doesn’t continue running as normal - it just creates the keys and config in the named folder and exits. If you’re checking a web interface, you are probably talking to your “usual” syncthing and not something from the generated folder.