Re: [openwisp] using device context with static ip definition

2020-02-05 Thread João Henrique Albuquerque
Thanks for the pointers, Oliver. I'll look into it later Em qua., 5 de fev. de 2020 às 17:39, Oliver Kraitschy escreveu: > On Wed, Feb 05, 2020 at 05:15:43PM -0300, João Henrique Albuquerque wrote: > > > > About the signal on device creation, I should probably do it under the DB > > I'm using,

Re: [openwisp] using device context with static ip definition

2020-02-05 Thread Oliver Kraitschy
On Wed, Feb 05, 2020 at 05:15:43PM -0300, João Henrique Albuquerque wrote: > > About the signal on device creation, I should probably do it under the DB > I'm using, right? > E.g, when a new entry is made to the config_device tables update the field > with context straight to the backend of the ap

Re: [openwisp] using device context with static ip definition

2020-02-05 Thread João Henrique Albuquerque
Thanks for the suggestions, Is there any documentation that you could help me get started with openwisp-ipam? About the signal on device creation, I should probably do it under the DB I'm using, right? E.g, when a new entry is made to the config_device tables update the field with context straigh

Re: [openwisp] using device context with static ip definition

2020-02-05 Thread Federico Capoano
There's no out of the box solution to this yet. The simplest custom solution I can think of is to hook a signal on device creation which fills the context field accordingly. An even better solution could be to add openwisp-ipam to the instance, creating an ip each time and getting the first availa

[openwisp] using device context with static ip definition

2020-02-05 Thread João Henrique Albuquerque
Hi I'd like to know if is possible to use and device context to automactic increment my devices IP address for local area networks (LAN) when device subscribes to the controller. I would like to acheive the following: 1) Device subscribes to the controller and get the config from templates (la

Re: [openwisp] Re: Assistance Requiered - Openwisp

2020-02-05 Thread badr abhir
Hello again , this is an existing instance Regarding python i am using python3.6.9 Le mer. 5 févr. 2020 à 12:58, Federico Capoano a écrit : > Looks like some version mismatch is happening. > Was this an existing instance or a new one? > > PS: you're using python2 which is officially dead >

[openwisp] Re: Assistance Requiered - Openwisp

2020-02-05 Thread Federico Capoano
Looks like some version mismatch is happening. Was this an existing instance or a new one? PS: you're using python2 which is officially dead . I suggest you to upgrade to a system which has python3 by default. Federico -- You received this message because you are subs