From fbb984e6a8823ca26eae20a65c6d261feac02b7b Mon Sep 17 00:00:00 2001 From: "Smokowski, Steven" Date: Wed, 1 Apr 2020 10:41:17 -0400 Subject: openstack inventory capture Begin heatbridge refactor initial check in of heatbridge Additional commits of heatbridge Update Heat bridge to write more AAI data Update to utlize HeatBrdige to populate AAI Adjust simulator endpoints to work again Remove not needed BB Test case, fix tc Refactor how AAI relationships are being built Issue-ID: SO-2777 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Iffccc24e18b278188c3fe98bcb1ad9685229d0a2 --- .../resources/openstack/gr_api/GetFlavor1.json | 22 +++++++++++++++ .../main/resources/openstack/gr_api/GetImage.json | 31 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 so-simulator/src/main/resources/openstack/gr_api/GetFlavor1.json create mode 100644 so-simulator/src/main/resources/openstack/gr_api/GetImage.json (limited to 'so-simulator/src/main/resources') diff --git a/so-simulator/src/main/resources/openstack/gr_api/GetFlavor1.json b/so-simulator/src/main/resources/openstack/gr_api/GetFlavor1.json new file mode 100644 index 0000000000..6de27a20ac --- /dev/null +++ b/so-simulator/src/main/resources/openstack/gr_api/GetFlavor1.json @@ -0,0 +1,22 @@ +{ + "flavor" : { + "links" : [ { + "rel" : "self", + "href" : "http://some.test.host.com:8774/v2/f340218174564e59898c2e38c67d80b0/flavors/053ea2e2-533f-46c3-a902-1bc76e93e5c1" + }, { + "rel" : "bookmark", + "href" : "http://some.test.host.com:8774/f340218174564e59898c2e38c67d80b0/flavors/053ea2e2-533f-46c3-a902-1bc76e93e5c1" + } ], + "public" : true, + "id" : "053ea2e2-533f-46c3-a902-1bc76e93e5c1", + "name" : "gv.c8r16d60e200", + "vcpus" : 8, + "ram" : 16384, + "disk" : 60, + "OS-FLV-EXT-DATA:ephemeral" : 200, + "swap" : "", + "rxtx_factor" : 1.0, + "OS-FLV-DISABLED:disabled" : false, + "os-flavor-access:is_public" : true + } +} diff --git a/so-simulator/src/main/resources/openstack/gr_api/GetImage.json b/so-simulator/src/main/resources/openstack/gr_api/GetImage.json new file mode 100644 index 0000000000..fddc30cc5a --- /dev/null +++ b/so-simulator/src/main/resources/openstack/gr_api/GetImage.json @@ -0,0 +1,31 @@ +{ + "name" : "BVOIP_JUNIPER-SPACE_19.4R1.4.qcow2", + "size" : 5863833600, + "status" : "active", + "properties" : { }, + "deleted" : false, + "public" : false, + "protected" : true, + "id" : "9fb132a5-599c-4de8-a8fc-16964692b381", + "disk_format" : "qcow2", + "container_format" : "bare", + "checksum" : "073f0a9e5780dce6ddb2b385f518d634", + "created_at" : "2020-02-06T13:28:26Z", + "updated_at" : "2020-02-06T14:35:27Z", + "is_public" : false, + "min_ram" : 0, + "min_disk" : 0, + "owner" : "ed4e552bc2e24f1e82d0359ba66c735e", + "visibility" : "private", + "file" : "/v2/images/9fb132a5-599c-4de8-a8fc-16964692b381/file", + "schema" : "/v2/schemas/image", + "self" : "/v2/images/9fb132a5-599c-4de8-a8fc-16964692b381", + "post_processing_networking" : "None", + "post_processing_tools" : "None", + "application_name" : "JUNIPER-SPACE", + "application_type" : "JUNIPER-SPACE", + "application_version" : "19.4R1.4", + "application_vendor" : "Juniper", + "description" : "Source = BVOIP_JUNIPER-SPACE_19.4R1.4.qcow2", + "tags" : [ ] + } \ No newline at end of file -- cgit 1.2.3-korg