From 2a6d81229ad5b789c5e2ade294f0f94c4329b1a0 Mon Sep 17 00:00:00 2001
From: Claudio Pisa <claudio.pisa@garr.it>
Date: Thu, 21 Feb 2019 17:46:37 +0100
Subject: [PATCH] 2019-02-21: CP; add the templates directory for reference

---
 ...m.ubuntu.cloud-released-imagemetadata.json | 87 +++++++++++++++++++
 templates/index.json                          | 29 +++++++
 2 files changed, 116 insertions(+)
 create mode 100644 templates/com.ubuntu.cloud-released-imagemetadata.json
 create mode 100644 templates/index.json

diff --git a/templates/com.ubuntu.cloud-released-imagemetadata.json b/templates/com.ubuntu.cloud-released-imagemetadata.json
new file mode 100644
index 0000000..d13cf74
--- /dev/null
+++ b/templates/com.ubuntu.cloud-released-imagemetadata.json
@@ -0,0 +1,87 @@
+{
+    "products": {
+        "com.ubuntu.cloud:server:12.04:amd64": {
+            "version": "12.04",
+            "arch": "amd64",
+            "versions": {
+                "20190221": {
+                    "items": {
+                        "1": {
+                            "id": "04d2fdd4-3bb0-4731-8b91-c3996a855cd6",
+                            "region": "garr-pa1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        },
+                        "2": {
+                            "id": "04d2fdd4-3bb0-4731-8b91-c3996a855cd6",
+                            "region": "garr-ct1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        }
+                    }
+                }
+            }
+        },
+        "com.ubuntu.cloud:server:14.04:amd64": {
+            "version": "14.04",
+            "arch": "amd64",
+            "versions": {
+                "20190221": {
+                    "items": {
+                        "1": {
+                            "id": "f275046c-b3e4-4d29-af03-471b07e11d48",
+                            "region": "garr-pa1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        },
+                        "2": {
+                            "id": "f275046c-b3e4-4d29-af03-471b07e11d48",
+                            "region": "garr-ct1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        }
+                    }
+                }
+            }
+        },
+        "com.ubuntu.cloud:server:16.04:amd64": {
+            "version": "16.04",
+            "arch": "amd64",
+            "versions": {
+                "20190221": {
+                    "items": {
+                        "1": {
+                            "id": "c2fb68ba-d9a0-4416-b0bb-38fbe1fdaa82",
+                            "region": "garr-pa1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        },
+                        "2": {
+                            "id": "c2fb68ba-d9a0-4416-b0bb-38fbe1fdaa82",
+                            "region": "garr-ct1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        }
+                    }
+                }
+            }
+        },
+        "com.ubuntu.cloud:server:18.04:amd64": {
+            "version": "18.04",
+            "arch": "amd64",
+            "versions": {
+                "20190221": {
+                    "items": {
+                        "1": {
+                            "id": "690fae2c-2b7c-4a5b-aefc-d7176141d082",
+                            "region": "garr-pa1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        },
+                        "2": {
+                            "id": "690fae2c-2b7c-4a5b-aefc-d7176141d082",
+                            "region": "garr-ct1",
+                            "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                        }
+                    }
+                }
+            }
+        }
+    },
+    "updated": "Thu, 21 Feb 2019 13:00:00 +0000",
+    "format": "products:1.0",
+    "content_id": "com.ubuntu.cloud:custom"
+}
diff --git a/templates/index.json b/templates/index.json
new file mode 100644
index 0000000..64e9ead
--- /dev/null
+++ b/templates/index.json
@@ -0,0 +1,29 @@
+{
+    "index": {
+        "com.ubuntu.cloud:custom": {
+            "updated": "Thu, 21 Feb 2019 13:00:00 +0000",
+            "format": "products:1.0",
+            "datatype": "image-ids",
+            "cloudname": "custom",
+            "clouds": [
+                {
+                    "region": "garr-ct1",
+                    "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                },
+                {
+                    "region": "garr-pa1",
+                    "endpoint": "https://keystone.cloud.garr.it:5000/v3"
+                }
+            ],
+            "path": "streams/v1/com.ubuntu.cloud-released-imagemetadata.json",
+            "products": [
+                "com.ubuntu.cloud:server:12.04:amd64",
+                "com.ubuntu.cloud:server:14.04:amd64",
+                "com.ubuntu.cloud:server:16.04:amd64",
+                "com.ubuntu.cloud:server:18.04:amd64"
+            ]
+        }
+    },
+    "updated": "Thu, 21 Feb 2019 13:00:00 +0000",
+    "format": "index:1.0"
+}
-- 
GitLab