Project

General

Profile

Actions

Feature #883

open

PiStore needs to respond to multicast queries

Added by Hammel almost 3 years ago. Updated 6 months ago.

Status:
New
Priority:
Immediate
Assignee:
Target version:
Start date:
29 Jan 2022
Due date:
% Done:

0%

Estimated time:
Severity:
01 - Critical

Description

PiSentry devices will send a multicast query to ask for pistore addresses. The response comes with a unique uuid generated by pistore. This query will be on a different port than Ironman multicast queries.
PiStore devices will respond with the uuid calling the /registerStore API (like /register for Ironman, but specifcally for pistores).
PiStore picks the first response for session storage. PiSentry then calls an API on PiStores's mongoose server to request a place to store its files. PiStore reserves a location (under directories marked for PiSentry use) by creating a directory with the PiSentry IP and responds with the mount point and directory name.

See piboxd for how to receive multicast messages (from IoT devices).

PiStore will create a device ID and session id under it's name and save files to <mount>/pisentry/<device id>/<session id>/<files>. A unique name assigned by the user may be used instead of the device ID (see /etc/monitor for the DESCRIPTOR entered in imwww web UI).

Actions #1

Updated by Hammel almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by Hammel almost 3 years ago

  • Priority changed from Immediate to Urgent
  • Target version changed from 2.0 - Harkonnen to 2.1 - Feyd

Moving to next release.

Actions #3

Updated by Hammel over 1 year ago

  • Target version changed from 2.1 - Feyd to 3.0 - Corrino
Actions #4

Updated by Hammel about 1 year ago

  • Priority changed from Urgent to Immediate
  • Severity changed from 01 - Critical to 04 - Low
Actions #5

Updated by Hammel 6 months ago

  • Description updated (diff)
  • Severity changed from 04 - Low to 01 - Critical
Actions #6

Updated by Hammel 6 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF