Page MenuHomeVyOS Platform

Use a single config mode script for https and http-api
Closed, ResolvedPublicENHANCEMENT

Description

The paths 'service https' and 'service https api' use individual config-mode scripts to manage the systemd services nginx, respectively, vyos-http-api-server. Following simplifications in T5762 and T5768, it is reasonable to use a single config-script as owner of all paths under 'service https' (as suggested by @c-po). Moreover, using the configdiff module instead of defining config dependencies allows one to avoid unnecessary restarts of services.

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jestabro renamed this task from Ues a single config mode script for node ['service', 'https'] to Ues a single config mode script for https and http-api.Nov 26 2023, 2:06 AM
jestabro renamed this task from Ues a single config mode script for https and http-api to Use a single config mode script for https and http-api.Nov 26 2023, 3:02 AM
jestabro moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.