[openwisp] openwisp Controller UI's user password change

2020-04-14 Thread Amit Goyal
Hello Everyone Can we change OpenWisp Controller UI's user password by script ? I know we can create superuser by following command . echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('$OPENWISP_ADMIN_USER', 'ad...@test.com',

Re: [openwisp] Push protocol in place of Pull configuration

2020-03-25 Thread Amit Goyal
Hi Federico ok Thanks . On Tuesday, March 24, 2020 at 8:12:55 PM UTC+5:30, Federico Capoano wrote: > > > > On Tue, Mar 24, 2020 at 2:35 AM Amit Goyal > wrote: > >> Hi Federico >> >> Thanks for information ! >> >> Can we enable API for th

Re: [openwisp] Push protocol in place of Pull configuration

2020-03-20 Thread Amit Goyal
s > running for the background jobs. See > https://github.com/openwisp/openwisp-controller#id1 > > Unfortunately, I don't know about any documentation for this feature. > > Greetings, > Oliver > > On Thu, Mar 19, 2020 at 11:39:46PM -0700, Amit Goyal wrote: > >

[openwisp] Push protocol in place of Pull configuration

2020-03-20 Thread Amit Goyal
Hi Presently OpenWisp device pull configuration from openwisp and update conflagration on their side . Does OpenWisp support push configuration where we can push changes to openwisp Device . Please share if there any such implementation already exist in openwisp . Regards Amit -- You

Re: [openwisp] Impact of USE_TZ = False or True

2020-03-20 Thread Amit Goyal
ocumentation: > > https://docs.djangoproject.com/en/3.0/ref/settings/#std:setting-USE_TZ > https://docs.djangoproject.com/en/3.0/ref/settings/#std:setting-TIME_ZONE > https://docs.djangoproject.com/en/3.0/ref/settings/#time-zone > > Greetings, > Oliver > > On Thu, Mar 19, 202

[openwisp] Impact of USE_TZ = False or True

2020-03-19 Thread Amit Goyal
Hi There is variable USE_TZ = False in setting.py. What is impact of this if set to False or True. I tried both value but could not see any differnce in openwisp . -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group

Re: [openwisp] Enable API for config_config_templates table

2019-12-20 Thread Amit Goyal
le to do what you need, I suggest you to start with > studying many2many relationships in Django: > https://docs.djangoproject.com/en/3.0/topics/db/examples/many_to_many/ > > Best regards > Federico > > On Fri, Dec 20, 2019 at 9:52 AM Amit Goyal > wrote: > >> Hi Fed

[openwisp] Enable API for config_config_templates table

2019-12-20 Thread Amit Goyal
Hi Federico I want to enable API for config_config_template table but I could not find any config_config_template model which can be used in urls.py . I was checking in */usr/local/lib/python3.6/site-packages/openwisp_controller/config/models.py *but there is no class for this table . even

Re: [openwisp] Create organisation with fixed seceret key during start of openwisp

2019-10-04 Thread Amit Goyal
wrote: > > You have to use this model: > https://github.com/openwisp/openwisp-controller/blob/master/openwisp_controller/config/models.py#L229 > > > Fed > > On Thu, Oct 3, 2019 at 8:03 AM Amit Goyal > wrote: > >> Hi Noumbissi >> >> I a

Re: [openwisp] Create organisation with fixed seceret key during start of openwisp

2019-10-03 Thread Amit Goyal
tion='org_description', email='organization_email', > url='organization_url')" | python3 /home/openwisp/manage.py shell* > > only the name field is required. so you can leave out the other fields. > But i think its good you put them. > > > On Thu, Oct 3, 2019 at 8:42 AM

Re: [openwisp] Create organisation with fixed seceret key during start of openwisp

2019-10-03 Thread Amit Goyal
isp/manage.py shell* > > only the name field is required. so you can leave out the other fields. > But i think its good you put them. > > > On Thu, Oct 3, 2019 at 8:42 AM Amit Goyal > wrote: > >> Sorry I could not see any ! >> >> Is there way to create custom

