Re: Preset do not work

2019-05-17 Thread Dan Morphis
While presets are the easiest way to get started, you have much greater flexibility using provisioning scripts. Provisioning scripts are initiated by presets. To that end, the events precondition is an all or nothing thing. If you put "1 BOOT","M Reboot" in the event field, then the preset will

Re: API device query returns all devices

2019-04-15 Thread Dan Morphis
You are encoding the = part of the query string. Try this: curl 'http://localhost:7557/devices/?query *=* %7B%22_id%22%3A%22FF-uc100-DD38%252D1227%252DC138%252D0021%22%7D=_id' -dan On Fri, Apr 12, 2019 at 6:29 PM Rickard Johansson <

Re: Provision not applied to cpe

2019-04-04 Thread Dan Morphis
On Wed, Apr 3, 2019 at 10:08 PM Ebenezer wrote: > Hello Dan, > > Thank you for your response. > > Also, thanks for the correction on refreshing WLANConnection instances. > > "*Where aren't you seeing the values at? In the CPE GUI, or GenieACS > gui?"* > I do not see the values in the CPE GUI.

Re: Provision not applied to cpe

2019-04-03 Thread Dan Morphis
On Wed, Apr 3, 2019 at 4:52 AM Ebenezer Ejukorlem < eejukor...@ipnxnigeria.net> wrote: > Hello All, > > I would appreciate some help with this issue. > > When I try to provision a CPE using the provisioning script below, All > parameters values are seen to be correctly set on the genieacs server

Re: Manually Trigger Preset for Debugging Provisioning Scripts

2019-03-29 Thread Dan Morphis
Not directly, but what you could do is add a tag precondition. Then when you want to test you add the desired tag to the CPE and initiate a connection. In your provision script, have it delete the tag so the preset doesn't continually trigger. -dan On Fri, Mar 29, 2019 at 3:56 AM Scott Miller

Re: Random PeriodicInformInterval doesn't work as expected

2019-03-28 Thread Dan Morphis
On Thu, Mar 28, 2019 at 9:49 AM George Chelidze wrote: > Hi Dan, > > On 3/28/19 9:24 PM, Dan Morphis wrote: > > why do you want an interval so low > > Just for testing, I plan to put 1 hour +/- 20% in production. > > why do you want a random interval? Load? > &g

Re: Blank parameters

2019-03-28 Thread Dan Morphis
You need to refresh the values. Please review the documentation on the wikis. https://github.com/genieacs/genieacs/wiki and https://github.com/genieacs/genieacs-gui/wiki On Thu, Mar 28, 2019 at 8:55 AM Łukasz Cielec wrote: > Hello, > How I can get parameters from device where parameter is

Re: Striping long serial numbers

