Commit graph

23 commits

Author SHA1 Message Date
Jakob Olsson
047e004f92 port_management: add a boot section to init.d script restarting wan
Issue with uplink LED not being brough up on boot
after earlier fix preventing restart of all
ports on every reload
2019-08-30 10:40:57 +02:00
Jakob Olsson
cd097820bc port_management: pass cfg name to set_port_speed #1059 #1060 2019-08-15 11:06:40 +02:00
Sukru Senli
3475bc4aba port-management: set uplink for wan port by default 2018-02-07 12:02:54 +01:00
Sukru Senli
d187b85f13 port-management: strip out hw specific port functions; they are moved to /lib/network/port.sh 2018-01-03 17:19:37 +01:00
Sukru Senli
77e04ec08b port-management: adapt to new output format of ethctl media-type call 2018-01-02 18:19:43 +01:00
Sukru Senli
6d37d875fb do not use /lib/network/config.sh directly, instead include /lib/network 2017-12-28 10:23:12 +01:00
Reidar Cederqvist
79a8179842 port_management: fix for eg400, need testing 2017-09-05 15:32:33 +02:00
Sukru Senli
325d978d02 port_management: configure only if the necessary tools exist 2017-03-23 10:05:12 +01:00
Reidar Cederqvist
74f3be12e2 split out sfp to its own init.d file fix #10536 2016-10-27 17:42:14 +02:00
Reidar Cederqvist
858b4bdf90 changed the init order of layer2 and port-mgmt scripts 2016-10-19 14:31:46 +02:00
Reidar Cederqvist
e08ad6c969 fixed some bugs in port_management init.d script
fixed the sfp_flag function and added back the ethswctl way to set
gig speed on ports
2016-09-29 17:12:46 +02:00
Reidar Cederqvist
31ad15f4eb fixed port-management and layer2interface init.d scripts
updated the layer2_interface_etherrnet to use new version of
get_port_number and made a total overhaul of port_management init.d
scripot
2016-09-29 16:02:02 +02:00
Reidar Cederqvist
1e63b8cd4e removed AUTO from valid sfp speed options 2016-09-28 16:39:35 +02:00
Reidar Cederqvist
192c397493 in port_management added a loop thats populate the ports config with sfpports from db
and added a function that sets the speed on the sfp from config on restart
2016-09-21 11:32:03 +02:00
Sukru Senli
a2220489b3 port_management: populate ports config if it has invalid config 2016-04-19 15:29:34 +02:00
Reidar Cederqvist
90f6688de8 port-management: made pause frame default 1 on WAN 2015-09-15 14:31:20 +02:00
Reidar Cederqvist
a9581a9087 port-management: addded name section to ethport 2015-09-15 14:25:10 +02:00
Reidar Cederqvist
07180b9d61 fix bug: 2015-09-15 10:55:06 +02:00
Reidar Cederqvist
031dc23c7d fix bug: removed content from ports config file and fixed port-management Makefile 2015-09-15 10:37:49 +02:00
Reidar Cederqvist
161d08a943 fix missing code 2015-09-14 16:02:16 +02:00
Reidar Cederqvist
a1317950f0 added support for setting pauseframes and autogeneration of ports config refs#7808 2015-09-11 09:47:33 +02:00
Sukru Senli
469f039e56 improved port management script 2015-09-09 11:06:20 +02:00
Sukru Senli
743f5b1a90 initial port management package 2015-09-09 10:47:04 +02:00