A service to replicate and serve requests for site configurations based on site ID, public IP, and the on-site lead contact's OTP.
Révision | 3a02c48a6e64e5940dad0c51a01d2ddde6beb373 (tree) |
---|---|
l'heure | 2021-10-12 21:56:36 |
Auteur | S. Seago <sseago-dev@proj...> |
Commiter | S. Seago |
Added config file bundle
Bundles contain docker-compose, Vagrantfile, and other IaC content. In a real example, the bundle string is actually the URL were the bundle can be downloaded. The site authorizes by public IP, the presence of a manifest on the manifest server, and that the manifest has already been accessed within the last hour.
@@ -101,5 +101,6 @@ | ||
101 | 101 | ] |
102 | 102 | } |
103 | 103 | ] |
104 | - } | |
104 | + }, | |
105 | + "bundle": "7a73f62d-3757-4a52-bd82-b95359aaafa8.lrz.zpaq.blkar" | |
105 | 106 | } |
\ No newline at end of file |
@@ -11,6 +11,7 @@ | ||
11 | 11 | public_ip: str |
12 | 12 | internal_nets: list |
13 | 13 | hosts: dict |
14 | + bundle: str | |
14 | 15 | |
15 | 16 | router = MemoryCRUDRouter(schema=Site) |
16 | 17 | app.include_router(router) |