2019-03-20 Thread Dan Morphis
You can use a virtual parameter to create something more convenient. Check the wiki for details. On Wed, Mar 20, 2019 at 9:45 AM dragan wrote: > Dear all, > > I have CPE with very long serial number. In order to use it for set > several different values based on that serial number (SSID,

Re: [Support] Timezone set incorrectly on Genieacs

2019-03-13 Thread Dan Morphis
http://lists.genieacs.com/pipermail/users/2018-April/001985.html On Wed, Mar 13, 2019 at 12:45 AM Việt Nguyễn Bá wrote: > Hi team, > Currently, I am having problems with timezone set incorrectly on Genieacs. > For example, I added CPE at 14:54 (UTC + 7) (as picture below)=> timezone > of Viet

Re: using addition node modules with 'require' in provisions

2019-02-26 Thread Dan Morphis
Provision scripts are sandboxed. Only specific external functions are allowed (Date being one of them). To do anything requiring lodash, etc you need to use extension scripts . See also

Re: ACS Device Firmware Push API BOOT loop issue

2019-02-26 Thread Dan Morphis
This occurs because of a defect in your CPE vendors firmware. The CPE is not sending a download complete message to the ACS, so from the ACS's perspective, the CPE has not received the file and it will continue to retry. -dan On Tue, Feb 26, 2019 at 3:42 AM azfar ahmed wrote: > Dear All, > > I

Re: Error Resolving

2019-02-26 Thread Dan Morphis
The error message tells you exactly whats wrong. The CPE could not resolve the URL. What is the value of FS_INTERFACE, FS_PORT and FS_HOSTNAME from genieacs/config.json? -dan On Tue, Feb 26, 2019 at 10:28 AM Bibek Bajagain wrote: > Hello > Can anyone help me with the resolving error

Re: Devices was no deleted

2019-02-25 Thread Dan Morphis
You did not read the instructions for the script. The instructions state "If you want to change the script to perform the work instead of echoing the command to the console, delete the echo on line 28" So you can either delete the echo, or copy and paste those lines into your console. -dan On

Re: "failed to connect to server 127.0.0.1:27017 on first connect"

2019-02-22 Thread Dan Morphis
On Fri, Feb 22, 2019 at 7:38 AM Simon Ryf wrote: > Hi Alexander, > > > > I don’t want to be cheeky please give me that. However: > > > > If you would make a very wild guess – what could be the problem? > > > > Br > > Simon > > > > > Hmm, I wonder if the Mongo service has been started... -dan

Re: Firmware upgrade provision "File extension check unacceptable"

2019-02-21 Thread Dan Morphis
The second path parameter tells Genie how many instances with that filter should exist in the data model. I.e., doing declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.1.WANPPPConnection.*.PortMapping.[]", null, {path: 0}) would remove all port mapping entries for that path. Having

Re: Access to sessionContext from sandbox

2019-02-21 Thread Dan Morphis
Done properly, the management IP would not be the users public IP address. IMHO, the CPE should have two networks. One strictly for management, one strictly for the customers traffic. Doing things this way allows you to switch a CPE from routed to bridged (and back). It allows you to have

Re: Firmware upgrade provision "File extension check unacceptable"

2019-02-20 Thread Dan Morphis
Run genieacs cwmp in debug mode and look at the log file in genieacs/debug/acs_id.log Then grep for the filename and see what is different between when the file is pushed via the GUI and via your provisioning script. -dan On Mon, Feb 18, 2019 at 10:54 PM Jackson Sparkle wrote: > I have a

Re: trouble using setParameterValues

2019-02-14 Thread Dan Morphis
GenieACS will not do a SPV if it thinks the value is already the desired one. I.e., if the cached model matches the desired state, no changes will be sent to the CPE. To work around this, you need to do a GPV first. curl -i '

Re: Can't Create WANPPPConnection Object

2019-02-06 Thread Dan Morphis
Look at provision scripts, and example of a provisioning workflow on the wiki. The documentation covers how to create the wanpppconnection instances. -dan On Tue, Feb 5, 2019 at 2:08 AM Ebenezer Ejukorlem < eejukor...@ipnxnigeria.net> wrote: > Hello All, I would appreciate some help in

Re: Deleted Devices

2019-02-04 Thread Dan Morphis
Use this bash script. It requires you have jq installed. #!/usr/bin/env bash SERVER=192.168.7.80 COLLECTION=devices DATA=`curl http://${SERVER}:7557/${COLLECTION}?projection=_id | jq -r '.[]._id'` urlencode() { # urlencode old_lc_collate=$LC_COLLATE LC_COLLATE=C local

Re: Extensions timeout

2019-01-31 Thread Dan Morphis
. > > I’m not really a Node dev and therefore I didn’t yet made a pull request… > > > > Cheers > > Simon > > > > *From: *Users on behalf of Dan Morphis > > *Reply-To: *Community support for GenieACS users > > *Date: *Thursday, 31 January

Re: Extensions timeout

2019-01-31 Thread Dan Morphis
You can increase the extension timeout by adding "EXT_TIMEOUT": 3, to the genieacs/config/config.json file. Timeout is in milliseconds. -dan On Tue, Jan 29, 2019 at 11:27 PM Mirek Lauš wrote: > Hello Genieacs users, > > my extensions sometimes results in timeout without a reason giving a

Re: How can i do to send the firmware to a range of 50 devices?

2019-01-29 Thread Dan Morphis
You should probably engage a support contract with Zaid. GenieACS is not a turn-key solution. It will require knowledge of the TR-069 spec and programming knowledge. -dan On Tue, Jan 29, 2019 at 6:40 AM Alexander Morillo wrote: > Hello, I would like to know

Re: Error: Session Timeout

2019-01-24 Thread Dan Morphis
st object InternetGatewayDevice.SoftwareModules. > > Would you please help me to know how to do it with GenieACS? > > On 23‏/1‏/2019 6:04 م, Dan Morphis wrote: > > This is all documented on the wiki > <https://github.com/genieacs/genieacs/wiki/G

Re: How to call ChangeDUState Method

2019-01-24 Thread Dan Morphis
RPC calls aren't supported by GenieACS at this time. I believe it is on the planned feature list. -dan On Thu, Jan 24, 2019 at 2:02 AM Feten Besbes wrote: > Dear all, > > Would you please help me to know how to call RPC ChangeDUState if it is > supported by genieACS. > > I need this RPC for

Re: Error: Session Timeout

2019-01-23 Thread Dan Morphis
This is all documented on the wiki . -dan ___ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users

Re: CPE not showing up

2019-01-21 Thread Dan Morphis
Again, there is documentation on the wiki for this... Try changing the gpn next level, session timeout and/or batch size. We use these values: "GPN_NEXT_LEVEL": 3, "GPV_BATCH_SIZE": 24,

Re: provisioning script not working

2019-01-21 Thread Dan Morphis
your help. > > > > *From:* Users *On Behalf Of *Dan > Morphis > *Sent:* Friday, January 18, 2019 3:33 PM > *To:* Community support for GenieACS users > *Subject:* Re: provisioning script not working > > > > *CableLabs WARNING:* The sender of this email could

Re: CPE not showing up

2019-01-21 Thread Dan Morphis
The CPEs data doesn't get committed to the DB until session with the CPE is closed. Look in the cwmp log for any errors, or messages about session timeout. -dan On Mon, Jan 21, 2019 at 6:10 AM Jeffrey Wommer wrote: > Hi all, > > I'm having an issue with getting a CPE to show up in the GUI. I'm

Re: Forum

2019-01-19 Thread Dan Morphis
There is a ton of documentation on the wiki. I’ve shared several scripts, enhanced the documentation, etc. When I have a problem and can’t figure out how to solve it from reading the docs on the wiki, I always circle back around and update the documentation when I figure out a solution. In

Re: provisioning script not working

2019-01-18 Thread Dan Morphis
I'd read through the documentation on the wiki again. This is all outlined in there. Do not hard-code instance ids, you can never be assured they will always be the same. On Fri, Jan 18, 2019 at 1:41 AM sisir tiwari wrote: > Hi all, > > > > I am having issue with provisioning script to create

Re: Using GenieACS

2019-01-18 Thread Dan Morphis
have been looking at the API documentation on github, but we > can’t seem to run the commands they are showing and changes using the GUI > are still being cached. > > Thanks, Matt > > > > *From:* Users *On Behalf Of *Dan > Morphis > *Sent:* Thursday, January 17,

Re: Using GenieACS

2019-01-17 Thread Dan Morphis
curl --digest -u "username:password" -i http://cpe_ip:30005/ If you do not have connection request authentication enabled in the CPE then use: curl -i http://cpe_ip:30005/ -dan ___ Users mailing list Users@lists.genieacs.com

Re: Forum

2019-01-17 Thread Dan Morphis
I've created the first Discourse post :) -dan On Thu, Jan 17, 2019 at 1:01 AM Zaid Abdulla wrote: > Hi, > > First off, apologies for not being active here for a number of months > now. Last year has been a very busy and stressful year for me and I was > barely able to keep up with work from

Re: Can be VirtualParameters nested?

2019-01-17 Thread Dan Morphis
The way I’m working around this limitation is JSON.stringify(). It’s a bit hacky, but gets the job done. -dan > On Jan 17, 2019, at 1:10 AM, Zaid Abdulla wrote: > >> On Tue, 2019-01-15 at 10:28 -0200, Matheus Silva Santos wrote: >> Is it possible to create VirtualParameters structures like

Re: Fail on provisioning with date value

2019-01-10 Thread Dan Morphis
You pulled the code from the wiki, but edited out the parts that make it work :). You cannot count on instance ids being the same, which is why the [FileType:3 Vendor Configuration File] filter is in the script. I didn't write out all the code in the wiki entry to make extra work for myself :).

