Hey Rich

I'd love to help write an explanation and the steps required to
convert a swconfig setup to DSA. I will start working on the draft.
It should encourage people to upgrade to 21.02 without worrying about
losing their current VLAN setup.

I have a good understanding of swconfig and DSA switch configuration,
so I want to make a migration script to convert swconfig configuration
to DSA. If anyone knows scripting and would like to help, please let
me know. Let's make it happen as a team effort.
I suspect the script will be supposed to read the contents of
/etc/config/network on OpenWrt 19.07 or older and convert the switch
configuration to DSA.
Let's say we wrote a script that takes 19.07 network config and
outputs one with DSA configuration instead, how do we implement it in
the image that, after upgrade, it will ask the user to convert the
swconfig configuration to DSA?

Cheers.
Arınç

On Tue, Jul 20, 2021 at 3:59 PM Rich Brown <[email protected]> wrote:
>
> Hi Arınç
>
> > On Jul 20, 2021, at 12:23 AM, Arınç ÜNAL <[email protected]> wrote:
> >
> > I believe I could try to make one, I have a pretty good understanding
> > of swconfig and DSA configuration. If someone can help me out with
> > writing the script, I believe we can pull it off as a team effort.
>
> I am in need of expertise in DSA & swconfig. Specifically, the draft DSA 
> Mini-Tutorial (at https://openwrt.org/playground/richb/dsa-mini-tutorial) has 
> a sentence that begins:
>
> > If you are upgrading your OpenWrt device to 21.02 or later, you should read 
> > …
>
> but there's only a placeholder article now.
>
> Would you be able to start an outline for the "converting to DSA" page? We 
> can all collaborate on it to flesh it out. Thanks.
>
> Rich

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to