7 Commits

Author SHA1 Message Date
fe1279c499 Update otc_metadata/data/cloud_environments/swiss.yaml
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 16s
Run Tox Check / tox-pep8 (pull_request) Successful in 16s
2025-12-19 08:49:14 +00:00
456e86de82 Update otc_metadata/data/cloud_environments/eu_de.yaml
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 17s
Run Tox Check / tox-pep8 (pull_request) Successful in 16s
2025-12-19 08:49:06 +00:00
a36efc89f1 add region for swiss
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 17s
Run Tox Check / tox-pep8 (pull_request) Successful in 16s
2025-12-19 08:48:24 +00:00
bba90011dc add regions
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 21s
Run Tox Check / tox-pep8 (pull_request) Successful in 16s
2025-12-19 08:47:43 +00:00
9b64d2035c Enable Enterprise Dashboard Alerting document to be publicly available (#65)
Some checks failed
Create Weekly Analytics Stats / run-analytics (push) Failing after 6s
Reviewed-on: #65
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Tino Schreiber <tino.schreiber@t-systems.com>
Co-committed-by: Tino Schreiber <tino.schreiber@t-systems.com>
2025-11-20 09:38:09 +00:00
61cbd5e3bc add cloud_environments (#27)
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-on: #27
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2025-11-19 14:34:22 +00:00
0df49d17a1 Add ESW as service (#64)
All checks were successful
Create Weekly Analytics Stats / run-analytics (push) Successful in 7s
Reviewed-on: #64
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Sebastian Gode <sebastian.gode@telekom.de>
Co-committed-by: Sebastian Gode <sebastian.gode@telekom.de>
2025-11-12 14:18:00 +00:00
8 changed files with 63 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
name: eu_de
internal_org: docs
public_org: opentelekomcloud-docs
regions:
- eu-de

View File

@ -0,0 +1,6 @@
---
name: swiss
internal_org: docs-swiss
public_org: opentelekomcloud-docs-swiss
regions:
- eu-ch2

View File

@ -6,6 +6,6 @@ title: Alerting
type: alerting
cloud_environments:
- name: eu_de
visibility: hidden
pdf_visibility: hidden
visibility: public
pdf_visibility: public
pdf_enabled: true

View File

@ -0,0 +1,13 @@
---
hc_location: usermanual/esw
html_location: docs/esw/umn
link: /enterprise-switch/umn/
rst_location: umn/source
service_type: esw
title: User Guide
type: umn
cloud_environments:
- name: eu_de
visibility: internal
pdf_visibility: public
pdf_enabled: true

View File

@ -0,0 +1,13 @@
---
service_type: esw
repositories:
- environment: public
repo: opentelekomcloud-docs/enterprise-switch
type: github
cloud_environments:
- eu_de
- environment: internal
repo: docs/enterprise-switch
type: gitea
cloud_environments:
- eu_de

View File

@ -17,6 +17,7 @@
# documents/services/service_categories is being merged with
# the content here.
---
cloud_environments: []
documents: []
service_categories: []
services: []

View File

@ -0,0 +1,12 @@
---
service_category: network
service_title: Enterprise Switch
service_type: esw
service_uri: enterprise-switch
teams:
- name: docs-network-rw
permission: write
cloud_environments:
- name: eu_de
visibility: internal
is_global: false

View File

@ -62,10 +62,20 @@ class Services(object):
if other in self._service_data["service_categories"]:
self._service_data["service_categories"].remove(other)
self._service_data["service_categories"].append(other)
# sort cloud environments by <name>
self._service_data["cloud_environments"] = sorted(
self._service_data["cloud_environments"],
key=lambda x: f"{x.get('name')}",
)
def _rewrite_data(self):
otc_metadata.data.rewrite_data("services.yaml", self._service_data)
@property
def all_cloud_environments(self):
"Cloud Environments data listing."
return copy.deepcopy(self._service_data["cloud_environments"])
@property
def all_services(self):
"Service Categories data listing."