openwisp / django-netjsongraph

Network Topology Visualizer & Network Topology Collector
MIT License
141 stars 64 forks source link

[feature] Topology history #49

Closed rohithasrk closed 7 years ago

rohithasrk commented 7 years ago

References #32. As of now, I've just added a Snapshot model and starting working on save_snapshot function.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.6%) to 97.351% when pulling 74c94c51389626bfd770d30a542c569e35e8f35d on rohithasrk:topology-history into ba51a6fe9e7f19127bec47487d839a053e610713 on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-3.7%) to 96.284% when pulling 07b1e7342d5df0ff3d9bd53805d09e92bf3e8e13 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-4.3%) to 95.666% when pulling cc07515b0e1a79a13cd9f5e16ba6136a638065cf on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.9%) to 98.089% when pulling 57227ab28d1cbfa8af8f70b9bbe659b14becf8a2 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.8%) to 99.204% when pulling 2e32eed78609752cc3aca19122a8cfd1f5defa38 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling c6905e21875c84c6cec0c0f847e5b51c6e4b58b4 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 454b690aeea2d5e9761d12dd57c9e00d3ba63d93 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.8%) to 99.219% when pulling c75c4051f0881f080e725a83ee3ae2d07243be8f on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 98.3% when pulling 91d8b19ee525297594e076fc284533aff4b0da55 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 98.302% when pulling a9da46e5f8f1e60c48bcd705e3a148b25c7bb881 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 98.302% when pulling 0f23c09cbe4a69eaea3918b93c057fc18cf9293d on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 98.302% when pulling 3633e406da6406352ac3250511aa6dd82d7146b6 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 98.302% when pulling 3633e406da6406352ac3250511aa6dd82d7146b6 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 98.302% when pulling 8273ecdf66305bb267c164219ccf46d41a6f6ac7 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.0%) to 98.006% when pulling af674ba06c601ab34772679da2734a8475ed5fb5 on rohithasrk:topology-history into 7ea174aef036f0175ef209df39458b52f6e7911e on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling a69da2d8ea934c50058bc53eae945452a5e1599f on rohithasrk:topology-history into 614d11b42e24be93916b75b4a8a28f4eb6d054f9 on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling d13cca5201112839ec0800922ba287ddbced663e on rohithasrk:topology-history into 614d11b42e24be93916b75b4a8a28f4eb6d054f9 on netjson:master.

nemesifier commented 7 years ago

PS: to completely avoid the risk of breaking existing instances, this feature should be released in the 0.4.0 version

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 681150673070b8e168ac31bdfdccba4f21f6579b on rohithasrk:topology-history into 614d11b42e24be93916b75b4a8a28f4eb6d054f9 on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 199669d986cc83ad9f3fb88d7ecdc1d2d45f911a on rohithasrk:topology-history into 614d11b42e24be93916b75b4a8a28f4eb6d054f9 on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 649e67b4430c147fec0ecd7e442a3968e7ff938f on rohithasrk:topology-history into a2c6e29dba02473adac2741415cfdc52ddf4026f on netjson:master.

nemesifier commented 7 years ago

@rohithasrk I think one point is still missing:

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling c16daefdb04e2bf5e851a970a95b03cc7c28c31d on rohithasrk:topology-history into a2c6e29dba02473adac2741415cfdc52ddf4026f on netjson:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling cd4cc173163973cf17aa1e7545d114707dbaceb6 on rohithasrk:topology-history into a2c6e29dba02473adac2741415cfdc52ddf4026f on netjson:master.

acoul commented 5 years ago

Greetings from AWMN

Silly question: How can I use the snapshot feature?

It doesn't appear in the admin panel as an option, while issuing a manage.py save_snapshot on a daily cron job doesn't auto-magically populate the history calendar.

nemesifier commented 5 years ago

@acoul are you using the latest version? A calendar show automatically show up, eg: https://openwisp.nnxx.ninux.org/topology/topology/36d5ba3e-1364-49d2-9e29-1f6dceb7cbbb/

acoul commented 5 years ago

yes using latest git version.

every night @ 11 a cron executes a "manage.py save_snapshot " a cron job "manage.py update_topology" runs every 30 minutes

when clicking on a previous date at the calendar I get a "no snapshot found for this date" message

Edit: it's working just fine. sorry for the noise