Mark Paronyan
a0450b6bce
refactor: ruff autofixes
2026-09-27 15:55:10 +03:00
YueGuobin
8a8314ab29
fix: dedupe and report automatic template creation from images
...
install_appliances_from_image relied on the name+version pair check in
TemplatesService, so the same appliance reached through a second image
(the CSR1000v case) created a second template sharing the name. The auto
path now skips when any template with the same name exists, whatever the
version, and returns a manifest of created and skipped candidates;
POST /images/install replies 200 with that manifest instead of an empty
204, and the image_install MCP tool surfaces it.
2026-08-26 00:04:57 +08:00
Jeremy Grossmann
909ccf8fcd
Merge branch '3.1' into base-configs-3.0
2026-08-08 22:11:39 +02:00
Cristi
1e40fa1b70
fix (templates): Add ordering to handle the duplicate cases gracefully
2026-06-06 14:46:27 +03:00
Cristi
da3a34144b
fix(templates): Database error detected when saving a template with a disk image change
2026-06-06 14:21:15 +03:00
Volobue
b74ebafb8f
api endpoint implemented
2026-05-25 20:07:05 +03:00
grossmj
ac4c5f5985
Improve tests for pruning images
2025-01-03 19:56:41 +07:00
grossmj
4758431c76
Improvements for built-in disks
...
* Checksum is updated in the database for updated disks.
* It is not possible to prune them.
2025-01-02 23:10:51 +07:00
grossmj
04934691df
Appliance management refactoring:
...
* Install an appliance based on selected version
* Each template have unique name and version
* Allow to download an appliance file
2021-10-18 18:04:30 +10:30
grossmj
d606553e20
Allow images to be stored in subdirs and used by templates.
2021-08-30 16:53:41 +09:30
grossmj
bf9a3aee20
Associate images when creating or updating a template.
2021-08-22 15:16:02 +09:30
grossmj
0113ca6673
Force refresh of updated_at value in db models.
2021-06-01 16:09:29 +09:30
grossmj
a6c2a3e47f
Use synchronize_session="fetch" when updating values.
2021-06-01 13:02:03 +09:30
grossmj
c021e21309
Use black with -l 120 param.
2021-04-13 18:46:50 +09:30
grossmj
0fea3f969e
Use aiosqlite and add service for templates
2021-03-28 21:17:29 +10:30
grossmj
d730c591b3
Refactor template management to use database.
2021-03-28 11:15:08 +10:30