diff options
author | 2021-11-30 08:25:09 +0000 | |
---|---|---|
committer | 2021-12-03 09:58:59 +0000 | |
commit | 66e44262b8eb996c06670dcededd899dd1cbd7dc (patch) | |
tree | 3fcea0fe3317f8069281cb93c61add4b1599ab83 /samples/vsp.yaml | |
parent | 2416a1a546c1d2922c37d513df42e9d26bbaaa42 (diff) |
Data provider release
Change-Id: Ia041a07152e8dabd87de05992d3670cbdc1ddaae
Issue-ID: INT-2010
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'samples/vsp.yaml')
-rw-r--r-- | samples/vsp.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/samples/vsp.yaml b/samples/vsp.yaml new file mode 100644 index 0000000..6336f44 --- /dev/null +++ b/samples/vsp.yaml @@ -0,0 +1,25 @@ +# VSP sample +# Using that file you will create: +# - one SDC Vendor resource with "sample-vendor" name +# - two SDC VSPs: +# * one with "sample-vsp-anchor" name, where we use YAML's anchor to share vendor name between two resource, +# * onw with "sample-vsp-no-anchor" name where we just simply copy&paste the name of the vendor we want to use. +# It will also use "ubuntu.zip" package as an VSP artifact. +# Remember: package value is a path, it has to point to the file from the `onap-data-provider` runner perspective. +# I recommend to use absulute path to be sure there will be no errors. +# +odpSchemaVersion: 1.0 +resources: + vendors: + - vendor: + name: &vendor sample-vendor + + vsps: + - vsp: + name: sample-vsp-anchor + vendor: *vendor + package: ubuntu.zip + - vsp: + name: sample-vsp-no-anchor + vendor: sample-vendor + package: ubuntu.zip |