r4006 802.1Q: Recalculate downlinks/uplinks button. Used in cases when due to some...
authorAlexey Andriyanov <alan@al-an.info>
Fri, 19 Nov 2010 16:57:16 +0000 (16:57 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Fri, 19 Nov 2010 16:57:16 +0000 (16:57 +0000)
commitf9428bc697e16b415b5f09e96f4d5f8780c5d137
tree13a84d229883d1be4de19b886d195314c308fba4
parent2eb52ed1af5de9e02fbdc848868a4fc9ac3cef41
r4006 802.1Q: Recalculate downlinks/uplinks button. Used in cases when due to some action
(order change, link add) port vlan configs are not consistent.

inc/interface.php:
 renderObject8021QPorts: new button added under port list

inc/functions.php:
 recalc8021QPorts: new function to recalculate uplinks and downlinks on the specified switch,
                   and also its corresponding remote ports. Can be useful in script mode.
 produceDownlinkPort: new function to duplicate remote side uplink port config as local side downlink. Used by recalc8021QPorts.
 queueChangesToSwitch: updates D-config and mutex_rev if new port config differs from the old one.
ChangeLog
inc/functions.php
inc/interface.php
inc/navigation.php
inc/ophandlers.php
pi.css
pix/tango-view-refresh-32x32.png [new file with mode: 0644]