Re: Database

2019-01-10 Thread Dan Morphis
Simon is spot on. Writing directly to the Mongo instance is a bad idea. GenieACS caches information from the db, and if you manipulate the db directly and don't invalidate the redis cache, then those changes can be lost. Additionally, writing data to the Mongo DB doesn't update the CPE. Using

Re: curl without UOI

2019-01-10 Thread Dan Morphis
No, the OUI is part of the ACS ID. My suggestion is to store the full ACS ID in your subscriber management system. The way I accomplish this is on 1 BOOT and provision script executes which sends the device id, serial, mac, etc to our subscriber mgmt software which then looks up the CPE based on

Re: Firmware upload method failure 9010

2019-01-03 Thread Dan Morphis
Also check the syslog on the device. On Thu, Jan 3, 2019 at 2:20 AM Michael Neumann wrote: > Hello Jasper, > > > > have you checked with a TCP Dump if you get the right download request? > > > > What Version you are using? Have you configured the file server settings > from the cwmp service? >

Re: [GenieACS] When ACS server get/set parameters device, return a message "Task queued but not processed"

2018-12-22 Thread Dan Morphis
Because the CPE didn't acknowledge the command before the timeout threshold was reached. It doesn't mean there is any issues. -dan On Thu, Dec 20, 2018 at 5:25 PM Lê Văn Vượng wrote: > Hi Friend, > When i do get/set parameters or refresh device, sometimes ACS > return message "Task queued but