Re: [openwisp] Create organisation with fixed seceret key during start of openwisp

2019-10-03 Thread Amit Goyal
ge.py shell* On Thursday, October 3, 2019 at 12:09:00 PM UTC+5:30, Noumbissi Valere wrote: > > Check the *organization* table. You should see a default organization there > > On Thu, Oct 3, 2019, 6:42 AM Amit Goyal > > wrote: > >> Hi Noumbissi >> >> Thanks

Re: [openwisp] Create organisation with fixed seceret key during start of openwisp

2019-10-02 Thread Amit Goyal
o Amit, > > A *default* organization is created at start up which you can use. Don't > know if that will solve your problem? > > On Thu, Oct 3, 2019, 6:12 AM Amit Goyal > > wrote: > >> Hi >> >> We want to create organisation with fixed secret key during openwis

[openwisp] Create organisation with fixed seceret key during start of openwisp

2019-10-02 Thread Amit Goyal
Hi We want to create organisation with fixed secret key during openwisp start up as we can create superuser during startup . Is it possible to do ? Please let me know details . Thanks Amit -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To

Re: [openwisp] Need to add one more field template information in device table of openwisp UI

2019-09-06 Thread Amit Goyal
rors? if they are, then it >> should work. >> please ensure the method is in the class and that openwisp-controller >> restarts with the added changes. >> >> On Wed, Sep 4, 2019 at 8:52 AM Amit Goyal > > wrote: >> >>> Hi Noumbissi >>> &

Re: [openwisp] Need to add one more field template information in device table of openwisp UI

2019-09-04 Thread Amit Goyal
On Wed, Sep 4, 2019 at 8:52 AM Amit Goyal > wrote: > >> Hi Noumbissi >> >> Thanks for your help. >> >> >> I have updated * /usr/src/app/openwisp_controller/config/admin.py* inside >> openwisp container as below but changes are not refle

Re: [openwisp] Need to add one more field template information in device table of openwisp UI

2019-09-04 Thread Amit Goyal
gt; for template in templates: > template_names.append(template.name) > return ",".join(template_names) > return > > template_field.short_description = "Templates" > > DeviceAdmin.list_display.append('template_field') > > to achieve something like this, >

[openwisp] Need to add one more field template information in device table of openwisp UI

2019-08-29 Thread Amit Goyal
Hi Openwisp Team I am very new to Django Frame work and don't know complete details of openwisp django frame work. I need to add one more field in device table of Openwisp UI . New Field-: Template linked to Device Changes expecting -: 1-: Query fetching device table information 2-: UI

Re: [openwisp] openwisp with HTTPS

2019-08-29 Thread Amit Goyal
a reverse proxy with nginx, which should > be configured to serve requests via HTTP. > > F. > > On Mon, Aug 26, 2019 at 8:06 AM Amit Goyal > wrote: > >> Hi >> >> How to run openwisp with HTTPS security ? >> Please share details if any . >> >>

Re: [openwisp] openwisp with HTTPS

2019-08-29 Thread Amit Goyal
Thanks Oliver ! It would helped a lot On Monday, August 26, 2019 at 7:11:23 PM UTC+5:30, Oliver Kraitschy wrote: > > On Mon, Aug 26, 2019 at 05:06:35AM -0700, Amit Goyal wrote: > > Hi > > > > How to run openwisp with HTTPS security ? > > Please share d

[openwisp] openwisp with HTTPS

2019-08-26 Thread Amit Goyal
Hi How to run openwisp with HTTPS security ? Please share details if any . Amit -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[openwisp] Differnce between Openwisp and Ansible Openwisp2

2019-08-20 Thread Amit Goyal
Hi Openwisp Team What is basic differences between openwisp and Ansible openwisp ? Right now We are using Openwisp-Controller 0.3.2 with Postgres SQL Database . How to migrate from openwisp to Ansible Openwisp ? Please provide details . Thanks In Advance Regards Amit -- You received

