diff --git a/usr/local/www/interfaces_lagg.php b/usr/local/www/interfaces_lagg.php new file mode 100644 index 0000000000..f2643df61f --- /dev/null +++ b/usr/local/www/interfaces_lagg.php @@ -0,0 +1,136 @@ +
{$if}"; + return true; + } + } + + return false; +} + +if ($_GET['act'] == "del") { + /* check if still in use */ + if (lagg_inuse($_GET['id'])) { + $input_errors[] = "This lagg interface cannot be deleted because it is still being used."; + } else { + mwexec("/sbin/ifconfig " . $a_laggs[$_GET['id']]['laggif'] . " destroy"); + unset($a_laggs[$_GET['id']]); + + write_config(); + + header("Location: interfaces_lagg.php"); + exit; + } +} + + +$pgtitle = array("Interfaces","LAGG"); +include("head.inc"); + +?> + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
InterfaceMembersDescription
+ + + + + +   + + +  
 

+ Note:
+
+ Something meaningful here. +

 
+
+
+ + + diff --git a/usr/local/www/interfaces_lagg_edit.php b/usr/local/www/interfaces_lagg_edit.php new file mode 100644 index 0000000000..7c7cffd7e6 --- /dev/null +++ b/usr/local/www/interfaces_lagg_edit.php @@ -0,0 +1,149 @@ + + + + + +
+ + + + + + + + + + + + + + + + + +
Parent interface + +
+ Choose the members that will be used for the link aggregation.
Lag proto + +
+ Remote lagg address endpoint. The subnet part is used for the determinig the network that is tunneled.
Description + +
You may enter a description here + for your reference (not parsed).
  + + + + + +
+
+ + +