Opened 4 years ago

Last modified 3 years ago

#4209 new enhancement

document grammars

Reported by: fdupont Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: host-reservations 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

This ticket is a request to put free text description of different grammars (first the classification expression one) somewhere in the doc directory. Note it doesn't propose what to do with them, just to keep them at a known place for the moment we'll need them.

Subtickets

Attachments (2)

keaclassgrammar.txt (409 bytes) - added by fdupont 4 years ago.
classification expression grammar
keajsongrammar.txt (731 bytes) - added by fdupont 4 years ago.
Kea JSON grammar

Download all attachments as: .zip

Change History (11)

Changed 4 years ago by fdupont

classification expression grammar

comment:1 Changed 4 years ago by fdupont

We use a subnet of JSON (RFC 7159), in particular:

  • we use ASCII (vs UNICODE)
  • we don't support \uXXXX UTF-16 escapes
  • \b and \f are considered as a whitespace (note the RFC allows to accept more than JSON so this is not a conformance issue).

I attached a free text grammar in keajsongrammar.txt

Changed 4 years ago by fdupont

Kea JSON grammar

comment:2 Changed 4 years ago by fdupont

The .spec files are a kind of grammars but they are badly documented, not kept up to date and not user friendly at all.

comment:3 Changed 4 years ago by fdupont

About accepted JSON outside RFC 7159: Kea accepts leading zeros in numbers.

comment:4 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to Kea1.1

comment:5 Changed 4 years ago by tomek

  • Component changed from Unclassified to host-reservations

comment:6 Changed 4 years ago by hschempf

  • Milestone changed from Kea1.1 to Outstanding Tasks

Per team meeting 2/25 (and while working on ticket estimate worksheet), decision was made to move this to Outstanding. Estimate = 3d (Tomek) and 4d (Thomas).

comment:7 Changed 4 years ago by jreed

Maybe this would cover ticket #3940 too?

comment:8 Changed 3 years ago by fdupont

  • Milestone changed from Outstanding Tasks to Kea-proposed

Now that we have grammars the estimation should be reconsidered. I put this in kea-proposed to update it (but IMHO it is not something for more than 1.2 very low as bison grammars are not so hard to read).

comment:9 Changed 3 years ago by hschempf

  • Milestone changed from Kea-proposed to Outstanding Tasks

Per 9 Mar team meeting, move to outstanding

Note: See TracTickets for help on using tickets.