From 66e44262b8eb996c06670dcededd899dd1cbd7dc Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Tue, 30 Nov 2021 08:25:09 +0000 Subject: Data provider release Change-Id: Ia041a07152e8dabd87de05992d3670cbdc1ddaae Issue-ID: INT-2010 Signed-off-by: Michal Jagiello --- tests/config_dirs/not_yaml | 0 tests/config_dirs/test-data-version.yml | 48 +++++++++++++++++++++++++++++++++ tests/config_dirs/test-data.yml | 47 ++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 tests/config_dirs/not_yaml create mode 100644 tests/config_dirs/test-data-version.yml create mode 100644 tests/config_dirs/test-data.yml (limited to 'tests/config_dirs') diff --git a/tests/config_dirs/not_yaml b/tests/config_dirs/not_yaml new file mode 100644 index 0000000..e69de29 diff --git a/tests/config_dirs/test-data-version.yml b/tests/config_dirs/test-data-version.yml new file mode 100644 index 0000000..51e92c9 --- /dev/null +++ b/tests/config_dirs/test-data-version.yml @@ -0,0 +1,48 @@ +odpSchemaVersion: 1.0 +resources: + complexes: + - complex: + data-center-code: AMICPL1 + complex-name: AMIST-COMPLEX-1 + physical-location-id: &complex_id AMIST-COMPLEX-1 + physical-location-type: Office + street1: '505' + street2: Terry Fox Drive + city: Kanata + state: Ontario + postal-code: A1A1A1 + region: Eastern + country: Canada + + cloud-regions: + - cloud-region: + cloud-owner: &clown AMIST + cloud-region-id: AMCR1 + cloud-region-version: '11.0' + orchestration-disabled: true + in-maint: false + complex: + physical-location-id: *complex_id + tenants: + - tenant-id: !join ['-', [*clown, 'TENANT', 1]] + tenant-name: AMIST-TENANT-1-NAME + - tenant-id: !join [*clown, '-', 'TENANT', '-', 2] + tenant-name: AMIST-TENANT-2-NAME + availability-zones: + - cloud-owner: *clown + availability-zone-name: AMIST-AZ-1 + hypervisor-type: OpenStackAmd + + customers: + - customer: + global-customer-id: AMIST-CUST-11 + subscriber-name: AAIIST-TESTER-11 + subscriber-type: Customer + service-subscriptions: + - service-type: amist-voip + - customer: + global-customer-id: AMIST-CUST-12 + subscriber-name: AAIIST-TESTER-12 + subscriber-type: Customer + service-subscriptions: + - service-type: amist-voip diff --git a/tests/config_dirs/test-data.yml b/tests/config_dirs/test-data.yml new file mode 100644 index 0000000..281e754 --- /dev/null +++ b/tests/config_dirs/test-data.yml @@ -0,0 +1,47 @@ +--- +complexes: +- complex: + data-center-code: AMICPL1 + complex-name: AMIST-COMPLEX-1 + physical-location-id: &complex_id AMIST-COMPLEX-1 + physical-location-type: Office + street1: '505' + street2: Terry Fox Drive + city: Kanata + state: Ontario + postal-code: A1A1A1 + region: Eastern + country: Canada + +cloud-regions: +- cloud-region: + cloud-owner: &clown AMIST + cloud-region-id: AMCR1 + cloud-region-version: '11.0' + orchestration-disabled: true + in-maint: false + complex: + physical-location-id: *complex_id + tenants: + - tenant-id: !join ['-', [*clown, 'TENANT', 1]] + tenant-name: AMIST-TENANT-1-NAME + - tenant-id: !join [*clown, '-', 'TENANT', '-', 2] + tenant-name: AMIST-TENANT-2-NAME + availability-zones: + - cloud-owner: *clown + availability-zone-name: AMIST-AZ-1 + hypervisor-type: OpenStackAmd + +customers: +- customer: + global-customer-id: AMIST-CUST-11 + subscriber-name: AAIIST-TESTER-11 + subscriber-type: Customer + service-subscriptions: + - service-type: amist-voip +- customer: + global-customer-id: AMIST-CUST-12 + subscriber-name: AAIIST-TESTER-12 + subscriber-type: Customer + service-subscriptions: + - service-type: amist-voip -- cgit 1.2.3-korg