Re: [openwisp] Cache implementation for checksum value

2020-08-31 Thread Amit

Hi Federico

Thanks for inputs . will check same.

On Friday, August 28, 2020 at 10:09:34 PM UTC+5:30 federico...@gmail.com 
wrote:

> Hi Amit,
>
> it should be pretty easy to cache this part.
> OpenWISP uses django, the documentation for using the cache is here: 
> https://docs.djangoproject.com/en/3.1/topics/cache/
>
> I suggest opening an issue here: 
> https://github.com/openwisp/openwisp-controller/issues
>
> Best regards
> Federico Capoano
>
> On Fri, Aug 28, 2020 at 3:32 AM Amit  wrote:
>
>> Hello 
>>
>> We are getting 503 queue length full when thousands of AP get registreed 
>> at openwisp.
>> After investigation , we thought of implementing cache for checksum value 
>> .
>>
>> did anyone implement cache like memcache or dbcache for openwisp ?
>> or any other type , please share details 
>>
>> 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+u...@googlegroups.com.
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/c913d105-df10-48f5-8774-ddf090acdb3en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/c913d105-df10-48f5-8774-ddf090acdb3en%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/9b393805-75a0-41d2-823a-eccab4c68610n%40googlegroups.com.


[openwisp] Cache implementation for checksum value

2020-08-28 Thread Amit
Hello 

We are getting 503 queue length full when thousands of AP get registreed at 
openwisp.
After investigation , we thought of implementing cache for checksum value .

did anyone implement cache like memcache or dbcache for openwisp ?
or any other type , please share details 

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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/c913d105-df10-48f5-8774-ddf090acdb3en%40googlegroups.com.


[openwisp] Request Queue Full error

2020-07-14 Thread Amit
Hi 

When 3-4 Admin user start using openwisp and do same action e.g. (tagging 
of template to AP ) , we are getting below error 

*503 Service Unavailable *
* Request Queue Full *

Is there any Queue setting in openwisp ? or any thing else need to be 
modified ?

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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/85e09d9d-8dcd-4778-8630-b81668e7c371o%40googlegroups.com.


[openwisp] Re: Grouping of Device on basis of OS value or Grouping of Templates on basis of Tags

2020-07-02 Thread Amit
Hi Ajay 

Thanks for reply!

Can we add more filter like Filter By OS or filter for other fields ?

On Thursday, July 2, 2020 at 3:55:41 PM UTC+5:30, Ajay Tripathi wrote:
>
> Hi,
>
> On Thursday, July 2, 2020 at 12:56:02 PM UTC+5:30, Amit wrote:
>
>>  Let's say there are 10 devices of OS type 'X' and 10 devices of OS type 
>> 'Y'. Can it be group on basis on OS value and display in openwisp ?
>>
>
> I don't think it's possible but I'll defer to someone else. 
>
>>
>> Also Can template be grouped on basis of Tag value ? 
>>
>
> I don't think there is group by template option either. Don't know if 
> it'll help but I use filter by template at times, if you look at the right 
> hand side of the device list page, you should see filter by template 
> option, if in the example image[1], I click "dual radio", I would see 
> devices with "dual radio" template.
>
>
> Ajay
>
> ---
>
> Ref:
> [1]: https://i.imgur.com/Rj9kKrr.png
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/39473f94-4eb7-4b8c-8fd7-40492019b04do%40googlegroups.com.


[openwisp] Grouping of Device on basis of OS value or Grouping of Templates on basis of Tags

2020-07-02 Thread Amit
Hi Federico 

Could you please suggest on below requirement. 

 Let's say there are 10 devices of OS type 'X' and 10 devices of OS type 
'Y'. Can it be group on basis on OS value and display in openwisp ? 

Also Can template be grouped on basis of Tag value ? 

Thanks in advance!

Regards
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/f6d3adab-2422-45ed-8011-92c0ba706d35o%40googlegroups.com.


Re: [openwisp] Multi tenancy in openwisp controller

2020-06-24 Thread Amit
Ok Thanks Federico . I will check 