Re: Installation Failed

2018-11-21 Thread Dan Morphis
The answer to your problem is right in the error message... "Error: The module '/root/genieacs/node_modules/libxmljs/build/Release/xmljs.node' was compiled against a different Node.js version using *NODE_MODULE_VERSION 48. This version of Node.js requiresNODE_MODULE_VERSION 57. Please try

CAF Testing

2018-11-21 Thread Dan Morphis
US based providers, what are you using for CAF testing? Are you using a 3rd party box like something from VantagePoint or Sam Knows? The TR143 stuff? This is very rapidly going to be my highest priority and I'm trying to work out how we are going to meet the reporting requirements. -dan

Re: GenieACS Refresh object

2018-11-20 Thread Dan Morphis
The easier solution is to not allow users to make changes to the CPE and do all changes via the ACS. This is the approach we use. The much more involved answer is using a combination of presets and provision scripts you can force the CPE to be in a certain state, but it would be on a scheduled

Re: OR expression in index_parameters.yml

2018-11-19 Thread Dan Morphis
You could use virtual parameters to abstract that mess, then reference that v-param in your yaml file. That would be the easiest option. -dan On Mon, Nov 19, 2018 at 5:04 AM Sergio Fernández wrote: > Hi, > > I would like to know

Re: preset schedule

2018-11-16 Thread Dan Morphis
Your preset is set to trigger *only* on a boot that occurs after an invalid cron expression occurs. The every x seconds part means if the value will only be refreshed if the data genieacs has is older than x seconds. Presets are documented on the wiki

Re: Conection refused.

2018-11-01 Thread Dan Morphis
Where do you see that error message? You need to provide a lot more detail. -dan On Thu, Nov 1, 2018 at 6:19 AM Spencer Lambert wrote: > Likely ether a firewall issue or the CWMP service isn't running. > > On November 1, 2018 at 7:46 PM Alexander Morillo < > a...@networkbroadcast.net> wrote: >

Re: http post 204 no content

2018-10-19 Thread Dan Morphis
how to begin. > > Could you teach me how to work ? > > Jason Hsu > > > > Dan Morphis 於 2018年10月19日 週五 上午1:53寫道: > >> Can you more fully explain your request? I'm not sure what it is you are >> trying to accomplish. >> >> -dan >> >> On Thu

Re: Limit the query.

2018-10-16 Thread Dan Morphis
Are you wanting to do a projection? https://github.com/genieacs/genieacs/wiki/api-reference#examples scroll down to the last example "Return specific parameters for a given device" -dan On Tue, Oct 16, 2018 at 2:31 AM ΙΟΡΔΑΝΗΣ ΓΕΩΡΓΙΑΔΗΣ wrote: > I want to get all parameters of devices and i

Re: Issue Adding or Deleting Objects

2018-10-04 Thread Dan Morphis
Are you running the latest version of GenieACS? On Thu, Oct 4, 2018 at 12:17 PM Devin Overington < devin.overing...@gtelcorp.com> wrote: > >>What do the logs on the CPE say? > > > > The logs on my CPE appear to be pretty light in terms of cwmp logging. If > I have logging set to debug mode and

