Re: netifd: redesigning UCI config & interfaces

2021-05-14 Thread Rafał Miłecki
On 13.05.2021 17:47, Felix Fietkau wrote: On 2021-05-13 15:58, Rafał Miłecki wrote: Current /etc/config/network design and netifd implementation are quite a bit messy: 1. There is no clear layer 2 vs. layer 3 distinction I think aside from a few legacy compatibility hacks (e.g. the infamous int

Re: netifd: redesigning UCI config & interfaces

2021-05-13 Thread Felix Fietkau
Hi Rafał, Thanks for the proposal On 2021-05-13 15:58, Rafał Miłecki wrote: > Current /etc/config/network design and netifd implementation are quite a > bit messy: > 1. There is no clear layer 2 vs. layer 3 distinction I think aside from a few legacy compatibility hacks (e.g. the infamous interfa

netifd: redesigning UCI config & interfaces

2021-05-13 Thread Rafał Miłecki
Current /etc/config/network design and netifd implementation are quite a bit messy: 1. There is no clear layer 2 vs. layer 3 distinction 2. UCI sections are inconsistent 3. For some setups there are few ways of defining them 4. A lot of netifd states are implicit (magic behaviour) 5. It's really h