On Tuesday, June 23, 2020 at 9:26:17 PM UTC+5:30, Federico Capoano wrote:
>
> 0.3.2 is a version from more than 2 years ago 
> <https://github.com/openwisp/openwisp-controller/blob/master/CHANGES.rst#version-032-2018-02-19>,
>  
> I'm not sure if this worked already at that time, it should have, but that 
> depends also on eventual customizations that have been made impacting the 
> functionality. 
> <https://github.com/openwisp/openwisp-controller/blob/master/CHANGES.rst#version-032-2018-02-19>
>
> What you say should work out of the box with the latest version of 
> openwisp-controller, you can verify yourself by quickly setting up a dev 
> env install for openwisp-controller 
> <https://github.com/openwisp/openwisp-controller#installing-for-development>
> .
>
> Try creating another org, create two non superuser, give them operator 
> role and assign one to the first org and another one to the second. Any 
> template and device you will create for each org will then only be visible 
> to one user and not to the other. 
>
> Cheers
> Federico 
>
> On Tue, Jun 23, 2020 at 4:34 AM Prithvi Star  > wrote:
>
>> Hello Noumbissi 
>>
>> Thanks for reply !
>> Can you please share more details ? How it can be integrated with 0.3.2 
>> version ?
>>
>> On Tuesday, June 23, 2020 at 2:46:09 PM UTC+5:30, Noumbissi Valere wrote:
>>>
>>> Hello Amit,
>>> Yes there is
>>>
>>> On Tue, Jun 23, 2020, 9:40 AM Prithvi Star  wrote:
>>>
>>>> Hi 
>>>>
>>>> After using successfully openwisp-controller , my team wants to 
>>>> implement multi-tenancy where landing page should display only 
>>>> template/devices belong to organization that current user belong . 
>>>> Is there any such implementation available or can be implemented for 
>>>> openwisp ? Presently we are using 
>>>> https://github.com/openwisp/openwisp-controller/tree/0.3.2 version . 
>>>>
>>>> Thanks 
>>>> Regards
>>>> 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 open...@googlegroups.com.
>>>> To view this discussion on the web, visit 
>>>> https://groups.google.com/d/msgid/openwisp/474b137b-1743-4f53-a6af-dadcfec9b265o%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/openwisp/474b137b-1743-4f53-a6af-dadcfec9b265o%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/660bf9c0-58d9-4a35-8bad-9a68484647a3o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/660bf9c0-58d9-4a35-8bad-9a68484647a3o%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/dba46d38-8a59-4a60-a775-9cbdf599bd39o%40googlegroups.com.


