X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=REC_blueprint.yaml;h=e4f6a864167f138264baa8b7112a45422b0a86e3;hb=933df7525be7d2a87218dfe2b450d40cce1078fd;hp=04f38eada6eff764f847d7c826ca6f11d2c548dc;hpb=02632df4193a37306fa07fec3c5bae39766bc8bd;p=rec.git diff --git a/REC_blueprint.yaml b/REC_blueprint.yaml index 04f38ea..e4f6a86 100644 --- a/REC_blueprint.yaml +++ b/REC_blueprint.yaml @@ -1,31 +1,46 @@ +# +# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# This file defines version 1.0.0 of the REC (Radio Edge Cloud) blueprint, +# for use by the regional controller). It should be loaded into the RC +# (using the "rc_cli blueprint create" command) before a POD is created. +# +--- blueprint: 1.0.0 name: Radio Edge Cloud version: 1.0.0 -description: This Blueprint defines an instance of the Radio Edge Cloud (from the - Telco Appliance family of blueprints). +description: This Blueprint defines an instance of the Radio Edge Cloud + (from the Telco Appliance family of blueprints). yaml: # Required hardware profiles (can match on either UUID or name) - # Note: UUIDs will likely require a global registry of HW profiles. + # Note: UUIDs would likely require a global registry of HW profiles. hardware_profile: or: - - { uuid: 8a17384a-71d4-11e9-9e4c-0017f20fe1b8 } - - { uuid: 9897a008-71d4-11e9-8bda-0017f20dbff8 } - - { uuid: a4b4a570-71d4-11e9-adc2-0017f208759e } + - {uuid: 8a17384a-71d4-11e9-9e4c-0017f20fe1b8} + - {uuid: 9897a008-71d4-11e9-8bda-0017f20dbff8} + - {uuid: a4b4a570-71d4-11e9-adc2-0017f208759e} workflow: # Workflow that is invoked when the POD is created create: - # This URL is a direct link to the REC pod_create workflow on Gerrit. - # It lacks several required input variables, so should be copied to a - # local webserver and customized with input variables before deployment. - # Change this URL to the new location of the workflow script. - url: https://gerrit.akraino.org/r/gitweb?p=rec.git;a=blob_plain;f=workflows/pod_create.sh;hb=HEAD + url: 'http://www.example.org/blueprints/REC/REC_create.py' + components: + # This script is used by the REC_create.py workflow to generate + # self-signed certs for the remote-installer + - 'http://www.example.org/blueprints/REC/gencerts.sh' input_schema: - iso_primary: { type: string } - iso_secondary: { type: string } - input_yaml: { type: string } - - - # Workflow that is invoked when the POD is deleted -# delete: -# The delete workflow has not been written yet. This is a placeholder. - #url: https://gerrit.akraino.org/r/gitweb?p=rec.git;a=blob_plain;f=workflows/pod_delete.sh;hb=HEAD + iso_primary: {type: string} + iso_secondary: {type: string} + input_yaml: {type: string} + rc_host: {type: string}