Page MenuHomeVyOS Platform

Expose 'add/delete container image' in HTTP-API
Closed, ResolvedPublicFEATURE REQUEST

Description

This issue was suggested within a conversation in 'vyos-general-discussion' regarding configuring containers vis api/terraform:
https://vyos.slack.com/archives/C01A6CJFW1F/p1670621707955169?thread_ts=1670456965.837619&cid=C01A6CJFW1F
Related to https://phabricator.vyos.net/T4487

Two possible approaches:

  1. Include 'add/delete' in list of 'canonical' functions in op-mode, and expose in op-mode/container.py
  2. Include 'add/delete container image' in configsession.py

In either case, functions will be automatically exposed to the GraphQL API, and an endpoint can be added for the REST API.

Details

Difficulty level
Normal (likely a few hours)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

jestabro triaged this task as Normal priority.Dec 14 2022, 3:33 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro renamed this task from Expose 'add/delete containter image' in HTTP-API to Expose 'add/delete container image' in HTTP-API.Dec 14 2022, 7:50 PM
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.