[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', '$OPENWISP_ADMIN_PASS')" | python3 
/home/openwisp/manage.py shell

Is something same solution or any scripts possible which can be used for 
changing password of particular user ?

Thanks In Advance! 

Regards
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/0dd190c2-0716-4995-879b-5a8732ed2b3e%40googlegroups.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 this module too (Network Device Credentials ) like 
>> enabled for other module Device Registration , Template creation ! 
>>
>> By API , We can push any conflagration to AP automatically 
>>
>>
> There's no built in API for this feature yet but you can easily build your 
> own using Django REST Framework <https://www.django-rest-framework.org/>. 
>
> Soon we'll start adding a built-in REST API for the main objects in the 
> system but I can't provide a timeline for this yet.
>
> F.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/b7ddd268-41cb-4cc1-9741-b4047f6768d6%40googlegroups.com.


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

2020-03-20 Thread Amit Goyal
Hi Oliver 

Thanks for prompt reply. 

Where I can find "Network Device Credentials" in openwisp ? 

Regards
Amit

On Friday, March 20, 2020 at 1:07:43 PM UTC+5:30, Oliver Kraitschy wrote:
>
> Hello Amit, 
>
> openwisp-controller has a connections feature which allows to push the 
> configuration to a device. 
> Under "Network Device Credentials" you need to define credentials which 
> are 
> then used to connect to the devices via SSH to push the configuration. 
>
> For the connections feature it's also necessary that a celery worker is 
> 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: 
> > 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 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 open...@googlegroups.com . 
> > To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/openwisp/71d2e803-3bc7-4cff-829b-591f5e9a0e6b%40googlegroups.com.
>  
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/a33b3216-8408-44fc-ac16-be9d17638fef%40googlegroups.com.


[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 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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/71d2e803-3bc7-4cff-829b-591f5e9a0e6b%40googlegroups.com.


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

2020-03-20 Thread Amit Goyal
Hello Oliver 

Thanks for sharing information !

It mean , we should keep USE_TZ = False in case database is Postgresql , 
Right 

Thanks 
Amit

On Thursday, March 19, 2020 at 1:57:00 PM UTC+5:30, Oliver Kraitschy wrote:
>
> Hello Amit, 
>
> see the explanation in the django documentation: 
>
> 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, 2020 at 01:20:07AM -0700, Amit Goyal wrote: 
> > 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 and stop receiving emails from it, send 
> an email to open...@googlegroups.com . 
> > To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/openwisp/18c4e5d9-a299-41ee-990e-29b73dae3e54%40googlegroups.com.
>  
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/55182b09-0a0a-4c42-97e7-2537963c8beb%40googlegroups.com.


[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 and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/18c4e5d9-a299-41ee-990e-29b73dae3e54%40googlegroups.com.


Re: [openwisp] Enable API for config_config_templates table

2019-12-20 Thread Amit Goyal
ok thanks Federico ! I will look into this

On Friday, December 20, 2019 at 2:40:35 PM UTC+5:30, Federico Capoano wrote:
>
> Hi Amit,
>
> Templates have a many2many relationship to config. The intermediate table 
> which keeps track of how many config objects a template is assigned to does 
> not have a model defined, because in most cases it's not needed and it's 
> handled automatically by django, except some special cases in which 
> additional fields need to be added to this intermediate table (we have a 
> few of those as well).
>
> You'll still be able 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 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 in base* 
>> https://github.com/openwisp/django-netjsonconfig/tree/master/django_netjsonconfig/base
>>  
>> <https://github.com/openwisp/django-netjsonconfig/tree/master/django_netjsonconfig/base>
>>  *, 
>> No base class mentioned for this class .
>>
>> Can you please suggest what need to be done for enabling api for this 
>> table . Please share if any reference . 
>>
>> Thanks
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/057c0c9d-de37-4c8e-80a0-470dfea3a496%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/057c0c9d-de37-4c8e-80a0-470dfea3a496%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/dcd84ee2-3042-44cd-bff2-a6ba18f3a098%40googlegroups.com.


[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 in base* 
https://github.com/openwisp/django-netjsonconfig/tree/master/django_netjsonconfig/base
 
<https://github.com/openwisp/django-netjsonconfig/tree/master/django_netjsonconfig/base>
 *, 
No base class mentioned for this class .

Can you please suggest what need to be done for enabling api for this table 
. Please share if any reference . 

Thanks
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/057c0c9d-de37-4c8e-80a0-470dfea3a496%40googlegroups.com.


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

2019-10-04 Thread Amit Goyal
Thanks Federico 

But I am very new to Django framework and could not create command 
for OrganizationConfigSettings
It would be very helpful if someone can provide complete command 
for OrganizationConfigSettings in model.py. 

On Thursday, October 3, 2019 at 7:35:59 PM UTC+5:30, Federico Capoano 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 am able to create organnization but my final goal was to create 
>> shared_secret with organization .
>> Actually there are two 
>> tables openwisp_users_organization, config_organizationconfigsettings where 
>> shared_secret get created in config_organizationconfigsettings table with 
>> mapping of organization id from openwisp_users_organization table . 
>>
>> Do you have idea how can we create entry in 
>> config_organizationconfigsettings once get created in 
>> openwisp_users_organization ?
>>
>> Thanks in Advance!
>>
>> Regards
>> Amit
>>
>> On Thursday, October 3, 2019 at 12:23:21 PM UTC+5:30, Noumbissi Valere 
>> wrote:
>>>
>>> If you wish to use that method, then we have to access the 
>>> `openwisp_users.models`. therefore, your script will look something like 
>>> this;
>>> *from openwisp_users.models import Organization; 
>>> Organization.objects.create(name='name_of_organization', 
>>> description='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 Amit Goyal  wrote:
>>>
>>>> Sorry I could not see any ! 
>>>>
>>>> Is there way to create custom organization like create super user with 
>>>> below script 
>>>>
>>>> *from django.contrib.auth import get_user_model; User = 
>>>> get_user_model(); User.objects.create_superuser('admin', 'ad...@test.com', 
>>>> 'admin')" | python3 /home/openwisp/manage.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 for replying !
>>>>>>
>>>>>> Where it is created ? I cannot see any default organisation in table 
>>>>>> openwisp_users_organization.
>>>>>> We want to fixed the secret key for that organisation! 
>>>>>>
>>>>>> On Thursday, October 3, 2019 at 11:06:00 AM UTC+5:30, Noumbissi 
>>>>>> Valere wrote:
>>>>>>>
>>>>>>> Hello 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 
>>>>>>>> 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 unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to open...@googlegroups.com.
>>>>>>>> To view this discussion on the web, visit 
>>>>>>>> https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid

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

2019-10-03 Thread Amit Goyal
Hi Noumbissi 

I am able to create organnization but my final goal was to create 
shared_secret with organization .
Actually there are two 
tables openwisp_users_organization, config_organizationconfigsettings where 
shared_secret get created in config_organizationconfigsettings table with 
mapping of organization id from openwisp_users_organization table . 

Do you have idea how can we create entry in 
config_organizationconfigsettings once get created in 
openwisp_users_organization ?

Thanks in Advance!

Regards
Amit

On Thursday, October 3, 2019 at 12:23:21 PM UTC+5:30, Noumbissi Valere 
wrote:
>
> If you wish to use that method, then we have to access the 
> `openwisp_users.models`. therefore, your script will look something like 
> this;
> *from openwisp_users.models import Organization; 
> Organization.objects.create(name='name_of_organization', 
> description='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 Amit Goyal  > wrote:
>
>> Sorry I could not see any ! 
>>
>> Is there way to create custom organization like create super user with 
>> below script 
>>
>> *from django.contrib.auth import get_user_model; User = get_user_model(); 
>> User.objects.create_superuser('admin', 'ad...@test.com ', 
>> 'admin')" | python3 /home/openwisp/manage.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 for replying !
>>>>
>>>> Where it is created ? I cannot see any default organisation in table 
>>>> openwisp_users_organization.
>>>> We want to fixed the secret key for that organisation! 
>>>>
>>>> On Thursday, October 3, 2019 at 11:06:00 AM UTC+5:30, Noumbissi Valere 
>>>> wrote:
>>>>>
>>>>> Hello 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 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 unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to open...@googlegroups.com.
>>>>>> To view this discussion on the web, visit 
>>>>>> https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com?utm_medium=email_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> 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 open...@googlegroups.com.
>>>> To view this discussion on the web, visit 
>>>> https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/5ba5e7f4-ed0e-4047-a004-21f9e00b09b8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/5ba5e7f4-ed0e-4047-a004-21f9e00b09b8%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>
>
> -- 
> Noumbissi Valere
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/dfa02ac0-b20a-4335-8c58-2fec3fbaff69%40googlegroups.com.


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

2019-10-03 Thread Amit Goyal
Yes , I want to use this method only ! thanks 
Can we provide key also with name , description in this method ? 

On Thursday, October 3, 2019 at 12:23:21 PM UTC+5:30, Noumbissi Valere 
wrote:
>
> If you wish to use that method, then we have to access the 
> `openwisp_users.models`. therefore, your script will look something like 
> this;
> *from openwisp_users.models import Organization; 
> Organization.objects.create(name='name_of_organization', 
> description='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 Amit Goyal  > wrote:
>
>> Sorry I could not see any ! 
>>
>> Is there way to create custom organization like create super user with 
>> below script 
>>
>> *from django.contrib.auth import get_user_model; User = get_user_model(); 
>> User.objects.create_superuser('admin', 'ad...@test.com ', 
>> 'admin')" | python3 /home/openwisp/manage.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 for replying !
>>>>
>>>> Where it is created ? I cannot see any default organisation in table 
>>>> openwisp_users_organization.
>>>> We want to fixed the secret key for that organisation! 
>>>>
>>>> On Thursday, October 3, 2019 at 11:06:00 AM UTC+5:30, Noumbissi Valere 
>>>> wrote:
>>>>>
>>>>> Hello 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 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 unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to open...@googlegroups.com.
>>>>>> To view this discussion on the web, visit 
>>>>>> https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com?utm_medium=email_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> 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 open...@googlegroups.com.
>>>> To view this discussion on the web, visit 
>>>> https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/5ba5e7f4-ed0e-4047-a004-21f9e00b09b8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/5ba5e7f4-ed0e-4047-a004-21f9e00b09b8%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>
>
> -- 
> Noumbissi Valere
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/ea83ff6f-cd3a-46d6-9762-dfd23892427b%40googlegroups.com.


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

2019-10-03 Thread Amit Goyal
Sorry I could not see any ! 

Is there way to create custom organization like create super user with 
below script 

*from django.contrib.auth import get_user_model; User = get_user_model(); 
User.objects.create_superuser('admin', 'ad...@test.com', 'admin')" | 
python3 /home/openwisp/manage.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 for replying !
>>
>> Where it is created ? I cannot see any default organisation in table 
>> openwisp_users_organization.
>> We want to fixed the secret key for that organisation! 
>>
>> On Thursday, October 3, 2019 at 11:06:00 AM UTC+5:30, Noumbissi Valere 
>> wrote:
>>>
>>> Hello 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 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 unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to open...@googlegroups.com.
>>>> To view this discussion on the web, visit 
>>>> https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/5ba5e7f4-ed0e-4047-a004-21f9e00b09b8%40googlegroups.com.


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

2019-10-02 Thread Amit Goyal
Hi Noumbissi

Thanks for replying !

Where it is created ? I cannot see any default organisation in table 
openwisp_users_organization.
We want to fixed the secret key for that organisation! 

On Thursday, October 3, 2019 at 11:06:00 AM UTC+5:30, Noumbissi Valere 
wrote:
>
> Hello 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 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 unsubscribe from this group and stop receiving emails from it, send an 
>> email to open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com.


[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 unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com.


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

2019-09-06 Thread Amit Goyal
Hi

For testing purpose ,  I made direct changes in container.
In container , following file need to be changed.

*/usr/local/lib/python3.6/site-packages/openwisp_controller/config/admin.py*

On Wednesday, September 4, 2019 at 5:53:16 PM UTC+5:30, 2stacks wrote:
>
> How did you add the file in the container?   Did you rebuild the container?
>
> On Wed, Sep 4, 2019, 3:06 AM Noumbissi Valere  > wrote:
>
>> Hello Amit,
>>
>> did the openwisp-controller restart without any errors? and is the normal 
>> flow of adding new devices working without any errors? 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
>>>
>>> Thanks for your help.
>>>
>>>
>>> I have updated * /usr/src/app/openwisp_controller/config/admin.py*  inside 
>>> openwisp container as below but changes are not reflecting on UI side even 
>>> after openwisp restart.
>>>
>>> //Added template_field in DeviceAdmin
>>>
>>> class DeviceAdmin(MultitenantAdminMixin, AbstractDeviceAdmin):
>>> inlines = [ConfigInline]
>>> list_filter = [('organization', MultitenantOrgFilter),
>>>'config__backend',
>>>('config__templates', MultitenantRelatedOrgFilter),
>>>'config__status',
>>>'created','*template_field*']
>>>
>>> //add it to list_display
>>>
>>>  def template_field(self, obj):
>>> template_names = []
>>> if obj:
>>> config = Config.objects.get(device=obj)
>>> templates = config.templates.all()
>>> 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')
>>>
>>>
>>> Please let me know what need to be done to get it displayed at UI side . 
>>>
>>>
>>>
>>> On Thursday, August 29, 2019 at 4:11:39 PM UTC+5:30, Noumbissi Valere 
>>> wrote:
>>>>
>>>> Hello Amit,
>>>>
>>>> The relationship between Device and Template is found in the Config 
>>>> model.
>>>> You can add a custom  modelAdmin field to the DeviceAdmin found in 
>>>> openwisp_controller.config.admin.py file.
>>>> once you've created your custom field, you can then add it to the 
>>>> list_display by appending it to the DeviceAdmin.list_display. 
>>>> something like this,
>>>>
>>>> def template_field(self, obj):
>>>> template_names = []
>>>> if obj:
>>>> config = Config.objects.get(device=obj)
>>>> templates = config.templates.all()
>>>> 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, 
>>>>
>>>>
>>>>
>>>> On Thu, Aug 29, 2019 at 10:19 AM Amit Goyal  wrote:
>>>>
>>>>> 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 change to display new field template in device table 
>>>>>
>>>>> Can someone let me know where all I need to make change in 
>>>>> openwisp-controller 3.2 to implement this requirement 
>>>>>
>>>>> Device Table-: Template new field to be added.
>>>>>
>>>>>
>>>>> [image: openwisp.jpg]
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Go

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

2019-09-04 Thread Amit Goyal
Hello Noumbissi

Sorry by mistake I have added one more text , that's why it was not working 
.
removed extra text  and update code. It's working now. 

Thanks a lot for your help ! 

On Wednesday, September 4, 2019 at 12:36:54 PM UTC+5:30, Noumbissi Valere 
wrote:
>
> Hello Amit,
>
> did the openwisp-controller restart without any errors? and is the normal 
> flow of adding new devices working without any errors? 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
>>
>> Thanks for your help.
>>
>>
>> I have updated * /usr/src/app/openwisp_controller/config/admin.py*  inside 
>> openwisp container as below but changes are not reflecting on UI side even 
>> after openwisp restart.
>>
>> //Added template_field in DeviceAdmin
>>
>> class DeviceAdmin(MultitenantAdminMixin, AbstractDeviceAdmin):
>> inlines = [ConfigInline]
>> list_filter = [('organization', MultitenantOrgFilter),
>>'config__backend',
>>('config__templates', MultitenantRelatedOrgFilter),
>>'config__status',
>>'created','*template_field*']
>>
>> //add it to list_display
>>
>>  def template_field(self, obj):
>> template_names = []
>> if obj:
>> config = Config.objects.get(device=obj)
>> templates = config.templates.all()
>> 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')
>>
>>
>> Please let me know what need to be done to get it displayed at UI side . 
>>
>>
>>
>> On Thursday, August 29, 2019 at 4:11:39 PM UTC+5:30, Noumbissi Valere 
>> wrote:
>>>
>>> Hello Amit,
>>>
>>> The relationship between Device and Template is found in the Config 
>>> model.
>>> You can add a custom  modelAdmin field to the DeviceAdmin found in 
>>> openwisp_controller.config.admin.py file.
>>> once you've created your custom field, you can then add it to the 
>>> list_display by appending it to the DeviceAdmin.list_display. 
>>> something like this,
>>>
>>> def template_field(self, obj):
>>> template_names = []
>>> if obj:
>>> config = Config.objects.get(device=obj)
>>> templates = config.templates.all()
>>> 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, 
>>>
>>>
>>>
>>> On Thu, Aug 29, 2019 at 10:19 AM Amit Goyal  wrote:
>>>
>>>> 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 change to display new field template in device table 
>>>>
>>>> Can someone let me know where all I need to make change in 
>>>> openwisp-controller 3.2 to implement this requirement 
>>>>
>>>> Device Table-: Template new field to be added.
>>>>
>>>>
>>>> [image: openwisp.jpg]
>>>>
>>>> -- 
>>>> 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 open...@googlegroups.com.
>>>> To view this discussion on the web, visit 
>>>> https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/07d8e449-1445-4aeb-89f9-1bcac3e2e2ee%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/07d8e449-1445-4aeb-89f9-1bcac3e2e2ee%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/922a1f60-7234-4b04-ac03-fd13cd25e9a1%40googlegroups.com.


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

2019-09-04 Thread Amit Goyal
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 reflecting on UI side even 
after openwisp restart.

//Added template_field in DeviceAdmin

class DeviceAdmin(MultitenantAdminMixin, AbstractDeviceAdmin):
inlines = [ConfigInline]
list_filter = [('organization', MultitenantOrgFilter),
   'config__backend',
   ('config__templates', MultitenantRelatedOrgFilter),
   'config__status',
   'created','*template_field*']

//add it to list_display

 def template_field(self, obj):
template_names = []
if obj:
config = Config.objects.get(device=obj)
templates = config.templates.all()
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')


Please let me know what need to be done to get it displayed at UI side . 



On Thursday, August 29, 2019 at 4:11:39 PM UTC+5:30, Noumbissi Valere wrote:
>
> Hello Amit,
>
> The relationship between Device and Template is found in the Config model.
> You can add a custom  modelAdmin field to the DeviceAdmin found in 
> openwisp_controller.config.admin.py file.
> once you've created your custom field, you can then add it to the 
> list_display by appending it to the DeviceAdmin.list_display. 
> something like this,
>
> def template_field(self, obj):
> template_names = []
> if obj:
> config = Config.objects.get(device=obj)
> templates = config.templates.all()
> 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, 
>
>
>
> On Thu, Aug 29, 2019 at 10:19 AM Amit Goyal  > wrote:
>
>> 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 change to display new field template in device table 
>>
>> Can someone let me know where all I need to make change in 
>> openwisp-controller 3.2 to implement this requirement 
>>
>> Device Table-: Template new field to be added.
>>
>>
>> [image: openwisp.jpg]
>>
>> -- 
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/07d8e449-1445-4aeb-89f9-1bcac3e2e2ee%40googlegroups.com.


[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 change to display new field template in device table 

Can someone let me know where all I need to make change in 
openwisp-controller 3.2 to implement this requirement 

Device Table-: Template new field to be added.


[image: openwisp.jpg]

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com.


Re: [openwisp] openwisp with HTTPS

2019-08-29 Thread Amit Goyal
Thanks Federico ! 

On Tuesday, August 27, 2019 at 8:02:50 AM UTC+5:30, Federico Capoano wrote:
>
> When using ansible-openwisp2, OpenWISP is run on HTTPs by default.
>
> If you deploy it on your own, you have to use an application server like 
> Oliver pointed out and configure 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 .
>>
>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/a7e9d5c3-0f05-4bfa-95b1-496c4f6530b6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/a7e9d5c3-0f05-4bfa-95b1-496c4f6530b6%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/494d5b3e-95ca-4ae8-8c65-dbc08df1dc51%40googlegroups.com.


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 details if any . 
> > 
> > Amit 
>
> Hello Amit, 
>
> OpenWISP is based on the Django web framework which means that you can use 
> the common setups used to run Django applications. 
>
> For example, I use Gunicorn as the application http server and nginx as 
> the reverse proxy with SSL enabled.. 
>
> Greetings, 
>
> Oliver 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/02375bb9-dabd-422d-8f87-c52f08ef99fb%40googlegroups.com.


[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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/a7e9d5c3-0f05-4bfa-95b1-496c4f6530b6%40googlegroups.com.


[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 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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/c91998b8-ff74-4532-9f22-ccbaa27407d0%40googlegroups.com.


[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 also 
>> want to change DB from SQLite to postgresql in openwisp.
>>
>
> If you are using ansible-openwisp2, you can find the options here: 
> https://github.com/openwisp/ansible-openwisp2#role-variables
> The database options look like:
>   openwisp2_database:
> engine: django.db.backends.postgresql
> name: openwisp2
> user: postgres
> password: ""
> host: ""
> port: ""
> options: {}
>
>
> Best,
> Ajay Tripathi
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/6cf4332b-143a-49c8-be28-827b6ca16817%40googlegroups.com.


[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 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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/e322ba95-ea8a-4c1a-8b45-8e5d7ae3b1f4%40googlegroups.com.


[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 Goyal wrote:
>>
>>
>> Does Openwisp support centos 7 based docker image also ? if yes please 
>> share details .
>>
>
> Currently we only have alpine based images and the alpine images are under 
> development right now. :-) 
>
>
> Best,
> Ajay Tripathi
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/3a69c5e5-0e20-4100-bf22-506225dca7e1%40googlegroups.com.


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

2019-07-16 Thread Amit Goyal
Hi Federico 

Need your help again !

I have registered device by calling http://172.18.0.x:8000/controller/register/ 
with information as secret , name , backend , mac_address . 

device registred successfully with below response 

registration-result: success
uuid: de029013b6e848b29b52c17ccb7c6dca
key: 8hrvy4fFYzvwTN0IRhvVl6bGQCQTHRhB
hostname: openwrt2
is-new: 1

But last IP is getting updated wrong.  it is updating gateway ip always not 
device ip. 
for example if device ip is 172.18.0.3 or 172.18.0.4  , it always take 
172.18.0.1 
as last ip . 
My openwisp is running on docker window 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 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 
>>>
>>> Thanks for providing so details answer. Sure it will help me .
>>>
>>> One more query -: *Can we register device only with MAC address 
>>> information* ? If we do device registration using HTTP resource , 
>>> minimum information required is UUID and KEY or Shared_Secret . 
>>>
>>> Client does want to share shared_secret due to security reason and  UUID 
>>> & Key is generated by Openwisp itself .  Is there way we can generate UUID 
>>> & Key using Device Mac Address ? 
>>>
>>
>> Not at the moment, but regarding the key, when using "consistent key 
>> generation 
>> <https://github.com/openwisp/openwisp-config#consistent-key-generation>", 
>> which is enabled by default, the key is generated consistently according to 
>> the mac address and the shared secret.
>> It means that the key is always the same for the same device. So if the 
>> device flash is reset and it registers again it will use the same DB object.
>>
>> If you want to generate your own UUID and keys, instead of using the HTTP 
>> resource you have to use the Django ORM to create Device and Config objects 
>> manually, depends on your experience with django, for someone who has some 
>> experience with Django and the django ORM, doing this is almost trivial, 
>> you just need to understand how the base models of openwisp-controller work.
>>
>> Best regards
>> Federico
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/cc293f44-ea34-433c-af3e-9131f135c07f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 
>>
>> Thanks for providing so details answer. Sure it will help me .
>>
>> One more query -: *Can we register device only with MAC address 
>> information* ? If we do device registration using HTTP resource , 
>> minimum information required is UUID and KEY or Shared_Secret . 
>>
>> Client does want to share shared_secret due to security reason and  UUID 
>> & Key is generated by Openwisp itself .  Is there way we can generate UUID 
>> & Key using Device Mac Address ? 
>>
>
> Not at the moment, but regarding the key, when using "consistent key 
> generation 
> <https://github.com/openwisp/openwisp-config#consistent-key-generation>", 
> which is enabled by default, the key is generated consistently according to 
> the mac address and the shared secret.
> It means that the key is always the same for the same device. So if the 
> device flash is reset and it registers again it will use the same DB object.
>
> If you want to generate your own UUID and keys, instead of using the HTTP 
> resource you have to use the Django ORM to create Device and Config objects 
> manually, depends on your experience with django, for someone who has some 
> experience with Django and the django ORM, doing this is almost trivial, 
> you just need to understand how the base models of openwisp-controller work.
>
> Best regards
> Federico
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/137b887f-fb47-41a4-9c19-1db735681b23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-07-11 Thread Amit Goyal
Hi Federico 

Thanks for providing so details answer. Sure it will help me .

One more query -: *Can we register device only with MAC address information* 
? If we do device registration using HTTP resource , minimum information 
required is UUID and KEY or Shared_Secret . 

Client does want to share shared_secret due to security reason and  UUID & 
Key is generated by Openwisp itself .  Is there way we can generate UUID & 
Key using Device Mac Address ? 

Thanks for advance ! 

Regards
Amit 

On Wednesday, July 10, 2019 at 6:41:56 PM UTC+5:30, Federico Capoano wrote:
>
> There's no tool already made for this use case, but you could write a 
> script which reads the csv and for each row uses the device registration 
> HTTP resource of openwisp-controller to register the device using the 
> shared secret of the specific organization you want the device to register 
> to (or have the shared secret part of the csv if you want to register 
> devices for multiple organizations using this strategy).
>
> This is the shell code used by the openwisp-config deamon on OpenWRT to 
> register a device:
>
> https://github.com/openwisp/openwisp-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 ? 
>>
>> 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 information from csv file and need to register AP 
>>> using that information . 
>>> Is there any API or script exist in openwisp where we can pass these 
>>> information as arguments and register AP in openwisp.
>>>
>>> Regards
>>> 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 open...@googlegroups.com .
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/7d5041cb-d141-46e2-b27f-23110b250a19%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/7d5041cb-d141-46e2-b27f-23110b250a19%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/bedc0f80-1e46-44a7-912b-3bc18aead8d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 information from csv file and need to register AP using 
> that information . 
> Is there any API or script exist in openwisp where we can pass these 
> information as arguments and register AP in openwisp.
>
> Regards
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/7d5041cb-d141-46e2-b27f-23110b250a19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 can pass these 
information as arguments and register AP in openwisp.

Regards
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/e8e7a525-c5b8-417b-b687-21a0a78dc058%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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, 2018 at 6:59:11 PM UTC+5:30, stefania fratto wrote:
>
> Hi Federico, 
> I'm configuring my AP with Openwisp, and I want to register my device 
> automatically in the Openwisp controller (which is already installed and it 
> works), but I cannot complete the registration of the device. 
> When I try to configure the openwisp file in /etc/config/ I've this output:
>
> Tue Jul 10 13:02:51 2018 daemon.info openwisp: Registering device...
> Tue Jul 10 13:02:52 2018 daemon.err openwisp: Registration failed! error: 
> unrecognized secret
> Tue Jul 10 13:02:57 2018 daemon.info openwisp: Registering device...
> Tue Jul 10 13:02:57 2018 daemon.err openwisp: Registration failed! error: 
> unrecognized secret
> Tue Jul 10 13:03:02 2018 daemon.info openwisp: Registering device...
> Tue Jul 10 13:03:03 2018 daemon.err openwisp: Registration failed! error: 
> unrecognized secret
> Tue Jul 10 13:03:08 2018 daemon.info openwisp: Registering device...
> Tue Jul 10 13:03:09 2018 daemon.err openwisp: Registration failed! error: 
> unrecognized secret
> Tue Jul 10 13:03:09 2018 daemon.info procd: Instance 
> openwisp_config::instance1 s in a crash loop 6 crashes, 1 seconds since 
> last crash
> Tue Jul 10 13:04:56 2018 daemon.info openwisp: OpenWISP config agent 
> started
> Tue Jul 10 13:04:56 2018 daemon.info openwisp: Registering device...
> Tue Jul 10 13:04:57 2018 daemon.err openwisp: Registration failed! error: 
> unrecognized secret
> Tue Jul 10 13:06:16 2018 daemon.info openwisp: OpenWISP config agent 
> stopping
> Tue Jul 10 13:06:19 2018 daemon.info openwisp: OpenWISP config agent 
> started
> Tue Jul 10 13:06:19 2018 daemon.info openwisp: Registering device...
> Tue Jul 10 13:06:19 2018 daemon.err openwisp: Registration failed! error: 
> unrecognized secret
>
> I don't understand if I forget anything in the initial configuration. This 
> is my configuration file:
>
> config controller 'http'
> option url 'https://openwisp2.localiving.it'
> #option interval '120'
> option verify_ssl '0'
> option shared_secret 'L0c4l1v1ng123'
> option consistent_key '1'
> option mac_interface 'eth0.2'
> #option merge_config '1'
> #option test_config '1'
> #option test_script '/usr/sbin/mytest'
> option uuid ''
> option key '7URB2bCK7nOxwHgrohqsl6ySFsJC4k96JXffoLAV+j8='
> list unmanaged 'system.@led'
> list unmanaged 'network.loopback'
> list unmanaged 'network.@switch'
> list unmanaged 'network.@switch_vlan'
> # curl options
> #option connect_timeout '15'
> #option max_time '30'
> #option capath '/etc/ssl/certs'
> #option cacert '/etc/ssl/certs/ca-certificates.crt'
> # hooks
> #option pre_reload_hook '/usr/sbin/my_pre_reload_hook'
>
> Another question is : Is correct to suppose that the key option value is 
> the shared-key which is stored in the cache of the device?
> My device is a TP-link tl-wr841n v.13.
> My apologies for my english.
>
> Thanks,
>
> Stefania Fratto 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/189e4468-5d26-4876-bfc6-d6511af7b887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[openwisp] How get selected as GSoC 2018 student

2018-02-13 Thread Amit Kumar Singh
Hello All,

I am very happy as OpenWISP is selected as GSoC 2018 organization.
Few months back I tried to apply for Google Code-In but I got late and due 
to this I was not selected.
And this time I have GSoC and I really don't to let this opportunity go. It 
would be great if someone 
could help me to know how to get selected as GSoC 2018 student. 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[openwisp] Re: Google Code-In: Mentors wanted

2017-11-03 Thread AMIT KUMAR JAISWAL
Hi Federico,

I'm interested in mentoring for Google Code-In 2017 in OpenWISP. I am a 
Google Summer of Code'17 Student with Cloud Native Computing Foundation and 
a Mozilla Representative working on different open source projects across 
Cloud Computing, Machine Learning and Blockchain/Ethereum.

I can commit 6-8 hrs/week for a single task and can strech my commitment 
beyond this if mentoring multiple tasks (as per the requirements).

Cheers
Amit Kumar Jaiswal

On Wednesday, October 18, 2017 at 5:36:02 PM UTC+5:30, Federico Capoano 
wrote:
>
> Hi everyone,
>
> we are thinking about applying to the Google Code-In program 
> <https://codein.withgoogle.com/>, which is a program aimed at teenagers 
> and could be an incredible chance of growth for our community.
>
> Growing the community around OpenWISP and its related software components 
> is vital to improve the project: the more contributors we have, the easier 
> it will be to add features, fix bugs and find collaborators that can work 
> part or full time on paid projects.
>
> The Google Code-In program runs between December and January and works 
> very differently than the Google Summer of Code: the period is shorter but 
> more intense because many students pour in to work on many different small 
> tasks (we are talking about a minimum of 150 tasks that range from fixing 
> bugs, designing logos, t-shirts or website components, writing 
> documentation or tutorial and even testing and research) and ask a lot of 
> questions which need to be answered *FAST*.
> This is by no means a small effort and that is why it's important to have 
> at least 10 mentors for each org.
> If you want to start helping and contributing actively to OpenWISP, this 
> is the right time!
> If I won't find enough mentors to help me with this task I might be forced 
> to give up the idea because I'm too busy with the development of new 
> features in OpenWISP.
>
> If you are interested do not hesitate to ask questions here or in chat.
>
> Federico
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.