configfile.cfg is just an example of the syntax. Here are some files I've 
uploaded to my system


One is named "HWNat_Enabled.cfg".

If I wanted to use that config file, I would write the line as.

const file = "HWNat_Enabled.cfg"

Spence

> On December 6, 2018 at 5:40 PM Safiullah Tariq <[email protected]> 
> wrote:
> 
>     Dear Spencer,
> 
>     Thank you for your email.
>     Please bear with me, I am totally new to this.
> 
>     This " const file = "configfile.cfg""  file, should I upload the file in 
> Vendor Config with the extension as ".cfg" ?
>     If I am mistaken, please guide me, as I am not able to understand where 
> should I upload this file.
> 
>     Regarding the mikrotik, I can write my ROS commands and I just want the 
> genieacs to push it to the connected routers.
> 
>     Again, please help
> 
> 
>     Regards,
> 
>      
>     Safiullah Tariq
> 
> 
>     On Wed, Dec 5, 2018 at 10:54 PM Spencer Lambert <[email protected] 
> mailto:[email protected] > wrote:
> 
>         > > 
> >         Try this example:
> > 
> > 
> > 
> >         const now = Date.now();
> >         const file = "configfile.cfg"
> > 
> >         log('Downloading config', {serial: serialNumber, configFile: file});
> >         declare("Downloads.[FileType:3 Vendor Configuration File]",
> >         {path: 1}, {path: 1});
> >         declare("Downloads.[FileType:3 Vendor Configuration File].FileName",
> >         {value: 1}, {value: file});
> >         declare("Downloads.[FileType:3 Vendor Configuration File].Download",
> >         {value: 1}, {value: now});
> > 
> >             > > > On December 5, 2018 at 11:19 PM Spencer Lambert 
> > <[email protected] mailto:[email protected] > wrote:
> > > 
> > > 
> > >             You could use presets and tags to track and push the config 
> > > files.
> > > 
> > >                 > > > > On December 5, 2018 at 8:43 PM Safiullah Tariq 
> > > <[email protected] mailto:[email protected] > wrote:
> > > > 
> > > >                 Hello All,
> > > > 
> > > >                 I hope you all are well.
> > > > 
> > > >                 I am new to genieacs and this TR-069. I needed some 
> > > > help in this regard.
> > > > 
> > > >                 I there any detailed manual to configure Mikrotik 
> > > > routers?
> > > >                 I have checked "Vendor Configuration File" and pushed 
> > > > it to a router, it worked great.
> > > >                 But for that I have to make the file for every router.
> > > >                 Is there a detailed manual on how I can do some 
> > > > settings and the router gets it (or genieacs pushes it automatically).?
> > > > 
> > > >                 Any small help will be appreciated.
> > > > 
> > > > 
> > > > 
> > > > 
> > > >                 Regards,
> > > > 
> > > >                  
> > > >                 Safiullah Tariq
> > > >                 _______________________________________________
> > > >                 Users mailing list
> > > >                 [email protected] mailto:[email protected]
> > > >                 http://lists.genieacs.com/mailman/listinfo/users
> > > > 
> > > >             > > > 
> > >         > > 
> > 
> >          
> > 
> >             > > > _______________________________________________
> > >             Users mailing list
> > >             [email protected] mailto:[email protected]
> > >             http://lists.genieacs.com/mailman/listinfo/users
> > > 
> > >         > > 
> >     > 
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to