Re: Issue Adding or Deleting Objects

2018-10-04 Thread Dan Morphis
What do the logs on the CPE say? ___ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users

Re: Issue Adding or Deleting Objects

2018-10-04 Thread Dan Morphis
Try this updated script: // Refresh declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.*", {path: Date.now()}); declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.*", {path: Date.now()});

Re: Issue Adding or Deleting Objects

2018-10-04 Thread Dan Morphis
It looks like your config is mostly there, except the WANIPConnection instances and the WANPPPConnection instance. For the WANPPPConnection you are presuming the instance number will always be 1, that might not always be the case. For WANIPConnection you are repeatedly changing the connection name

Re: ONT - Configure Internet Service

2018-10-03 Thread Dan Morphis
; > > > Em qua, 3 de out de 2018 às 22:43, Dan Morphis > escreveu: > >> If you are using v1.1 of Genie, please review the wiki. >> >> https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow >> >> _

Re: ONT - Configure Internet Service

2018-10-03 Thread Dan Morphis
If you are using v1.1 of Genie, please review the wiki. https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow ___ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users

Re: Issue Adding or Deleting Objects

2018-10-03 Thread Dan Morphis
Can you please post your provision scripts (removing anything sensitive of course)? -dan On Mon, Oct 1, 2018 at 2:29 PM Devin Overington < devin.overing...@gtelcorp.com> wrote: > > I've been working on figuring out this issue for about the last week or so > and haven't gotten anywhere with it

Re: Version in another lenguages

2018-09-21 Thread Dan Morphis
Depending on what web server you are using, you may need to restart the web server for the gui in order to see the changes. -dan On Fri, Sep 21, 2018 at 11:04 AM Alexander Morillo < a...@networkbroadcast.net> wrote: > Hi everyone, > > I want to translate genieacs to a version in another

Re: Failed to open TCP connection to localhost:

2018-09-18 Thread Dan Morphis
Looks like only genieacs-gui is installed... You probably want to read the installation docs for genieacs... ___ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users

Re: Failed to open TCP connection to localhost:

