Opened 19 months ago

#22892 new defect

Network VLAN Multi interfac port bug fix in UCI JSON API

Reported by: geek007 Owned by: developers
Priority: highest Milestone: Netifd Implementation
Component: base system Version: Chaos Calmer 15.05
Keywords: network VLAN netifd Cc:


Network interface modification to multiple VLAN interfaces fail in CC version.
UCI JSON API clearly removed this supported feature in earlier version.

I get multiple VLAN interfaces by modifying


from line

ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"


ucidef_set_interfaces_lan_wan "eth0.3 eth0.4 eth0.5 eth0.6" "eth0.2"

separate interface for every port with port based VLAN set.

but uci json API used in this do not allow it any more.
At least this modification helped in get it working with multiple VLAN interfaces.
My aim was :

br-lan eth0.1 ====>> br-lan eth0.3 eth0.4 eth0.5 eth0.6

I tried to generate patch using quite but it could not work in

package/base-file directory so I have generated using git .
Hope this patch helpful for others to comment and get it to final branch.

Attachments (1)

BUG_network_multi_interface.patch (976 bytes) - added by geek007 19 months ago.
Bug fix - network multi VLAN interface UCI JSON API

Download all attachments as: .zip

Change History (1)

Changed 19 months ago by geek007

Bug fix - network multi VLAN interface UCI JSON API

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.