add network configuration screen
[raven.git] / apps / gacksadmin / action.php
index 1a73caa..b4747a0 100644 (file)
@@ -172,6 +172,15 @@ try {
             break;
         }
 
+        case 'set-network': {
+            $account_name = $_POST['account_name'];
+            $network_method = $_POST['network_method'];
+            $api->SliceAutoConfig($account_name, array("network_method" => $network_method));
+            drupal_set_message('Network Set');
+            plc_redirect(l_gacks_network());
+            break;
+        }
+
         case 'set-syndicate': {
             $account_name = $_POST['account_name'];
             $enable_syndicate = $_POST['enable_syndicate'];