Hi,
I am not sure I understand the IAM of OpenWisp correctly.
I setup a subnet and created IPs for my local infra network (the IPs for
the switches).
Now I want to Apply them to a template so that I don't rely on the
Configuration
variables.
But how do I get a secific IP in the template?
What I have is:
{
"type": "ethernet",
"name": "br_lan_172",
"addresses": [
{
"proto": "static",
"family": "ipv4",
"address": "172.16.100.2",
"mask": 24
}
],
"device": "br-lan.172",
"delegate": false
}
and in the IAM:
{ "id": "93964498-70a0-4b00-9bab-0d7626473b87", "created":
"2026-01-18T18:55:12.126729Z", "modified": "2026-01-18T18:55:12.126729Z",
"ip_address": "172.16.100.2", "description": "switch-eg", "subnet":
"34dfeb04-2d55-453b-8e41-65901a3a48fb" },
1) How do I connect the two ?
2) I have another template for static IPs in the network. Can I use IAM for
this template as well? I was hoping I can manage the IAM - IP entries with
the MAC and then they get applied to the template.
Please appologize if I get the purpose of IAM wrong. I am fine with using
config variables but I don't wanna miss out if there is an easier way.
thx for the help and the great project.
regards
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion, visit
https://groups.google.com/d/msgid/openwisp/cc4b4fbd-8bac-4b60-9f97-e0ae1aca3f31n%40googlegroups.com.