Opened 4 years ago

Last modified 3 years ago

#3942 new enhancement

Get statistics associated to all subnets

Reported by: nicolas.chaigneau Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: statistics Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

Currently (as of 0.9.2-beta), one can retrieve only one statistic at a time (or all of them). For example:

  { "command": "statistic-get", "arguments": { "name": "subnet[1001].total-addresses" } }

It could be interesting to expand the "statistic-get" command to be able to get all statistics for all subnets.

For example the syntax could be:

  { "command": "statistic-get", "arguments": { "name": "subnet[*]" } 

  { "command": "statistic-get", "arguments": { "name": "subnet[*].*" }

And maybe also (let's be crazy) a given statistic for all subnets, such as:

  { "command": "statistic-get", "arguments": { "name": "subnet[*].assigned-addresses" }

Subtickets

Change History (8)

comment:1 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to Kea1.1

comment:2 Changed 4 years ago by tomek

  • Milestone changed from Kea1.1 to DHCP Outstanding Tasks

comment:3 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:4 Changed 3 years ago by tomek

  • Description modified (diff)
  • Milestone changed from Outstanding Tasks to Kea-proposed

comment:5 Changed 3 years ago by tomek

  • Milestone changed from Kea-proposed to Kea1.2

As discussed on 2016-09-08 call, moving to 1.2.

comment:6 Changed 3 years ago by tomek

  • Component changed from Unclassified to statistics

comment:7 Changed 3 years ago by fdupont

subnet[*] or subnet[*].* is already provided by get-all so as soon as the list of subnet ids is known this feature has IMHO a low interest... I suggest to reconsider it for triage.

comment:8 Changed 3 years ago by hschempf

  • Milestone changed from Kea1.2 to Outstanding Tasks

16 Feb: per team discussion, move from 1.2 to outstanding. The ticket isn't very clear.

Note: See TracTickets for help on using tickets.