OPNsense Forum

English Forums => 26.7 Series => Topic started by: paulrosham on October 01, 2026, 09:09:18 AM

Title: Programmatic way to create vlan devices and interfaces
Post by: paulrosham on October 01, 2026, 09:09:18 AM
Is there any way that I can create some vlan devices and assign them to a new interface. If there is no MVC api, is there some other method?
thanks
Paul
Title: Re: Programmatic way to create vlan devices and interfaces
Post by: franco on October 01, 2026, 10:30:07 AM
There's MVC/API for both VLAN and interface assignment.  On master there's also an API extension for interface settings coming to 26.7.x soon.


Cheers,
Franco