[openwisp] Re: trouble using PostgreSQL as a db for OpenWISP2

2019-07-29 Thread Amit Goyal
Thanks Ajay ! On Saturday, July 27, 2019 at 12:53:25 AM UTC+5:30, Ajay Tripathi wrote: > > Hello, > > On Friday, July 26, 2019 at 12:47:26 PM UTC+5:30, Amit Goyal wrote: >> >> Hi >> >> Can you share all details about PostgreSQL migration in openwisp . I al

[openwisp] Re: trouble using PostgreSQL as a db for OpenWISP2

2019-07-26 Thread Amit Goyal
Hi Can you share all details about PostgreSQL migration in openwisp . I also want to change DB from SQLite to postgresql in openwisp. Any help would be appreciated. . Thanks in advance! On Sunday, July 14, 2019 at 1:28:20 AM UTC+5:30, unracer wrote: > > Solved! Thanks a lot, Ajay! > -- You

[openwisp] Re: Openwisp Centos 7

2019-07-26 Thread Amit Goyal
Hi Thanks Ajay for prompt response ! Is there any guidance or help available for building openwisp with centos ? Regards Amit On Wednesday, July 24, 2019 at 9:53:18 AM UTC+5:30, Ajay Tripathi wrote: > > Hello, > > On Tuesday, July 23, 2019 at 3:59:44 PM UTC+5:30, Amit

Re: [openwisp] Re: [OpenWisp-AP Registration] -: Device registration from backend via API/Script

2019-07-16 Thread Amit Goyal
and ip persisitent route is added and I am able to access openwisp via http://172.18.0.2:8000 Could you please help here . On Friday, July 12, 2019 at 12:34:55 PM UTC+5:30, Amit Goyal wrote: > > Thanks a lot Federico for your help! I will start implementation as per > your sugge

Re: [openwisp] Re: [OpenWisp-AP Registration] -: Device registration from backend via API/Script

2019-07-12 Thread Amit Goyal
Thanks a lot Federico for your help! I will start implementation as per your suggestion now . Regards Amit On Thursday, July 11, 2019 at 6:22:11 PM UTC+5:30, Federico Capoano wrote: > > On Thu, Jul 11, 2019 at 3:48 AM Amit Goyal > wrote: > >> Hi Federico >> >> T

Re: [openwisp] Re: [OpenWisp-AP Registration] -: Device registration from backend via API/Script

2019-07-11 Thread Amit Goyal
isp-config/blob/master/openwisp-config/files/openwisp.agent#L123-L221 > You can use this code as a guide for what you have to do in your script. > > I hope it helps. > Federico > > On Wed, Jul 10, 2019 at 5:07 AM Amit Goyal > wrote: > >> Hi , Can someone help here ? >>

[openwisp] Re: [OpenWisp-AP Registration] -: Device registration from backend via API/Script

2019-07-10 Thread Amit Goyal
Hi , Can someone help here ? On Friday, July 5, 2019 at 4:28:50 PM UTC+5:30, Amit Goyal wrote: > > Hi > > I have requirement of registering AP in openwisp from backend. Client is > providing AP information like name , mac address etc in csv file . > We have to get all informa

[openwisp] [OpenWisp-AP Registration] -: Device registration from backend via API/Script

2019-07-05 Thread Amit Goyal
Hi I have requirement of registering AP in openwisp from backend. Client is providing AP information like name , mac address etc in csv file . We have to get all information from csv file and need to register AP using that information . Is there any API or script exist in openwisp where we

[openwisp] Re: Openwisp Device Configuration

2019-07-05 Thread Amit Goyal
Hi Federico I want to register AP in openwisp through backend API. e.g. I have AP information in csv file and want to register AP using this csv file information. Is there any API or Script exist in openwisp where I can pass all information as arguments and register AP. On Tuesday, July 10,