Browse Source

Se añaden parámetros para conectar a selenium.

Maxi Schvindt 7 years ago
parent
commit
a34c252ff5

+ 2 - 0
app/config/parameters.yml.dist

@@ -56,3 +56,5 @@ parameters:
     tr069_pass: admin
     tr069_host: genieacs-nbi
     tr069_port: 7557
+
+    tr069_selenium_host: selenium

+ 2 - 0
app/config/parameters.yml.docker

@@ -51,3 +51,5 @@ parameters:
     tr069_pass: admin
     tr069_host: genieacs-nbi
     tr069_port: 7557
+
+    tr069_selenium_host: selenium

+ 2 - 2
src/FTTHBundle/Admin/ONUAdmin.php

@@ -378,9 +378,9 @@ class ONUAdmin extends WorkflowBaseAdmin
             $serviceName = $this->getParameter('tr069_api');
             $tr069 = $this->get($serviceName);
 
-            if($ssid) $aux = $tr069->setWlan($id, $ssid, $pass);
-            
             if(!is_null($catv)) $aux = $tr069->setCATV($id, $catv);
+
+            if($ssid) $aux = $tr069->setWlan($id, $ssid, $pass);
             
             if(!is_null($broadcast)) $aux = $tr069->setWbroadcast($id, $broadcast);