Opened 3 years ago

Closed 3 years ago

#5136 closed task (complete)

Remote-management client: design

Reported by: tomek Owned by: tomek
Priority: high Milestone: Kea1.2
Component: remote-management Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets: #5137, #5138, #5139
Sensitive: no Defect Severity: N/A
Sub-Project: Mozilla Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 1
Total Hours: 11 Internal?: no

Description (last modified by tomek)

With the Control-Agent work being done, RESTful interface will soon be available. We need to design a command-line client that would be able to take advantage of that API.

The high level requirements are:

  • the goal to is be a rough functional equivalent of OMSHELL for dhcpd.
  • the solution needs to be scripting friendly (no interactive guis)
  • nowadays RESTful (and http in general) is commonly supported by great many of languages and environments. It is understood that the cli client is more of a demonstration than a tool expected to be thoroughly used. It is expected that most deployment that are interested in RESTful API usage have their own management solution in place already.

The expected result of this ticket is a wiki page that summarizes the requirements and a design. Usage of existing tools is strongly encouraged.

Subtickets

Change History (8)

comment:1 Changed 3 years ago by tomek

  • Description modified (diff)

comment:2 Changed 3 years ago by tomek

  • Parent Tickets set to 5137, 5138, 5139

comment:3 Changed 3 years ago by tomek

  • Sub-Project changed from DHCP to Mozilla

comment:4 Changed 3 years ago by tomek

  • Owner set to tomek
  • Status changed from new to assigned

comment:5 Changed 3 years ago by tomek

  • Owner changed from tomek to Unassigned
  • Status changed from assigned to reviewing

The design has been written here: http://kea.isc.org/wiki/ControlAPICliDesign

A notification was sent to kea-dev: https://lists.isc.org/pipermail/kea-dev/2017-February/000765.html

Moving to reviewing. Will resolve the ticket once the discussion ceases.

comment:6 Changed 3 years ago by tomek

  • Add Hours to Ticket changed from 0 to 10
  • Total Hours changed from 0 to 10

comment:7 Changed 3 years ago by tomek

  • Owner changed from Unassigned to tomek

Received comments from Stephen. Updated the design slightly. It's now possible to specify a command on the command-line.

Ok, resolving ticket.

comment:8 Changed 3 years ago by tomek

  • Add Hours to Ticket changed from 10 to 1
  • Resolution set to complete
  • Status changed from reviewing to closed
  • Total Hours changed from 10 to 11
Note: See TracTickets for help on using tickets.