Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Can I omit the UUID in VIPs and other serialization?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can I omit the UUID in VIPs and other serialization? (Read 629 times)
senseivita
Newbie
Posts: 36
Karma: 0
Can I omit the UUID in VIPs and other serialization?
«
on:
June 30, 2023, 02:37:40 am »
I'm attempting to migrate to OPNsense and I need to add a ton of virtual IP addresses.
The UI is a little cumbersome and has it makes me get lost/lose focus of the text some reason so I edited a backup file to add them quicker and sure enough I finished it but without noticing the
uuid
key until the end.
Can I just omit it? Is it okay for the VIPs not to have a
uuid
? Can OPNsense supply it automatically if I omit it,
if not
, will it crash if the XML schema isn't matched perfectly?
It's been rough moving to OPNsense with so many things broken/undocumented. I'm on day 2 importing aliases as it is. :( And I still have to plan static routes bc FRR broke completely. I have no idea how to do ECMP statically but I'll get there when I get there. :/
But, on my previous router firewall which has been being deconstructed as functions are moved to the new one but I still have enough restore points to get back to a working network, I really want the extra features of OPNsense but I'm still on time to get back to the needed features for the network, just barely.
Are there any other basic features serialized? Or is this it? —
Thanks
Logged
I'm a bit dyslexic and it makes me forgo letters at the end of words. What gets written is written correctly though, I have good orthography in one or two languages, ironically. It's messed up, I know, I'm sorry. Just pretend you're my auto-complete.
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Can I omit the UUID in VIPs and other serialization?
«
Reply #1 on:
June 30, 2023, 08:29:48 am »
UUIDs are required. Luckily the VIPs are API enabled nowadays so you really just have to dispatch an API request to add them from a script. The same is true for aliases and FRR.
> It's been rough moving to OPNsense with so many things broken/undocumented.
Not sure what you are looking for and referencing here. You have an existing setup you want to replicate, but haven't given us the full picture as to what and how you are rebuilding it. Fiddling with XML is not the best solution in these cases.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Can I omit the UUID in VIPs and other serialization?