Hi,
what kind of UUID does the UNL XML file use (v1?v4? or...?)?
I'm generating some basic topologies (5 routers) through scripts but once I launch one of them, after having imported successfully, I get the error 20003.
I reproduced a lab designed through the EVE-NG's interface, copied and modified the values in the UNL file parameters making sure they were consistent and logical.
All looks good but the only doubt I have is on the UUID.
TIA,
Gio
How to generate a lab's UUID?
Moderator: mike
-
- Posts: 5081
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: How to generate a lab's UUID?
to avoid such issue, use export lab and import it again, UIDD generates automatically, no need edit or touch it.
If you will touch unl lab file problems will be unpredictable
If you will touch unl lab file problems will be unpredictable
-
- Posts: 15
- Joined: Wed Nov 25, 2020 4:48 pm
Re: How to generate a lab's UUID?
Thanks Uldis,
I realized that 20003 means invalid XML file, I missed a closing tag.
Thanks for your support,
Gio
I realized that 20003 means invalid XML file, I missed a closing tag.
Thanks for your support,
Gio
-
- Posts: 5081
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: How to generate a lab's UUID?
sorry, but 2003 is screwed lab mate...
-
- Posts: 15
- Joined: Wed Nov 25, 2020 4:48 pm
Re: How to generate a lab's UUID?
Yep, once fixed the missing closing tag everything worked like a charm.
-
- Posts: 1
- Joined: Fri Aug 06, 2021 7:19 am
Re: How to generate a lab's UUID?
The procedure to generate a version 4 UUID is as follows:
Generate 16 random bytes (=128 bits)
Adjust certain bits according to RFC 4122 section 4.4 as follows: ...
Encode the adjusted bytes as 32 hexadecimal digits.
Add four hyphen "-" characters to obtain blocks of 8, 4, 4, 4 and 12 hex digits.
Generate 16 random bytes (=128 bits)
Adjust certain bits according to RFC 4122 section 4.4 as follows: ...
Encode the adjusted bytes as 32 hexadecimal digits.
Add four hyphen "-" characters to obtain blocks of 8, 4, 4, 4 and 12 hex digits.