2018-09-18 Thread Dan Morphis
Is the service still running? On Tue, Sep 18, 2018 at 9:08 AM wrote: > Last night I was connected to the genieacs gui just fine. This morning, > when I try to get in, I receive the following error… > > > > Failed to open TCP connection to localhost:7557 (Connection refused - > connect(2) for

Re: External Script Problems

2018-09-12 Thread Dan Morphis
Please post your preset and provision script. -dan > On Sep 12, 2018, at 2:56 AM, Malto 4 wrote: > > Lets say that you have a client who wants his SSID changed for example, you > would think that you could just (in this example) modify the value of "SSID" > and have it be sent to the

Re: Get event type inside a provision script

2018-09-11 Thread Dan Morphis
An easier way of doing this would be to use a preset with an event condition. [image: image.png] ___ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users

Re: Refreshing Parameter Values

2018-09-11 Thread Dan Morphis
Be wary of automatically pulling back to much information periodically. The way I implement this in my environment is our subscriber mgmt system queries genie on demand for modem information. The user can then refresh particular values as needed. https://imgur.com/MD3oFqU

Re: Refreshing Parameter Values

2018-09-10 Thread Dan Morphis
So the way second parameter works is GenieACS will only update if the data in its cached model is older than the value given. I.e., declare("InternetGatewayDevice.ManagementServer.ConnectionRequestURL", {value: now}); tells GenieACS to *always* refresh parameter the value because the cached data

Re: unable to connect

2018-09-04 Thread Dan Morphis
rver.pid. > > Exiting > > > > When I look at /opt/genieacs-gui/tmp/pids/server.pid it is blank. > > Where do I go from here? > > > > Thanks > > > > *From:* Users *On Behalf Of *Dan > Morphis > *Sent:* Tuesday, September 4, 2018 9:35 PM > *To

Re: "download" method failure

2018-08-30 Thread Dan Morphis
Whats in the cwmp log file? Whats in the device log file? -dan On Thu, Aug 30, 2018 at 4:40 PM, varat za wrote: > > Hi. > > Now I got some testing using latest release. > > When I test "download" method, the server responds with the following fail > message: > > { > "_id" :

Re: FaultCode 9010 FaultString Download failure

2018-08-08 Thread Dan Morphis
Check the device log on the CPE. -dan On Mon, Aug 6, 2018 at 10:47 AM, LAUZ F. wrote: > I add firmware file with "add firmware"ans is done successfully. > > > But when I "push file" to commit download, I get this error: > > "FaultCode 9010 FaultString Download failure" > > > Note: > > In this

Re: show more devices on listing devices page

2018-08-08 Thread Dan Morphis
Did you restart the web server after making the change? On Wed, Aug 8, 2018 at 3:16 AM, wrote: > Can I increase the number of devices that show up on the “Listing devices” > page? I thought I found the answer in devices_controller.rb by changing > the ‘limit’ => 10 to ‘limit’ => 25, but it had

Re: device is offline when usinf cURL POST

2018-07-16 Thread Dan Morphis
A 202 will be reported if a timely response is not returned from the CPE. Try adding =3000 to the URI. See the API reference for more information . On Sun, Jul 15, 2018 at 5:31 PM, wrote: > I am trying to use curl to do a post to refresh

Re: Provisions log

2018-06-29 Thread Dan Morphis
config file: > > "LOG_INFORMS" : true, > "CWMP_LOG_FILE" : "/var/log/genie-cmwp.log", > "CWMP_ACCESS_LOG_FILE" : "/var/log/genie-cmwp.log", > > Let me know if works fine. > BR > Agustin > > On Fri, Jun 29, 2018 at 3:05 PM

Re: Provisions log

2018-06-29 Thread Dan Morphis
the cwmp logs to stdout. Therefore, its incumbent on you to direct the output to a file: /usr/bin/genieacs-cwmp &>> /var/log/genieacs/cwmp.log On Fri, Jun 29, 2018 at 6:27 AM, wrote: > Hello, > > I'm new to genieACS. > So far, I've successfully tested Presets. For instance, I'm adding a tag

Re: Commas in alias filter

2018-06-27 Thread Dan Morphis
I haven't tried this, but try either encapsulating the value in single quotes, or try escaping the comma with a backslash. On Sat, Jun 16, 2018 at 11:06 AM, Miguel Ángel Sánchez Moragues < sanchez.morag...@gmail.com> wrote: > Hi all, > > According to the wiki, it's possible use alias filter: > >

Re: FaultCode="script.ReferenceError" faultMessage="serialNumber is not defined"

2018-06-25 Thread Dan Morphis
Can you please include the script/preset? -dan On Tue, Jun 19, 2018 at 5:07 AM, Miguel Ángel Sánchez Moragues < sanchez.morag...@gmail.com> wrote: > Hi all, > > I use genieACS 1.1.1 > > When I try refresh something parameter for 1 device, for example, >

Re: Device key

2018-06-25 Thread Dan Morphis
Sounds like your vendor hasn't properly implemented the spec. The three fields that are supposed to be unique across devices are ManufacturerOUI, ProductClass, SerialNumber. On Fri, Jun 15, 2018 at 1:14 PM, Dominic Blais wrote: > > > Hi, > > > > Is it possible to add a field (say mac address)

Re: NBI add object

2018-06-19 Thread Dan Morphis
, which I am running on a tmux session, and I can’t find anything in > the development.log of the gui app. > > I feel like I’m developing this blind, and I can’t even tell if the presets > are firing the provisioning scripts. > > -Don > > > From: Users On Behalf Of

Re: How can i do to send the firmware to a range of 50 devices?

2018-06-08 Thread Dan Morphis
Custom code/scripting to manually add the firmware download task to the devices you want. Or you can write some custom provision scripts. -dan On Fri, Jun 8, 2018 at 9:49 AM, Alexander Morillo wrote: > Hi. > > I need to send firmwares upgrades to a range of CPE, is it possible with > genieACS?

Re: Listing Device is Empty

2018-06-08 Thread Dan Morphis
ng devices dont show the MAC address, Serial > number or any other parameters, it is totally blank. the "last inform" is > the only option running okay. > > thnks > > 2018-06-08 12:18 GMT-04:00 Dan Morphis : > >> Umm, what URI are you viewing? I see al

Re: Presets not executing

2018-06-08 Thread Dan Morphis
o I perhaps have to refresh the > object before attempting to set a value inside it? > > Regards, Grimur > > On Fri, 2018-06-08 at 08:17 -0800, Dan Morphis wrote: > > For the CPEs that the preset isn't working on, does the parameter you're > trying to set exist in their obje

Re: Listing Device is Empty

2018-06-08 Thread Dan Morphis
Umm, what URI are you viewing? I see all the devices in our network by going to /devices On Thu, Jun 7, 2018 at 11:14 AM, Alexander Morillo < a...@networkbroadcast.net> wrote: > Hi, > > I have a problem to see the device list, this page only show the last seen. > Anyone knows how to configurate

Re: Presets not executing

2018-06-08 Thread Dan Morphis
For the CPEs that the preset isn't working on, does the parameter you're trying to set exist in their object model? You also don't indicate what version of GenieACS you are using... -dan On Fri, Jun 8, 2018 at 7:58 AM, Grímur Daníelsson wrote: > Hi > > I've set up presets(one per type of

Re: Presets

2018-05-18 Thread Dan Morphis
Presets are covered on the wiki I believe. -dan > On May 18, 2018, at 1:07 AM, Petar Raickovic wrote: > > Hi guys, > > > I would like to know how to configure Presets for the case when I want a > modem to send a new value for requested KPIs whenever it sends

Re: NBI add object

2018-05-15 Thread Dan Morphis
Provision scripts will take care of adding object instances if needed. You will have so many fewer issues if you switch to using provisioning scripts and move away from using the API to add specific object instances. I went from getting several emails a week about modems not working properly when

Re: NBI add object

2018-05-14 Thread Dan Morphis
Why are you using the API to add an object instance? Use provision scripts and make calls to an external API to get the parameters needed for the device. https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow On Mon, May 14, 2018 at 12:47 AM, Bodlaj Gasper

Re: Using aProvision Script

2018-05-11 Thread Dan Morphis
.@tm.net.uk> wrote: > Hi Dan > > No > I’m currently using v1.0 as v1.1 wasn’t getting basic info like IP address > of modems etc. > > Joe Waite > > On 11 May 2018, at 18:33, Dan Morphis <d...@milkcarton.com> wrote: > > Are you using genie v1.1? > > O

Re: Using aProvision Script

2018-05-11 Thread Dan Morphis
e to add. > > Regards > > On 10 May 2018, at 23:06, Dan Morphis <d...@milkcarton.com> wrote: > > I presume your using the "Example of a provisioning flow" wiki page? It > mentions under external script > <https://github.com/genieacs/genieacs/wiki/Example

Re: Using aProvision Script

2018-05-10 Thread Dan Morphis
I presume your using the "Example of a provisioning flow" wiki page? It mentions under external script where to put the file. -dan On Thu, May 10, 2018 at 1:49 PM, Joseph Waite wrote:

Re: Questions on presets / Firmware upgrade

2018-05-03 Thread Dan Morphis
> > a very simple provision - untag a CPE and reboot: > > const tag = "Tags.upgrade"; > declare(tag, null, {value: false}); > declare("Reboot", null, {value: Date.now()}); > > The CPE should automatically reboot after a F/W upgrade, so there would be no need to manually reboot it.

Re: Questions on presets / Firmware upgrade

2018-05-02 Thread Dan Morphis
On Wed, May 2, 2018 at 8:36 AM, George Chelidze <george.cheli...@magticom.ge > wrote: > Dan, please find my answer below. > > On 05/02/2018 08:06 PM, Dan Morphis wrote: > > Was the event your only precondition? Was the channel in a faulted > > state for that CPE? Preset

Re: Questions on presets / Firmware upgrade

2018-05-02 Thread Dan Morphis
Was the event your only precondition? Was the channel in a faulted state for that CPE? Presets without a channel get put on the "default" channel. -dan On Wed, May 2, 2018 at 3:47 AM, George Chelidze wrote: > Hi Dan, > > >> Another quick question here: > >> > >>

Re: Questions on presets / Firmware upgrade

2018-05-02 Thread Dan Morphis
Comments below. -dan > So, If I put "-0 BOOTSTRAP, -1 BOOT" will it mean any event except these > two? > Yes >>> 5. If we put two events separated by comma (1 BOOT, 2 PERIODIC), will >>> a preset be executed in case of any of these events of both events >>> should be present as in the

Re: Service Unavailable

2018-04-27 Thread Dan Morphis
Setup a Cluster or HA proxy. What is your inform interval set to? -dan > On Apr 27, 2018, at 1:06 PM, Sasan torabkheslat wrote: > > Dear Zaid > > Thanks for your response, we have hundreds of devices configured to send > their data to GenieACS every minute. > > Is

Re: Upload configuration file from CPE

2018-04-26 Thread Dan Morphis
18-04-27 10:31 GMT+07:00 Dan Morphis <d...@milkcarton.com>: >> You need to upload the config to the routers from the ACS, or from the >> routers to the ACS? >> >> -dan >> >>> On Apr 26, 2018, at 8:29 PM, Макс Пушпашев <maxpushpas...@gmail.com>

Re: Upload configuration file from CPE

2018-04-26 Thread Dan Morphis
ate a file, upload it to the AСS from the PC, But how to get > the configuration from the router is not clear. Perhaps someone will be able > to set an example? I need to upload configurations of ~ 300,000 routers and > store their copies. > > 2018-04-27 10:12 GMT+07:00 Dan Morphis &

Re: Two ACSs

2018-04-26 Thread Dan Morphis
g of using HAproxy > for this and setting it to foreword messages containing "4 VALUE CHANGE" to > ACS1 and the others to ACS2 but i don't know if that would do the trick... > > чет, 26. апр 2018. 20.59 Dan Morphis <d...@milkcarton.com> је написао/ла: >>

Re: Two ACSs

2018-04-26 Thread Dan Morphis
complex but I need to know if it is possible and if you > have any suggestions on how to do it. As far as I have seen in TR069 document > I wpuld need some kind of a proxy in front of the ACSs as modem can have only > one ACS... > > чет, 26. апр 2018. 20.41 Dan Morphis <d...@m

Re: Two ACSs

2018-04-26 Thread Dan Morphis
Why? That sounds like needless complexity. -dan > On Apr 26, 2018, at 11:40 AM, Petar Raickovic > wrote: > > Yes that's right. I want to do a refresh of the device (updating parameters) > with one ACS and a reboot with the other. > > чет, 26. апр 2018. 20.38 Zaid

Re: problem with push fw

2018-04-26 Thread Dan Morphis
054de72d6e" retries=0 > faultCode="cwmp.9010" faultMessage="Download failure" > > > > >> On Wed, Apr 25, 2018 at 9:18 PM, Dan Morphis <d...@milkcarton.com> wrote: >> Do you have the value for FS_HOSTNAME set in your >> genieacs/conf

Re: API call failure

2018-04-26 Thread Dan Morphis
Good to know! -dan > On Apr 26, 2018, at 10:24 AM, Zaid Abdulla <z...@genieacs.com> wrote: > >> On Thu, 2018-04-19 at 10:57 -0800, Dan Morphis wrote: >> The old method of being able to debug just one config isn't supported >> anymore I believe. >

Re: problem with push fw

2018-04-25 Thread Dan Morphis
Do you have the value for FS_HOSTNAME set in your genieacs/config/config.json file? That is the address/IP thats used to build the URI for file download thats sent to the client. Set that value to either the dns name of the server (if your CPEs can do name resolution on the interface you have the

Re: API based signal tests...

2018-04-24 Thread Dan Morphis
Graphing the data will need to be done in what ever front end you are using. For me, we have a home-grown subscriber management system. In that system, I show a limited subset of CPE data to our support staff. In our mgmt system, I query the NBI for the CPE data and do all the data munging and

Re: API based signal tests...

2018-04-24 Thread Dan Morphis
After thinking for a bit, I felt I should clarify the algorithm that cooks the data a bit. // Weave the hlog data into one array let hlogUp = InternetGatewayDevice.WANDevice.1.WANDSLDiagnostics. HLOGpsus.split(','); //However you do this in what ever language you choose, but split on comma let

Re: API based signal tests...

2018-04-24 Thread Dan Morphis
The solution is multipart. First, you will need to create a preset that when the event '8 DIAGNOSTICS COMPLETE' is received, executes a provision. The provision will have this: declare("InternetGatewayDevice.WANDevice.*.WANDSLDiagnostics.*", {value: Date.now()}); The final step is graphing the

  1   2   3   4   >